Thanks! The most important component is a CMUcam2. It can track a colored object with simple commands. Any controller with a serial port can talk to it. But you'll need a controller (or combination of controllers) that can do serial communication and perform tracking calculations while also sending pulses to drive several servos. I used a single Acroname BrainStem GP 2.0 as the brain for the robot since it can perform all of these tasks.
@dekbannok007 You'll also need wires, connectors, construction materials, and wheels. The Acroname CMUcam2+ is discontinued, but it looks like you can get a CMUcam2 ($179) or CMUcam1 ($109) from Seattle Robotics. A CMUcam1 can also track a ball. Parallax modified servos for the wheels are $13 each. Servos for head and arms may be $10 each. A controller may range from $30 (Arduino) to $80 (GP 2.0). So you might be able to build something similar for around $250.
@dekbannok007 The language is very similar to C. It uses function calls specific to the BrainStem. With a BrainStem, you can use any text editor you like to write the code but you need to use the BrainStem tools to compile it. I just used TextEdit on a Mac. Programmer's Notepad is a very nice freeware editor if you're using Windows.
@mw0868 :: I need some help. I just want to know how to connect the power supply that is shared by both Brainstem and CMUcam. I am using 4 AA batteries, I don't know how to make a connection between CMUcam and Brainstem to share 4 AA batteries power supply.
@dekbannok007 You can use the unregulated power connection (which comes straight from the battery) and the ground connection on the I2C bus to provide power to the camera. The camera has its own voltage regulator.
@mw0868 ::: You mean I have to connect 4 AA batteries to BrainStem, then connect GND on I2C bus of BrainStem to Power pin of CMUcam?? By the way, I m using TTL to communicate to CMUcam.
@dekbannok007 Connect ground from I2C bus connector to ground on camera. Connect unregulated power output from I2C bus connector to power input on camera.
The CMUcam2+ does all the image processing. All I have to do is give it RGB parameters for the bright red ball (i.e. lots of red, very little green or blue) and it gives me X,Y coordinates of the ball in its field-of-view.
Thanks! I wrote some high-level functions that use a steering value and speed to track the ball, but they use aServo_SetAbsolute. So do the arm control routines. The robot has 5 servos (a BrainStem can only control 4) so I had to write a routine to use the CMUcam2+ to control the head servo.
Hiii, This is cool robot.
What are all components you use for this robot???
Can you tell the specification of all components ??
I want to one like this.
Thank you in advance
dekbannok007 1 year ago
Thanks! The most important component is a CMUcam2. It can track a colored object with simple commands. Any controller with a serial port can talk to it. But you'll need a controller (or combination of controllers) that can do serial communication and perform tracking calculations while also sending pulses to drive several servos. I used a single Acroname BrainStem GP 2.0 as the brain for the robot since it can perform all of these tasks.
mw0868 1 year ago
@mw0868 : So, all components are
1.CMUcam2+
2. Controller
3. two motors for the wheels
4. three servos for a head and arms
5.Batteries
Am i right??
So, how much does it cost???
dekbannok007 1 year ago
@dekbannok007 You'll also need wires, connectors, construction materials, and wheels. The Acroname CMUcam2+ is discontinued, but it looks like you can get a CMUcam2 ($179) or CMUcam1 ($109) from Seattle Robotics. A CMUcam1 can also track a ball. Parallax modified servos for the wheels are $13 each. Servos for head and arms may be $10 each. A controller may range from $30 (Arduino) to $80 (GP 2.0). So you might be able to build something similar for around $250.
mw0868 1 year ago
@mw0868 : Thank you so much for sharing
dekbannok007 1 year ago
@mw0868 I have another question, what program did you use to write the code for instructing Brainstem?
The language is C ? with pre-defined for Brainstem??
Thank you
dekbannok007 11 months ago
@dekbannok007 The language is very similar to C. It uses function calls specific to the BrainStem. With a BrainStem, you can use any text editor you like to write the code but you need to use the BrainStem tools to compile it. I just used TextEdit on a Mac. Programmer's Notepad is a very nice freeware editor if you're using Windows.
mw0868 11 months ago
@mw0868 :: I need some help. I just want to know how to connect the power supply that is shared by both Brainstem and CMUcam. I am using 4 AA batteries, I don't know how to make a connection between CMUcam and Brainstem to share 4 AA batteries power supply.
Thank you.
dekbannok007 11 months ago
@dekbannok007 You can use the unregulated power connection (which comes straight from the battery) and the ground connection on the I2C bus to provide power to the camera. The camera has its own voltage regulator.
mw0868 11 months ago
@mw0868 ::: You mean I have to connect 4 AA batteries to BrainStem, then connect GND on I2C bus of BrainStem to Power pin of CMUcam?? By the way, I m using TTL to communicate to CMUcam.
dekbannok007 10 months ago
@dekbannok007 Connect ground from I2C bus connector to ground on camera. Connect unregulated power output from I2C bus connector to power input on camera.
mw0868 10 months ago
Please help me, i am working same kind of stuff using MATLAB Image processing...... How didyou processed it ????
kpmfazal 2 years ago
The CMUcam2+ does all the image processing. All I have to do is give it RGB parameters for the bright red ball (i.e. lots of red, very little green or blue) and it gives me X,Y coordinates of the ball in its field-of-view.
mw0868 2 years ago
What command do you use to move servos? aServo_SetAbsolute? By the way, well done!
thebutcher4 2 years ago
Thanks! I wrote some high-level functions that use a steering value and speed to track the ball, but they use aServo_SetAbsolute. So do the arm control routines. The robot has 5 servos (a BrainStem can only control 4) so I had to write a routine to use the CMUcam2+ to control the head servo.
mw0868 2 years ago
nice
dinamounited 3 years ago
uses 16 AA batteries?! any ways, cool! who designed it? 5/5
coolboy782828 3 years ago
It only uses 4 AA batteries. They're mounted on top of his two drive servos. I designed and built this robot and all the others in my videos.
mw0868 3 years ago
can you say remote control? 1/5
whicketywack 3 years ago
The chase and grab is fully autonomous.
The only signal I gave the robot during its mission was hiding his home target. That's his signal to release the ball.
At 0:45, you'll see a green LED on the corner of his head turn on. That's when he acquired the home target.
At 0:48, you'll see that LED go off again. That's when I hid the target. A moment later he let the ball roll away.
See any related CMUcam2 video for similar stuff.
mw0868 3 years ago
no need for dogs any more
zenith828 3 years ago
wow that is pretty cool!! 5/5 nice robot
Mig25foxhound 3 years ago
Nice
sidns5 3 years ago