Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: Magnus on August 18, 2009, 07:34:27 AM
-
Hi,
I am using a clothes dryer drum as a torso for my robot. I will be using a DC gear motor to turn the torso back and forth. I will be using an ESC to control the speed of the torso motor to slow it down to about 4 RPM. After turning it left or right I would like to be able to push a button that will auto center it so the torso is oriented straight ahead. Anybody got any ideas or circuit examples on how to do this?
Thanks
-
well, will you have any sensors on the robot so it can tell what angle the drum is at?
-
Hi,
Thanks for the reply. I was thinking about using IR sensors but do not have any experience using them. Any ideas? Also thought about using a potentiometer. Would these be better?
::)
-
sure, if your rotation doesn't go past 180 degrees, a pot would be good...
you could try using an encoder type setup too?
-
Any ideas on where to find schematics that would help me understand how to hook up a circuit using a pot for feedback to cut off the torso motor at just the right spot?
-
are you planning on using a microcontroller to run it?
-
For a low tech solution you could try using limiting switches. It may do the job in a simple manner.
Conscripted
-
Yes. I was thinking of ordering the AXON. Do you think that all I would need to do is use the pot. to give me an anlog signal and feed it into the AXON then I could program the AXON to control the ESC (not exactly sure how to do this)? Then maybe I could turn the torso to several different points, including center position, record the analog values at these points then the AXON could position the torso until the anlog signal matches and stop rotation there. Does this sound feasible?
Thanks for responding......
-
what if you used a neodymium magnet from a hard drive and an inductor? i'm just thinking but since the flat magnet from a hard drive has it's poles on either half you should be able to use that to detect when it's center when the inductor passes over it. you could use it with pretty much any microcontroler but from what i understand the axon is pretty much the king of the microcontroler world. if budget is tight you could always go with a $30 arduino.
-
yeah, the axon could definitely do this! 40 times over!
the left leg of the pot is connected to +5V, the right leg is to ground and the middle goes to an analogue pin.
this will allow you to read the position of the pot.
-
Thanks to all who have responded. I will be ordering the AXON as soon as I save up some more "squirrel" money. BTW my robot will be called MAGNUS. MAGNUS will be aprox. 6ft tall and weigh in at around 300 lbs. He's a big boy! He will be similar in shape to the B9 Robot from the old LOST IN SPACE tv series from the 1960's. So far the hardest part has been engineering the arms. See my BLOG at www.r-gordon.blogspot.com.
:D