go_away

Author Topic: help please- i'm building a tennisball pitching robot??  (Read 3171 times)

0 Members and 1 Guest are viewing this topic.

Offline jellis359Topic starter

  • Jr. Member
  • **
  • Posts: 30
  • Helpful? 0
help please- i'm building a tennisball pitching robot??
« on: February 20, 2009, 05:42:22 PM »
Hey, I'm currently planning the construction of a tennisball pitching machine for my dad's dog. I was going to make the barrel by using some 4'' wide pvc pipe(i say wide because i'll be cutting it in half). On the back end will be a continuous rotation servo w/ a pushwheel attachment like on many soccerbots. this will push the tennisball into the spinning wheels when the ball hits the pressure sensor (1 wheel spins, the other is freely rotating to provide the ball stability).
  Now, heres my dilemma. I've only ever used servos which only require a connection to the mcu. I know this is not the case with a brushless d/c motor, which is what i must use in order to launch tha ball properly. I know there are extras like and encoder, H-bridge, and motor controller needed in the assembly. from what i understand it goes-

MCU--> motor controller(w/ motor battery)--> H-bridge-->d/c motor

MCU------------------------------------------------------------>encoder---> D/C motor


I believe that this MCU should do the job w/ WinAVR-->(i need a cheap controller w/ some good features)
http://www.trossenrobotics.com/roboduino.aspx?a=blog
and i figured this d/c motor should do the trick-->


i'll put up a googlesketch image soon

right now i'd just like some direction and to see what you fine, experienced engineers think.
THANK-YOU-THANK-YOU-THANK-YOU-THANK-YOU  ;)
« Last Edit: February 20, 2009, 10:09:19 PM by jellis359 »

Offline Razor Concepts

  • Supreme Robot
  • *****
  • Posts: 1,856
  • Helpful? 53
Re: building a tennisball pitching robot
« Reply #1 on: February 20, 2009, 06:46:36 PM »
Should be this:

MCU--> motor controller(w/ motor battery)-->d/c motor

An H-bridge is a kind of motor controller.

Offline jellis359Topic starter

  • Jr. Member
  • **
  • Posts: 30
  • Helpful? 0
Re: building a tennisball pitching robot
« Reply #2 on: February 20, 2009, 06:55:30 PM »
do you think an H-bridge could be as efficient, its kinda cheaper (like 30 dolla) ::)

Offline MaltiK

  • Robot Overlord
  • ****
  • Posts: 300
  • Helpful? 2
Re: building a tennisball pitching robot
« Reply #3 on: February 20, 2009, 08:50:15 PM »
do you think an H-bridge could be as efficient, its kinda cheaper (like 30 dolla) ::)

As Razor said, an H-Bridge is a type of motor controllers.

Also, why do you need an encoder?
BTW, that motor doesn't have enough RPM to make the ball go anywhere more than 2 ft at a 45 degree angle with the horizon. What you can do is use a Trajectory Motion chart to figure out the required velocity for your specified distance, which is directly proportional to the RPM. And your MCU is kind of an overkill.
« Last Edit: February 20, 2009, 08:54:29 PM by MaltiK »
Warranty

Offline Jdog

  • Robot Overlord
  • ****
  • Posts: 259
  • Helpful? 3
Re: help please- i'm building a tennisball pitching robot??
« Reply #4 on: February 21, 2009, 01:38:31 AM »
You could probably use the $50 robot mcu if you feel like putting in the time/effort. H-bridges would also probably be cheaper than other types of motor controllers and are all you really need for this type of project. Check out this http://www.societyofrobots.com/schematics_h-bridgedes.shtml.

Offline HDL_CinC_Dragon

  • Supreme Robot
  • *****
  • Posts: 1,261
  • Helpful? 5
Re: help please- i'm building a tennisball pitching robot??
« Reply #5 on: February 21, 2009, 02:04:16 AM »
Heres a question:
Why bother using an MCU and servo at all?
Why not just have a switch directly connected to the motor(s) and just set it up so that the ball rolls itself into the spinning wheels since theyre constantly spinning anyway? Youll save yourself lots of time and money.


BTW, an encoder is used to help a microcontroller to figure out the RPM and/or distance of travel for a wheel/robot

-EDIT-
Also, if you still want to use your servo idea, you can just use a pair of 555 timers(or one 556 timer) to generate the frequency needed to tell the servo to move forward and back since it will be following the same path every single time.
« Last Edit: February 21, 2009, 02:06:23 AM by HDL_CinC_Dragon »
United States Marine Corps
Infantry
Returns to society: 2014JAN11

Offline MaltiK

  • Robot Overlord
  • ****
  • Posts: 300
  • Helpful? 2
Re: help please- i'm building a tennisball pitching robot??
« Reply #6 on: February 21, 2009, 06:24:59 AM »
Heres a question:
Why bother using an MCU and servo at all?
Why not just have a switch directly connected to the motor(s) and just set it up so that the ball rolls itself into the spinning wheels since theyre constantly spinning anyway? Youll save yourself lots of time and money.


BTW, an encoder is used to help a microcontroller to figure out the RPM and/or distance of travel for a wheel/robot

-EDIT-
Also, if you still want to use your servo idea, you can just use a pair of 555 timers(or one 556 timer) to generate the frequency needed to tell the servo to move forward and back since it will be following the same path every single time.

I understand that, however, what is the use of one where the motor spins for a couple of seconds? Encoders are usually used on drive motors, not something like this
Warranty

Offline HDL_CinC_Dragon

  • Supreme Robot
  • *****
  • Posts: 1,261
  • Helpful? 5
