These posts by DavesGarage have received thanks:

defining a constant
To answer your question, "Yes" - we can define a constant in assembly for the 8051. The method for doing this will depend on which assembler you are using.

Which assembler are you using?
Thanked 1 time
Posted by DavesGarage on

Corrupt LCD display
You most certainly can use anything you like. I believe the real question is, "Will this work?", and to that I say - maybe.

It violates the first rule of thumb I stated above, namely: keep AC away fro...
Thanked 1 time
Posted by DavesGarage on

Corrupt LCD display
Focus your efforts on electrical isolation. Funny things happen when AC lines get close to DC lines - EM fields fall off as a function of the square of the distance. A good rule of thumb is keep AC ...
Thanked 1 time
Posted by DavesGarage on

Doubts Regarding Data acquisiton system
Serial port interfacing is actually pretty easy - I gave a complete, functional example here:

http://www.8051projects.net/forum-t28908.html

Have a look at it, and use it as a starting point for your sys...
Thanked 1 time
Posted by DavesGarage on

[poll] Tips for newbies from a newbie's personal experience
I like your thread! Very nice

Thanked 1 time
Posted by DavesGarage on

need help regarding counter of 8051 hardware
Unless you capture the signal with a scope, you will never truly know the severity of the noise in your circuit.

You can just "over" filter the signal using a resistor and a cap (like 10K and .1uf) to ...
Thanked 1 time
Posted by DavesGarage on

regarding sensors
Vehicles weigh a lot, so you could use a switch... You could also use a load cell, and actually get their weight as they drive by...

I've seen rubber hoses laid across the street, presumably filled wi...
Thanked 1 time
Posted by DavesGarage on

need URGENT HELP on our stepper motor wiring...
See if this helps you out:

Image: http://www.8051projects.net/files/public/1264005236_14254_FT30322_wiring_.jpg
Thanked 1 time
Posted by DavesGarage on

Rpm meter using at89c2051 ! Help me
Please post your code so we can have a look at it. Also, please include many comments, so we can understand what you are trying to accomplish.

Also, please use the formatted block commands so we can r...
Thanked 1 time
Posted by DavesGarage on

regarding look up table for ADC..
This is a simple ratio problem, and can be solved as follows:

   T -  Tmin       V - Vmin
-------------- = --------------
 Tmax - Tmin      Vmax - Vmin

or

...
Thanked 1 time
Posted by DavesGarage on

Go to page       >>  

e107 Forum Thanks Plugin