I managed to get the steer control working. There is still some fine tunning to be performed, as for now there is a tolerance of 40 units among the approximate range of 300 units sweeped by the motor in an analogic read. Factors that affect the tunning are: motor voltage, noise in readings, serial outputs...
The car is being powered with a 9V NIMH battery, as the four 1.2 AAA batteries were not providing enough power for the board 5V regulator, which affected the voltage supplied to the steer potentiometer, therefore affecting the analogic read.
No comments:
Post a Comment