Re: help please- i'm building a tennisball pitching robot??
« Reply #7 on: February 21, 2009, 10:36:56 AM »
I understand that, however, what is the use of one where the motor spins for a couple of seconds? Encoders are usually used on drive motors, not something like this
That wasnt for you, that was for Jellis ;)
That was so hed know why one isnt needed here
« Last Edit: February 21, 2009, 10:37:54 AM by HDL_CinC_Dragon »
United States Marine Corps
Infantry
Returns to society: 2014JAN11

Offline jellis359Topic starter

  • Jr. Member
  • **
  • Posts: 30
  • Helpful? 0
Re: help please- i'm building a tennisball pitching robot??
« Reply #8 on: February 21, 2009, 12:53:46 PM »
thanks guys
it is supposed to be automatic, so it can't spin constantly (for power consumption and dog safety reasons)
i would like it to spin only for a set time after the ball hits the touch sensor so that if for some reason the dumb dog puts sumtin else in it, it won't break anything
sorry i put the wrong motor in last time:http://www.trossenrobotics.com/store/p/5142-FIRST-CIM-Motor.aspx
this one has the highest rpm to torgue ratio i could find for 30.00 ( by my calcs- it should be able to throw the ball over my expected 11ft)
it has ~88r/s

Offline ArcMan

  • Supreme Robot
  • *****
  • Posts: 519
  • Helpful? 4
  • Mmmm... Plasma
Re: help please- i'm building a tennisball pitching robot??
« Reply #9 on: February 21, 2009, 01:32:15 PM »
That motor is a bit of a butt-kicker, so I agree - It should launch a tennis ball nicely.  But it's not just about the motor.  You're going to need some momentum from your launching wheel or it will tend to stall when the tennis ball hits it, giving you poor distance.  You will need a decent amount of mass on that wheel, but not too much or it will take too long to get up to speed.  What are you planning on using as a launch wheel?

Also, when that ball hits the wheel, your motor current is going to spike (the less massive your wheel is, the more the current will spike).  It could spike to > 100A.  I hope you plan on dropping a few hundred dollars for a motor drive that can handle that.
« Last Edit: February 21, 2009, 01:36:13 PM by ArcMan »

Offline MaltiK

  • Robot Overlord
  • ****
  • Posts: 300
  • Helpful? 2
Re: help please- i'm building a tennisball pitching robot??
« Reply #10 on: February 21, 2009, 04:06:04 PM »
thanks guys
it is supposed to be automatic, so it can't spin constantly (for power consumption and dog safety reasons)
i would like it to spin only for a set time after the ball hits the touch sensor so that if for some reason the dumb dog puts sumtin else in it, it won't break anything
sorry i put the wrong motor in last time:http://www.trossenrobotics.com/store/p/5142-FIRST-CIM-Motor.aspx
this one has the highest rpm to torgue ratio i could find for 30.00 ( by my calcs- it should be able to throw the ball over my expected 11ft)
it has ~88r/s

Now thats a hell of a motor, and very cheap!
Warranty

Offline HDL_CinC_Dragon

  • Supreme Robot
  • *****
  • Posts: 1,261
  • Helpful? 5
Re: help please- i'm building a tennisball pitching robot??
« Reply #11 on: February 21, 2009, 11:04:02 PM »
These motors are AWESOME! Ive been looking for these very motors for like 3 years now....... we used them as the drive motors for our robot in the FIRST robotics competition at my old high school. Very powerful especially with the right gear box :)
United States Marine Corps
Infantry
Returns to society: 2014JAN11

Offline HyperNerd

  • Robot Overlord
  • ****
  • Posts: 139
  • Helpful? 5
  • N3rd1n80r
Re: help please- i'm building a tennisball pitching robot??
« Reply #12 on: February 22, 2009, 02:07:47 AM »
the stall torque on that motor is 133 amps :o ! That is gonna take one hell of a motor driver to not spontaneously combust when the ball touches the wheel!

Instead, you could try using some kind of air pressure cannon, like my spud gun I made a few years ago:




Easy to build and pretty fun shooting pencils at cereal boxes ;D

 -HyperNerd
There are 10 types of people in the world - those who understand binary, and those who don't.

Offline MaltiK

  • Robot Overlord
  • ****
  • Posts: 300
  • Helpful? 2
Re: help please- i'm building a tennisball pitching robot??
« Reply #13 on: February 22, 2009, 06:58:18 AM »
These motors are AWESOME! Ive been looking for these very motors for like 3 years now....... we used them as the drive motors for our robot in the FIRST robotics competition at my old high school. Very powerful especially with the right gear box :)

I think your thinking of MagMotors, they look the same but are not, they have soo much higher torque, and will run you about +$100
Warranty

Offline HDL_CinC_Dragon

  • Supreme Robot
  • *****
  • Posts: 1,261
  • Helpful? 5
Re: help please- i'm building a tennisball pitching robot??
« Reply #14 on: February 22, 2009, 05:23:34 PM »
nah they were definitely these CIM motors. 100% sure of it. I remember the name of them but for w/e reason when I did a google search for "CIM motor" nother ever came up O.o
United States Marine Corps
Infantry
Returns to society: 2014JAN11

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,699
  • Helpful? 173
    • Society of Robots
Re: help please- i'm building a tennisball pitching robot??
« Reply #15 on: March 01, 2009, 07:08:08 AM »
A motor driver is an H-bridge plus additional electronics, like thermometer, servo PWM to motor output converter, etc.

Just like a servo is a motor but with additional electronics.

Offline jellis359Topic starter

  • Jr. Member
  • **
  • Posts: 30
  • Helpful? 0
Re: help please- i'm building a tennisball pitching robot??
« Reply #16 on: March 04, 2009, 08:02:58 PM »
I was planning on using a solid black urethane rubber wheel
3.22oz.
2.5"diameter

i want to use solid urethane so i can mold it later (maybe to better fit the ball)

 


Get Your Ad Here

data_list