Make a simple platform and give mobility to your computer

 by XicoMBD
Contest WinnerFeatured
A computer is a very handy thing to use in your robots.

If you start listing all the features that can be used for robotic purposes you'll find that it is cheaper to buy a netbook than buying LCD, wifi and bluetooth modules, cameras, speech synthesizer modules, keypads, memory card readers, speakers and many other stuff.

Thats why I decided to make this platform to my netbook.  To let the computer control the motors, I tried two different ways: Firstly I used a arduino duemilanove with two motor driver boards , but then I found that it would be much easier if I just used a motoruino .

With this I could create lots of different applications that let my computer follow certain colors, follow human faces, detect flames, drive around the house avoiding walls, be remote controlled through the internet or using a wiimote, and the list of possibilities is almost endless. 

I have been developing this application, presented on the movie, which is called ComputerOnWheelsController.
You can learn more and download it at its page: http://www.franciscodias.net/applications/openframeworks/computer-on-wheels-controller

 
Or, if you prefer processing, you can find and download some examples that I've already done at my website: http://www.franciscodias.net/processing-applications

 
Remove these adsRemove these ads by Signing Up

Step 1: Gather the materials

DSC_2302.jpg
IMG_7840.JPG
Arduino+L293D_bb.png
This is what you'll need:
    - 1x Box
    - 2x Motors, wheels  and supports
    - 1x Third wheel
    - 1x Battery pack 
    - Some wires and jumpers

And...

  If you decide to use the motoruino you'll also need:
     - Motoruino
     - FDTI Cable

...or...

  If you prefer the arduino you'll need:
     - Arduino
     - USB A/B Cable
     - Dual Motor Driver, I used these . You can use whatever you want, for example, the L293D is very easy to use. Check the attached breadboard image.

1-40 of 93Next »
rsangeethk says: Jun 14, 2012. 11:01 AM
heiiii.... dont you need TTL logic converter... like max232???????? when connecting laptop with the microcintroller??????
XicoMBD (author) in reply to rsangeethkJun 14, 2012. 11:16 AM
The Arduinos that used have a FDTI chip ;-)
rsangeethk in reply to XicoMBDJun 15, 2012. 12:55 PM
but im using a third party board with h-bridge....!!! which one is best for usart!!!
XicoMBD (author) in reply to rsangeethkJun 15, 2012. 1:01 PM
Is it arduino based?
rsangeethk in reply to XicoMBDJun 15, 2012. 1:13 PM
noooo.. its not arduino based! and do you have the same code for avr studio.. or any hexfile of this code?????? if yes plzz share it!!!
XicoMBD (author) in reply to rsangeethkJun 15, 2012. 1:32 PM
I only have the arduino code, but it is very very simple.
It should be easy for you to replicate it. It only has to receive the chars from the serial port and actuate the motors accordingly.
Try to search for serial port communication examples...
sabari1000 says: Nov 21, 2011. 10:42 AM
Hey Guys... I'm using Arduino Diecimila... Selected correct Board and Serial port... But still i can't upload the program.I'm getting the following Error

***avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51***
i'm searching in lots of Forums for 6 days but still i cant find the solution... can anyone help me out of this... Thanks in Advance...
Garebear350 in reply to sabari1000Jan 6, 2012. 3:36 PM
Same thing has happened to me repeatedly with my uno i have no idea what to do.
MRedu says: Nov 2, 2011. 3:08 AM
Insane! I've seen some amazing things here on instructables but this is by far my favourite!

