Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: psurya1994 on June 22, 2012, 12:52:15 AM
-
We are planning to make a maze solver robot. Want your suggestion on the hardware we can use. We are planning to implement the flood fill algorithm. Expecting you to suggest the following:
Which microcontroller would be good? (we are used to arduino)
What motors should we use?(we ave to get a perfect 90 degree turn)
Other hardware, such as sensors.
Thank You,
Surya
-
Which microcontroller would be good? (we are used to arduino)
If You are most comfortable with Arduino, then use Arduino.
What motors should we use?(we ave to get a perfect 90 degree turn)
Any DC motor with encoder will do (including continuous rotation servos).
Other hardware, such as sensors.
I would use something like sonar or IR distance finder to determine whether there's a wall in front or not.
-
Thank You :)
I would like to know more about dc motors with encoder, and how we can use them to get a exact 90 degree turn.
-
I would like to know more about dc motors with encoder, and how we can use them to get a exact 90 degree turn.
Simple DIY shaft encoder normally consists of striped disk (black and white) and a pair of IR Emitter/Detector. When wheel turns, IR Emitter/Detector pair outputs voltage (high or low) depending on which colour it detects on the striped disk, so if Your disk has 360 stripes (meaning 360 transitions from white to black in one rotation). To make robot turn 90° You know encoder has to output 90 "clicks" from each wheel, that's what You look for and stop motors spinning after 90 clicks has been detected. Does that make sense?
-
Ya. But my wheel has only 5 stripes. And that wouldn't be very accurate. Any other meathod?
-
It's not the wheel spokes You have to count. What You need to do it to actually make a disk with stripes (http://www.alanmacek.com/robot/ShaftEncoder2.jpg). That disk normally gets attached to motor shaft, where wheel gets attached to gearbox shaft. So, if You have motor with gearbox increasing torque (and reducing RPM) by 30, then for one wheel rotation You get 30 striped disk rotations, that sounds like a very good resolution to me ;D
-
Okay, Thank You soo much. :)