I am making a dex hand which works on an adc and AT98S52.
I dont knw how to program a ic i have the circuit diagram i just need help if some 1 could giv me the coding for it. There are 16 sensors (i am using 5k ohm pots as sensors) .The sensors are given to the adc the adc will generate a digital value and give it to micro controller.The micro controller will then generate a pwm signal .The pwm signal is then given to the servo motors. I basically need a program which will enable each servo motor to move according to the adc value received.Therefore each each pot will drive a single servo motor.
I dont knw how to program a ic i have the circuit diagram i just need help if some 1 could giv me the coding for it. There are 16 sensors (i am using 5k ohm pots as sensors) .The sensors are given to the adc the adc will generate a digital value and give it to micro controller.The micro controller will then generate a pwm signal .The pwm signal is then given to the servo motors. I basically need a program which will enable each servo motor to move according to the adc value received.Therefore each each pot will drive a single servo motor.