Society of Robots - Robot Forum

Software => Software => Topic started by: henry on August 03, 2007, 06:46:42 AM

Title: how to control motor using AT89S52??
Post by: henry on August 03, 2007, 06:46:42 AM
hi..
I want to control motor using one AT89S52 and two rotary encoder...
can somebody help??
Title: Re: how to control motor using AT89S52??
Post by: Admin on August 11, 2007, 11:20:51 AM
Why are you using the AT89S52?

Which part are you having trouble with? Programming? Wiring?

dont forget to look at the datasheet for specific questions:
http://www.keil.com/dd/docs/datashts/atmel/at89s52_ds.pdf

which encoders are you using? what motor type?

You will need to attach the encoders to a hardware interrupt on the microcontroller . . .

this might help you ask questions so that we may give you better answers:
http://www.societyofrobots.com/robotforum/index.php?topic=1480.0