OOAK Table Tennis Forum


A truly International Table Tennis Community for both Defensive and Offensive styles!
OOAK Forum Links About OOAK Table Tennis Forum OOAK Forum Memory
It is currently 27 Apr 2024, 07:01


Don't want to see any advertising? Become a member and login, and you'll never see an ad again!



All times are UTC + 9:30 hours




Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Building my own TT robot
PostPosted: 15 Aug 2009, 03:17 
Offline
New Member

Joined: 11 Aug 2009, 04:08
Posts: 26
Location: Florida, USA
Has thanked: 2 times
Been thanked: 0 time
I was thinking about getting a robot because I wanted to practice my loops and smashing. The cheapest model of robot costs ~$300 USD and even then it doesn't hold that many balls, so you'll have to have to pick them up after like 40 balls. I'm currently making my own robot and you'll be able to feed 400 balls into the hopper. I have a degree in computer engineering so its not too hard to build something like this and tell the computer what type of spin you want on the ball and how fast to shoot it. I will post pictures and a howto if someone would like to make their own robot when I'm done building it. Right now I'm still waiting on my AC-DC adapter to power the motors. Stay Tuned!

So far I've spent $75 and some time building it, compared to the higher end Newgy robots which are more than $300, I think its worth it to build it than to buy one.

_________________
-Galaxy 896 cpen with 2.2mm Cream MRS FH and 2.0mm FXEL Super Soft BH


Top
 Profile  
 


PostPosted: 15 Aug 2009, 10:40 
Offline
♫ Living On The Edge (Tape) ♫
User avatar

Joined: 19 May 2009, 15:21
Posts: 822
Has thanked: 0 time
Been thanked: 9 times
Blade: Tibhar Stratus Power Def
FH: Rakza Z MAX
BH: Spinlord Dornenglanz OX
How much room for error is there making one?


Top
 Profile  
 
PostPosted: 15 Aug 2009, 11:41 
Offline
Dark Knight
Dark Knight
User avatar

Joined: 13 Dec 2006, 12:34
Posts: 33353
Location: Adelaide, AU
Has thanked: 2760 times
Been thanked: 1550 times
Blade: Trinity Carbon
FH: Victas VS > 401
BH: Dr N Troublemaker OX
We had a similar topic on this, from another person that wanted to build one. I'll see if I can find it, as it may be useful to you...

_________________
OOAK Table Tennis Shop | Re-Impact Blades | Butterfly Table Tennis bats
Setup1: Re-Impact Smart, Viper OX, Victas VS 401 Setup2: Re-Impact Barath, Dtecs OX, TSP Triple Spin Chop 1.0mm Setup3: Re-Impact Dark Knight, Hellfire OX, 999 Turbo
Recent Articles: Butterfly Tenergy Alternatives | Tenergy Rubbers Compared | Re-Impact User Guide


Top
 Profile  
 
PostPosted: 15 Aug 2009, 12:33 
Offline
I am Legend
I am Legend
User avatar

Joined: 13 Dec 2006, 18:21
Posts: 5997
Location: Queensland
Has thanked: 72 times
Been thanked: 106 times
What are you using? a PIC or something?

_________________
Chasse Patate


Top
 Profile  
 
PostPosted: 15 Aug 2009, 13:46 
Offline
New Member

Joined: 11 Aug 2009, 04:08
Posts: 26
Location: Florida, USA
Has thanked: 2 times
Been thanked: 0 time
Silver wrote:
What are you using? a PIC or something?


Here's what I'll be using silver, an Arduino Microprocessor:

Image

_________________
-Galaxy 896 cpen with 2.2mm Cream MRS FH and 2.0mm FXEL Super Soft BH


Last edited by RayY on 16 Feb 2011, 09:28, edited 1 time in total.

Top
 Profile  
 
PostPosted: 15 Aug 2009, 14:43 
Offline
I am Legend
I am Legend
User avatar

Joined: 13 Dec 2006, 18:21
Posts: 5997
Location: Queensland
Has thanked: 72 times
Been thanked: 106 times
ah cool, an atmega.

_________________
Chasse Patate


Top
 Profile  
 
PostPosted: 15 Aug 2009, 14:52 
Offline
♫ Living On The Edge (Tape) ♫
User avatar

Joined: 19 May 2009, 15:21
Posts: 822
Has thanked: 0 time
Been thanked: 9 times
Blade: Tibhar Stratus Power Def
FH: Rakza Z MAX
BH: Spinlord Dornenglanz OX
This will be interesting to see how it turns out.