I wanna give this a go i've always been into robots. But i don't know where to get all the parts from... (i'm in the UK).
XicoMBD (author) in reply to MReduNov 2, 2011. 7:38 AM
Thanks for the comment :D
You can get the motoruino directly from guibot (http://www.guibot.pt/motoruino/), just leave them a message.
The rest of the parts aren't so specific, you can get any motors, battery and wheels. You should be able to find this kind of thing on ebay, for example.

If you're interested, I've been collaborating in the development of a similar platform, but much more powerful and capable: http://magabot.cc/dp/magabot. Have a look :)
MRedu in reply to XicoMBDNov 8, 2011. 1:58 AM
Cool Thanks!
karan13 says: Aug 24, 2011. 3:07 AM
i want a short help from u .is there any way i can controll this robo with psp a well as tag laptop's camera as to psp's screen
plese help ,as i want this to exebit this bot in exebition.
thanx
XicoMBD (author) in reply to karan13Aug 24, 2011. 3:31 AM
XicoMBD (author) in reply to karan13Aug 24, 2011. 3:25 AM
osalomak says: Jul 14, 2011. 6:05 AM
What this mean? What I did wrong?


avrdude: stk500_getsync( ): not in sync: resp=0x00 
avrdude: stk500_disable ( ): protocol error, expect=0x14, resp=0x51
error.jpg
XicoMBD (author) in reply to osalomakJul 14, 2011. 7:02 AM
I'm not sure. When I have that error I usually disconnect the board from the PC and reconnect it again.
But try to go to that link and see if it is useful.
osalomak in reply to XicoMBDJul 15, 2011. 1:12 AM
My broblem was board choice...
My Motoruino board works with Arduino Duemilanove...
I first try choose Arduino Diecimila, but it's not accept that...
guibot in reply to osalomakJul 15, 2011. 2:47 AM
Hello!

Assuming it might be the FTDI cable please confirm that you are connecting the black cable on the same side where it says GND.

Confirm also you are selecting "Arduino Duemilanove or Nano w/ ATmega328".

Please let me know if it worked.


osalomak in reply to guibotJul 15, 2011. 4:20 AM
Yeah! It's working now... :)
guibot in reply to osalomakJul 15, 2011. 5:08 AM
Great!! ;)
XicoMBD (author) in reply to osalomakJul 15, 2011. 1:16 AM
Like I told you before, I choose the "Arduino Duemilanove or Nano w/ ATmega328".

Are you sure that the problem isn't from the FTDI cable?
osalomak in reply to XicoMBDJul 15, 2011. 5:02 AM
Yeah, my bad... I have dyslexia... :D
And "broblem" mean problem... :b
But now everything working perfectly...
FTDI cable working very well too. :)
Now I try to do that same project without laptop... 
Some kind of wireless thing... I post some pictures later... 
Avadhut.Deshmukh says: Jul 14, 2011. 8:23 AM
i have another idea to use ic l298d motor drivers
what correct ?


plz reply
L298 Board Manual.JPG
XicoMBD (author) in reply to Avadhut.DeshmukhJul 14, 2011. 9:40 AM
On the picture you have a L298N. But yes, you can use it.
Avadhut.Deshmukh in reply to XicoMBDJul 14, 2011. 9:53 AM
i have L298N motor board 1 in 2 dc geared motor !!!

my robot started working thank you
XicoMBD (author) in reply to Avadhut.DeshmukhJul 14, 2011. 10:35 AM
Nice!
Send me some photos or videos so I can post them on this 'ible ;)
osalomak says: Jul 7, 2011. 1:04 AM
Thanks for informations! :)

My project is almost same as yours, but I add mouse controlled servos for webcam's rotation...

http://www.youtube.com/watch?v=lFvQRWXX24U
osalomak says: Jul 6, 2011. 10:53 PM
what software you used to programming Motoruino..?
Can I use Arduino software to programming Motoruino...? :)
XicoMBD (author) in reply to osalomakJul 7, 2011. 12:31 AM
Yes, of course ;)
Have a look here: http://www.guibot.pt/faq/#caracteristicas
"Besides the lack of the usb connection (you will need a TTL-USB converter described below), the Motoruino is 100% compatible with the Arduino Diecimila, including the pin position, so you can attach any compatible arduino Shield."

On the arduino IDE you just have to choose "Arduino Duemilanove or Nano w/ ATmega328".
karan13 says: Jul 2, 2011. 10:11 AM
while creating face tracker ,i am comming across some problem i have added
pface detect
pface detect.dll
controlp5
jmyron
jmyron.dll
and folowed every step respectively but on the message bar an error is coming
that-............................./pfacedetect.dll -cannot find dependent file .
i am using win 7 32-bit. can u tell me where i am going wrong .
thankyou
XicoMBD (author) in reply to karan13Jul 3, 2011. 1:35 AM
I'm not sure if it works with 7, I've only tested with XP. Where have you added that files?
karan13 in reply to XicoMBDJul 3, 2011. 9:49 PM
i have addrd these files in the skech
karan13 says: Jun 27, 2011. 8:48 AM
does versions effect the making of application
XicoMBD (author) in reply to karan13Jun 27, 2011. 8:54 AM
I don't know
karan13 says: Jun 27, 2011. 6:59 AM
which version of processing r u using
XicoMBD (author) in reply to karan13Jun 27, 2011. 7:08 AM
1.2.1
karan13 says: Jun 21, 2011. 5:02 AM
hai my robo started working thank you man..............i want to know that is there any way we can control robot through our voice
XicoMBD (author) in reply to karan13Jun 21, 2011. 6:18 AM
Cool!
Post a video here if you can :)
Yes, I've found this (https://code.google.com/p/ofxasr/) but I haven't had any time to integrate it with the COWC (ComputerOnWheelsController) application.
I may be able to do it next week when I finish my exams, but try to do it yourself!
karan13 says: Jun 18, 2011. 8:50 AM
(removed by author or community request)
XicoMBD (author) in reply to karan13Jun 18, 2011. 9:03 AM
Yes, you can.
Have a look:
http://www.datasheetcatalog.org/datasheet/stmicroelectronics/1330.pdf
1-40 of 93Next »
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!