Vol. 19: My Robot, Makey
Build this simple autonomous robot thats programmed to follow objects around.
Digital Edition
SUBSCRIBERS:Read this article now in your digital edition!
Get Make:
Subscribe to MAKE and get the best rate!
+ Downloads & Extras:
Makey project schematic, templates, and code
Step 1a. PDF templates
Step 3c. Tutorial: ProtoShield Assembly and Use
Schematic Diagram (PDF)
Step 5g.Test programs (PDE)
- Run left and right motor forward and backward: 01_Test_Motor_Rotation.pde
- Run left and right motor from slow to fast: 02_Test_Motor_Speed.pde
- Move servomotor to center position: 03_Test_Servo_Center.pde
- Move servomotor back and forth: 04_Test_Servo_Sweep.pde
- Show distances from Ping ultrasonic rangefinder: 05_Test_Sensor_Distance.pde
Advanced programs (PDE)
- Robot roams and avoids objects using Ping: 06_Object_Avoidance.pde
- Robot follows objects using Ping rangefinder: 07_Object_Following.pde
Videos of Makey in Action
Video 1 (6MB .mp4 file)
Video 2 (2.3MB .mp4 file)
Video 3 (750KB .mp4 file)
Video 4 (3.3MB .mp4 file)
» MAKE: AMENDS Errata for This Article
Correction for page 79
The 0.1µF capacitor is Jameco part #151116, not #15229. Thanks to reader Joseph E. Mayer for catching the error!
» MAKE: NOISE — Discuss this article
You must be logged in to post a talkback.[ Display full threads] [ Newest First]
Showing messages 1 through 17 of 17.
- Lego Tires
You must be logged in to reply.
Anyone have a lead on where to purchase the lego tires?Posted by Keith Nasman on August 16, 2009 at 21:02:54 Pacific Time
- ProtoShield Kit
You must be logged in to reply.
I ordered and received the ProtoShield Kit #MKAD6 from maker shed but it seems to be different than the posted assembly instructions reference. My board is slightly different, and it did not come with 2 330 ohm res. or 1 10Kohm res. It did come with 2 1kohm resistors. Is this going to be a problem? I found assembly instructions for this kit at http://www.ladyada.net/make/pshield/. Do I still need to cut something off?Posted by looking up on August 25, 2009 at 06:09:04 Pacific Time
- It's Not Working!!!!!!!!!!
You must be logged in to reply.
Please help me. I have built all the boards and checked connections and wiring but no matter what I do, the motors will not turn. I know the motors work because when connected directly to the Arduino micro controller, they turn, but when connected to the motor driver board, it doesn't work. Please help me!!!!Posted by kayrus on October 10, 2009 at 08:28:03 Pacific Time
- Servo avoidance
You must be logged in to reply.
This was exactly what I was looking for. I was wondering, do you maybe have a sketch written up that uses the servo for object avoidance? A lot of the robots out there use a servo to 'look around' with the ping sensor to determine the best route to go. Would it be possible for you to make something like that? I don't know enough about the processing language (yet!) to be able to make something like that.Posted by Jair2k4 on October 27, 2009 at 07:55:16 Pacific Time
- Servos
You must be logged in to reply.
I'm currently in the process of getting the parts for Makey, but my local Hobbytown is out of stock on Hitec HS 55 servos. Are there other models with comparable performance and size which could be substituted for the HS 55?Posted by Robert Levitt on January 27, 2010 at 09:55:09 Pacific Time
- Modifying the servo extension wire for the rangefinder
You must be logged in to reply.
Looking at the servo extension wire, I notice that it has an open end for three pins and an end with a hood and three pins already in it. What has to be done to modify the cable to make it accommodate the right-angle male header and the header from the rangefinder?Posted by Robert Levitt on March 27, 2010 at 19:05:50 Pacific Time
- Speed not working
You must be logged in to reply.
Hi Kris,
First of all thanks for sharing, nice project.
Avoidance works well, but is not following, and I've realized the speed on the right hand side motor doesn't work when I test the motor speed test.pde.
it doesn't speed up, it starts full speed. any ideas?
Thanks a lot.
Antonio
Posted by toni.bird on May 31, 2010 at 05:27:02 Pacific Time
- motor on B out not responding
You must be logged in to reply.
I have built the circuit and ran the led test and uploaded both the motor drive tests successfully. The problem is that the drive connected to the B out 1 and 2 is not responding to the code when it is loaded to the arduino. Both of the motor drives work on the A out side but not on B side. I have removed the TB6612FFNG to check my solder welds for any shorts, cracks or errors. Is there something I am over looking.
Thanks, WoodiePosted by POOB1 on June 15, 2010 at 18:08:21 Pacific Time
- makey misbehaving on battery power, ok on USB
You must be logged in to reply.
Just got around to finishing my makey build. All test programs work fine when on USB connection to laptop, but if I unplug USB cable and attempt to run the uploaded code on battery power, the servo motor jut makes odd tick sounds and the wheel motors seem to rotate backwards and with odd pattern. I've checked all connections - looks like the schematic. Batteries both brand new, running slightly over 9v. very repeatable behavior.
The object_avoidance and object_following scripts and test_servo_sweep are the ones that aren't working right on battery. The motor scripts work fine.Posted by freder on August 01, 2010 at 16:36:32 Pacific Time
- Code
You must be logged in to reply.
Hello,
I noticed that in the video the servo pans back and forth while allowing the robot to better avoid objects. In the avoidance code there is no section to allow this action. I made a very similar project and with a few changes your code worked perfectly. I also have the ping attached to the servo and would like to add the servo panning feature. any help?Posted by arduino912 on March 25, 2011 at 19:14:46 Pacific Time
- Protoshield
You must be logged in to reply.
Can someone post a photograph of the completed protoshield. I am not sure if I am reading the schematic properly.Posted by brelwart on April 26, 2011 at 19:05:48 Pacific Time
- Schematic
You must be logged in to reply.
Can someone help with the schematic? Am I assuming correctly that all the 5V can be connected to the header labeled 5 on the protoshield after it is jumped to the breadboard? The big question I have is were do I connect the PWMA & PWMB to? I don't know where to get the 5V with the 10k from.Posted by Mike Komo on April 28, 2011 at 05:30:33 Pacific Time
- Motors are not working when running the Motor test
You must be logged in to reply.
Hi there,
We are using duemilanove microcontroller with proto shield kit maker shed MKAD6 and mini breadboard.
Arduino board test worked well, however, when wiring the breadboard and connect them for a test of the motors, it does not work.
And we are not sure about the way of connecting resistors onto the breadboard (we don't know how to connect the PWMA/B to 5V line which includes line D11/D3 and the resistors
We are completely lost and cannot move on. It would be great if any expert could help with it.
Thanks a lot!Posted by krakra on June 07, 2011 at 09:51:49 Pacific Time
- Motors are not working when running the Motor test
You must be logged in to reply.
Just to add to last post.
We would like to send some images of how we connected all the wires but can't find the suitable email address.
Thanks a lot
Posted by krakra on June 07, 2011 at 09:55:31 Pacific Time
- Change in Motor Driver Schematic
You must be logged in to reply.
Posting in June 2011. FYI the schematic for the motor driver board has changed a bit. I foolishly blindly followed the schematic in the article and Pins 1-8 have totally changed in the current version of the board from Sparkfun. SO BEWARE! I rewired it correctly. Left motor works fine but looks like I fried the circuits for Right Motor as it will only go forward full speed. $9 and a week lost!Posted by tklenke on June 11, 2011 at 17:31:37 Pacific Time
- Makey the robot
You must be logged in to reply.
can Makey the robot work with also arduino UNO?Posted by David Truong on February 12, 2012 at 16:51:49 Pacific Time
- motor driver
You must be logged in to reply.
I am confused with the motor driver you have plugged into the top of the breadboard. I am curious to if you made that or purchased it. If you could help me out that would be great. Also if you could send a little more clear of a picture of the wiring into your breadboard that would be amazing. Thank you.Posted by koutso on September 27, 2012 at 07:38:55 Pacific Time
|
Showing messages 1 through 17 of 17. |
Join the conversation -- every MAKE article has an online page that includes a place for discussion. We've made these RSS and Atom feeds to help you watch the discussions: subscribe.










