ADC Problem with AVR

Status
Not open for further replies.
Hi, Im trying to drive a servo using a 10k POT using software PWM , everything works , except that the pot's voltage gets cut at the first 10% of the position of the pot , like when i increase slowly its gets from 1V to suddenly 4V ! , not 1.5, 2 , 3 V .. I even put an OP-AMP LM324 As a buffer and it doesnt work , when i test the pot alone , it gets the correct voltage propotional to my rotation of the pot. what could be the problem ?
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…