Author Topic: Auto center my robot torso.  (Read 2694 times)

0 Members and 1 Guest are viewing this topic.

Offline MagnusTopic starter

  • Jr. Member
  • **
  • Posts: 30
  • Helpful? 0
Auto center my robot torso.
« 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

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: Auto center my robot torso.
« Reply #1 on: August 18, 2009, 03:43:11 PM »
well, will you have any sensors on the robot so it can tell what angle the drum is at?
Howdy

Offline MagnusTopic starter

  • Jr. Member
  • **
  • Posts: 30
  • Helpful? 0
Re: Auto center my robot torso.
« Reply #2 on: August 18, 2009, 07:21:19 PM »
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?
 ::)

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: Auto center my robot torso.
« Reply #3 on: August 19, 2009, 12:32:52 AM »
sure, if your rotation doesn't go past 180 degrees, a pot would be good...
you could try using an encoder type setup too?
Howdy

Offline MagnusTopic starter

  • Jr. Member
  • **
  • Posts: 30
  • Helpful? 0
Re: Auto center my robot torso.
« Reply #4 on: August 19, 2009, 05:03:03 AM »
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?

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: Auto center my robot torso.
« Reply #5 on: August 19, 2009, 05:05:58 AM »
are you planning on using a microcontroller to run it?
Howdy

Offline Conscripted

  • Robot Overlord
  • ****
  • Posts: 291
  • Helpful? 10
Re: Auto center my robot torso.
« Reply #6 on: August 19, 2009, 05:52:05 AM »
For a low tech solution you could try using limiting switches. It may do the job in a simple manner.

Conscripted

Offline MagnusTopic starter

  • Jr. Member
  • **
  • Posts: 30
  • Helpful? 0
Re: Auto center my robot torso.
« Reply #7 on: August 19, 2009, 08:21:12 AM »
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......

Offline blackbeard

  • Supreme Robot
  • *****
  • Posts: 575
  • Helpful? 4
Re: Auto center my robot torso.
« Reply #8 on: August 19, 2009, 08:32:07 AM »
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.
« Last Edit: August 19, 2009, 08:34:40 AM by blackbeard »
"sure, you can test your combat robot on kittens... But all your going to do is make kitten juice"

First step: Build androids with AI
Next step: Give them vaginas

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: Auto center my robot torso.
« Reply #9 on: August 19, 2009, 03:59:10 PM »
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.
Howdy

Offline MagnusTopic starter

  • Jr. Member
  • **
  • Posts: 30
  • Helpful? 0
Re: Auto center my robot torso.
« Reply #10 on: August 19, 2009, 08:14:07 PM »
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


 


Get Your Ad Here

data_list