elMickotanko
New Member
Hi,
My uni project is a line following robot. Thanks for all your help on the motor circuit before! I've got a problem with the line detection. Ive attached a jpg of my circuit as is which works well. Its about 0.5-0.8v on the black line and 3.6-3.7v on white (lm324 saturation). the problem is i need to limit this to 3.3v to feed into the ADC of the microcontroller. ive tried working the sensor off 3v3 but its no good. I got 3v3 zener diodes aswell but not sure how to use them. Ive googled it but to no avail.
Is there an easy way to do this maybe using diodes in the feedback or the zener somehow?
Thanks,
Mick.
My uni project is a line following robot. Thanks for all your help on the motor circuit before! I've got a problem with the line detection. Ive attached a jpg of my circuit as is which works well. Its about 0.5-0.8v on the black line and 3.6-3.7v on white (lm324 saturation). the problem is i need to limit this to 3.3v to feed into the ADC of the microcontroller. ive tried working the sensor off 3v3 but its no good. I got 3v3 zener diodes aswell but not sure how to use them. Ive googled it but to no avail.
Is there an easy way to do this maybe using diodes in the feedback or the zener somehow?
Thanks,
Mick.