Good luck, and make sure you make a VERY detailed guide if it works out good!


Top
 Profile  
 
PostPosted: 16 Aug 2009, 11:47 
Offline
New Member

Joined: 11 Aug 2009, 04:08
Posts: 26
Location: Florida, USA
Has thanked: 2 times
Been thanked: 0 time
So I've been working on it lately and I figure I'll post my progress so far.

Below is the schematic diagram for the circuit that will drive the 2 motors, depending on rpm/rotational speed will put english on the ball and how far to toss the ball.
Image

Here's is the progress on the ball hopper that will control the flow of balls into the main motor chamber that will toss the balls. It works great.
Image

If anyone is curious, the arduino code to control the servo looks like this:
Quote:
#include <Servo.h>

Servo myservo; // create servo object to control a servo
// a maximum of eight servo objects can be created

int pos = 0; // variable to store the servo position

void setup()
{
myservo.attach(9); // attaches the servo on pin 9 to the servo object
}


void loop()
{ // in steps of 1 degree
myservo.write(0); // tell servo to go to position in variable 'pos'
delay(1500); // waits 15ms for the servo to reach the position
myservo.write(70); // tell servo to go to position in variable 'pos'
delay(1500); // waits 15ms for the servo to reach the position
}

_________________
-Galaxy 896 cpen with 2.2mm Cream MRS FH and 2.0mm FXEL Super Soft BH


Last edited by RayY on 16 Feb 2011, 09:28, edited 1 time in total.

Top
 Profile  
 
PostPosted: 21 Aug 2009, 08:39 
Offline
New Member

Joined: 11 Aug 2009, 04:08
Posts: 26
Location: Florida, USA
Has thanked: 2 times
Been thanked: 0 time
UPDATE!

I have finished wiring and testing the circuit for the TT robot. It works great! I'm done with the robot, $75 into the project minus acrylic to build the casing with the circuit inside. I will rebuild the circuit once I have the casing to build on, right now it looks kinda messy for testing of my code on the computer. Don't underestimate the power of those small motors they can launch a ball so fast it can give a person bruises, okay maybe not bruises but it'll hurt quite a bit. I can vary the speed with my code and the timing of the servo. Anyway time for a teaser shot:

Image

_________________
-Galaxy 896 cpen with 2.2mm Cream MRS FH and 2.0mm FXEL Super Soft BH


Last edited by RayY on 16 Feb 2011, 09:28, edited 1 time in total.

Top
 Profile  
 
PostPosted: 21 Aug 2009, 09:08 
Offline
Tomorrow's TT Superstar
User avatar

Joined: 18 Aug 2008, 07:01
Posts: 520
Location: East London
Has thanked: 0 time
Been thanked: 0 time
Thats some great work Ray. Maybe i will get around to building my own. I cant wait to see the final images. you think we could get a click of it in action? 8)

_________________
Table Tennis Needs To Be Promoted! We Need MORE T.T.!!!
Whats with all the outrageous prices now days? Something NEEDS to be done!


Top
 Profile  
 
PostPosted: 21 Aug 2009, 09:22 
Offline
♫ Living On The Edge (Tape) ♫
User avatar

Joined: 19 May 2009, 15:21
Posts: 822
Has thanked: 0 time
Been thanked: 9 times
Blade: Tibhar Stratus Power Def
FH: Rakza Z MAX
BH: Spinlord Dornenglanz OX
I'm looking forward to a step by step guide! :cyclops:


Top
 Profile  
 
PostPosted: 22 Aug 2009, 07:54 
Offline
Dark Knight
Dark Knight
User avatar

Joined: 13 Dec 2006, 12:34
Posts: 33353
Location: Adelaide, AU
Has thanked: 2760 times
Been thanked: 1550 times
Blade: Trinity Carbon
FH: Victas VS > 401
BH: Dr N Troublemaker OX
Wow they are tiny little motors! What are the rubber wheels?

_________________
OOAK Table Tennis Shop | Re-Impact Blades | Butterfly Table Tennis bats
Setup1: Re-Impact Smart, Viper OX, Victas VS 401 Setup2: Re-Impact Barath, Dtecs OX, TSP Triple Spin Chop 1.0mm Setup3: Re-Impact Dark Knight, Hellfire OX, 999 Turbo
Recent Articles: Butterfly Tenergy Alternatives | Tenergy Rubbers Compared | Re-Impact User Guide


Top
 Profile  
 
PostPosted: 22 Aug 2009, 17:01 
Offline
New Member

