Analog to digital converter

Status
Not open for further replies.

lythanhthuan

Member level 3
Joined
May 18, 2006
Messages
67
Helped
6
Reputation
14
Reaction score
3
Trophy points
1,288
Location
M.T.A-VN
Activity points
1,718
After reading the 10 digits from 18f452....i dnt know how to make use of the 10 bits to decide whether to initiate an interrupt or not.......pls help me with it
(i am working on a sensor for a sumo robot!
the sensor only produces analog output.)
thanks
 

Hi!
The 10 digits represent the digital equivalent of the analog output from the

sensor based upon the voltage refrence that you have selected.

If you can just load the settings of the ADC module that you are using in your code

and also the voltage level at which you want to make the interrupt occur then i

will be in a better position to help you. Also tell the mininum and maximum voltage

output of the sensor.

Regards.
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…