Society of Robots - Robot Forum

Software => Software => Topic started by: divit on November 15, 2008, 12:29:14 PM

Title: Robotic Dex hand Project
Post by: divit on November 15, 2008, 12:29:14 PM
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.
Title: Re: Robotic Dex hand Project
Post by: Admin on November 27, 2008, 05:56:42 AM
Interesting ADC chip, never seen that before . . . Normally I'd just say get my Axon since it's all done for you (and has 16 ADC), but you already have a circuit . . .

Also, there is no such thing as a AT98S52 . . . there is a AT89S52 however.

Have you looked at the code examples on this page?
http://www.atmel.com/dyn/products/product_card.asp?family_id=604&family_name=8051+Architecture&part_id=1918

Google has a bunch of source code (http://www.google.com/search?q=AT89S52+source+code) on it, too.