3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Simple Arduino Robotics Platform!

Simple Arduino Robotics Platform!
«
  • IMG_1766.JPG
  • IMG_1747.JPG
I just got an Arduino after playing around with some AVR microcontrollers during Robotics team meetings.  I liked the idea of a really cheap programmable chip that could run just about anything from a simple computer interface so I got an Arduino because it already has a nice board and USB interface.  For my first Arduino project, I dug up a Vex Robotics kit I had laying around from some competitions I did in high school.  I had always wanted to make a computer driven robotics platform but the Vex microcontroller requires a programming cable that I didn't have.  I decided to use my new Arduino (and maybe later a bare AVR chip if I get it working) to drive the platform.  Eventually I want to get a netbook and then I can drive the robot using WiFi and view its webcam remotely.

I managed to get a decent serial protocol and a simple example that drives the robot using an Xbox 360 controller connected to a Linux PC.

 
Remove these adsRemove these ads by Signing Up
 

Step 1What it can do...

What it can do...
«
  • IMG_1791.JPG
  • IMG_1819.JPG
The Arduino is a very versatile platform.  My basic goal was just to get the Arduino to interface two Vex motors to the PC, but I had a lot of leftover input/output pins and decided to add some extra stuff.  Right now I have an RGB LED for serial port status (green if packets are good, red if they are bad) and a PC fan driven by a transistor.  I can also add switches and sensors but I didn't put any of those on it yet.

The best thing about it is that you can add whatever you want to an Arduino robot.  It only takes a little bit of interface code to control extra stuff and get input to the computer.

« Previous StepDownload PDFView All StepsNext Step »
11 comments
May 17, 2012. 9:49 AMGelfling6 says:
Very nice! I've been tinkering with a VEX tank robot I converted to Arduino myself.. (Since (a) the VEX 1.0 programmer software went crassh with an old laptop, and (b) Innovation-FIRST doesn't seem to want to activate 1.0 anymore, and 2.0 costs $99 still.) Someone out there posted a hack of the VEX RC receiver, which shows the wave pattern, and how it can be decoded.. (timing, via a.. Yep! Arduino.) The VEX parts have a slightly different timing, compared to standard servos or constant-rotation servos, but the servo.h library is easily modifiable. (not too far off, but a servo.Write 90, seems to leave a little movement on the motor modules.) I powered my servos and motors through a 7805 regulator, from a +12V battery (which also powers the Arduino via the coaxial socket.. Word of the wise, NEVER draw +12V through the v-In pin of the arduino. a short circuit could fry the trace.)
Feb 20, 2012. 2:36 PMtechboy411 says:
You could use a USB hub, they are el chepo very most.
Apr 7, 2011. 6:55 PMIBreakHeavyStuff says:
Very interesting. I might be able to get hold of an EeePC 701 cheap, which I think should be sufficient for this project. It has built in webcam, and runs linux. I would love to see an update to this project. I am a total noob though. Anyone got any suggestions on where I should go to read up on Arduinos?

PS - any chance of putting some code in there that causes the robot to stop when wifi drops out?
Dec 5, 2010. 4:08 PMMidwestmariner says:
btw nice dr pepper can on step 4
Dec 5, 2010. 4:06 PMMidwestmariner says:
great guide! Im gonna get an arduino for christmas probbably. I cant wait for that
Oct 30, 2010. 1:55 AMparadox116 says:
Wow... Literally about 5 minutes ago I read your comment about that breadboard on SparkFun then stumbled upon this. I love crazy coincidences like this
Jul 11, 2010. 3:22 PMrhymed says:
When I started playing with Arduinos I did the same thing as you - I devised a control protocol for serial communication and then controlled everything from my PC. It worked well, but eventually someone told me about the Firmata protocol. A library for it ships with the the Arduino IDE. The Firmata protocol is intended to be a standard for this type of device-to-device communication. I found the Firmata to be a little difficult to use at first so ended up building a library of my own that implemented the PC-side of the protocol. I prefer to do my PC coding with C# so the library is Windows-only at the moment, but I'll create a Mono-compatible version soon so that it'll work on Linux as well. Check it out if you're interested: http://rhyduino.codeplex.com.
Apr 20, 2010. 3:03 AMnawook says:
 Nice instructable  ! But I can't see the links for the PC program on step 3 :(  
Could you please re-upload it ? Thanks !
Apr 21, 2010. 1:01 AMnawook says:
Thanks ! 

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
52
Followers
9
Author:CalcProgrammer1
I'm attending Missouri University of Science and Technology for Computer Engineering. I like working with electronics, and I'll post instructions on projects. I also like the Nintendo Wii and the Xb...
more »