Joined: 11 Aug 2009, 04:08
Posts: 26
Location: Florida, USA
Has thanked: 2 times
Been thanked: 0 time
haggisv wrote:
Wow they are tiny little motors! What are the rubber wheels?


Those are just normal RC rubber wheels, except that the motors can pull 4oz of torque each at 1000rpm. Its gonna be a while before I can build the actual rig with ball bucket and all since I'm building it with acrylic. That way it would be lighter, but to bond acrylic to acrylic you need a special type of glue that bonds them on a molecular level, super glue won't work on it (yes not even the gorilla super glue or plastic epoxy as acrylic is not normal plastic). I ordered the glue but It will come next Friday so in the meantime I'm gonna have to cut out the pieces of acrylic that I'm gonna glue together. Also I will need to clean up the wiring on my circuit since the code is tested and working except for some tweaks.

_________________
-Galaxy 896 cpen with 2.2mm Cream MRS FH and 2.0mm FXEL Super Soft BH


Top
 Profile  
 
PostPosted: 22 Aug 2009, 18:36 
Offline
Tomorrow's TT Superstar
User avatar

Joined: 18 Aug 2008, 07:01
Posts: 520
Location: East London
Has thanked: 0 time
Been thanked: 0 time
are you referring to the glue 'tensile cement'?

It creates a chemical reaction when both objects are put together. Hence a really really really dangerous glue to use :lol:

_________________
Table Tennis Needs To Be Promoted! We Need MORE T.T.!!!
Whats with all the outrageous prices now days? Something NEEDS to be done!


Top
 Profile  
 
PostPosted: 29 Aug 2009, 09:29 
Offline
New Member

Joined: 11 Aug 2009, 04:08
Posts: 26
Location: Florida, USA
Has thanked: 2 times
Been thanked: 0 time
Progress Lately....

Circuit Cleanup and preparation for installing on the acrylic casing and some code tweaking, it'll be the final code.

Image

Quote:
#include <Servo.h>
#define ledPin 13
#define motor1Input1 11 // Motor1 inputs connected to pin 4 & 2
#define motor1Input2 12
#define motor1Pwm 5 // Motor1 PWM pin
#define motor2Input1 9 // Motor2 inputs connected to pin 7 & 5
#define motor2Input2 8
#define motor2Pwm 6 // Motor2 PWM pin
#define stby 7 // Standby pin

Servo myservo;

int state = 0; // 0 for motors not started, 1 for motors started
int pos = 0; // variable to store the servo position
int val = 0;

void setup()
{
pinMode(motor1Input1, OUTPUT); // sets all pins as output
pinMode(motor1Input2, OUTPUT);
pinMode(motor2Input1, OUTPUT);
pinMode(motor2Input2, OUTPUT);
pinMode(motor2Pwm, OUTPUT);
pinMode(motor1Pwm, OUTPUT);
pinMode(stby, OUTPUT);
myservo.attach(10); // attaches the servo on pin 10 to the servo object
pinMode(ledPin, OUTPUT);
}

void loop()
{
digitalWrite(ledPin, HIGH);
myservo.write(130); // tell servo to go to position in variable 'pos'
delay(200); // waits 15ms for the servo to reach the position
digitalWrite(ledPin, LOW);
myservo.write(70); // tell servo to go to position in variable 'pos'
delay(500); // waits 15ms for the servo to reach the position

if( state == 0 ){
digitalWrite(stby, HIGH); //set standby to off by setting it to high
digitalWrite(motor1Input1, LOW); // Motor1 on forward
digitalWrite(motor1Input2, HIGH);
analogWrite(motor1Pwm,20); // Motor1 PWM Pulse
delay(2000); // Wait 2 seconds before starting the 2nd motor
digitalWrite(motor2Input1, LOW); // Motor2 on forward
digitalWrite(motor2Input2, HIGH);
analogWrite(motor2Pwm,20); // Motor2 PWM Pulse
state = 1; //set state of motors to running
}
val = analogRead(0);
analogWrite(motor1Pwm,val/4);
analogWrite(motor2Pwm,val/4);
}

_________________
-Galaxy 896 cpen with 2.2mm Cream MRS FH and 2.0mm FXEL Super Soft BH


Last edited by RayY on 16 Feb 2011, 09:29, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next




All times are UTC + 9:30 hours


Who is online

Users browsing this forum: No registered users and 147 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Copyright 2018 OOAK Table Tennis Forum. The information on this site cannot be reused without written permission.

Powered by phpBB® Forum Software © phpBB Group