Let's Make Robots!


Help with connecting Arduino clone to L298 based motor driver

I am quite new to the world of robotics, but have years of experience with basic passive components (caps, resistors, etc) so I thought this would be a fun way to start learning more.

 To start myself off, I picked up a handful of arduino clones, mostly seeeduinos.   I built some motor shields and got those programmed, and working successfully with some cheap hobby motors, I've also successfully managed to get some servo's running without a problem as well.

Affordable Robtics Platform ( ARP ) USB v1 introduction

ARP is aimed at introducing affordable robotics in India / Third World countries. Our aim is to introduce a robotics platform with is around USD 20 and is capable of basic feats like line following line following, Object avoidance , photovhore , remote control while being scalable/reprogrammable. We are inspired from Asuro , but find it too restricting. So we plan to develop our own. We have tried to cut costs where possible without loosing functionality. Given below is Arduino/Freeduino based ARP USB main board,which will be on sale for about 9.95 USD or Rs 450.

Arduino Motor Control Code Help

I am currently using a arduino duemilanove, and it is awesome. I have been playing around with it for a couple of days now, and I really like it. Anyways I figured it was time to start to building a robot. I decided to start with the motors. For the motor control I decided to use guibot's tutorial. It worked fine, but the motors only traveled in one direction. Because I wanted the motors to also travel in reverse too I decided to experiment with my own code (on only one motor) that looks something like this:

Motor Driver question


i'm trying to build 'start here' robot using  arduino as the brain 2 gear motor as the driving force.one of the forumer has point out to me that i need a motor driver to control the motor for forward and reverse movement,

my question is(sorry if sound stupid) do i need 2 motor driver for the 2 gear motor or 1 motor driver is enough.and how to use this motor driver.

thanks for the help.truly preciated


DC motor question

I was walking through Lowes the other day, and found this great trash can that looked like a robot to me. I was able to pick it up for super cheap!! What I want to do is add two DC motors to the bottom and a caster wheel. I want to make this robot carry my books around school for me. I am lugging more text book weight than I ever did in the Army with my ruck sac. My physics book alone is killer.

Trash Can

Flies autonomously with directional control
Using a
I started this project quite a while ago.   My first inspiration came from a hobby parts site: http://www.hobbycity.com.  They advertised a new brushless motor … Read more

Programming help, sharp IR mounted on servo


I am trying to control my bot using a sharp IR sensor mounted on hitec servo with arduino mega. The pseudocode i have so far is as follows:

1. Set servo at 90deg and read IR sensor value
2. If val > 200, then stop the bot for a second
  a. Turn servo 0 deg completely and read ir val
  b. if val < 200 then turn bot left
  c. else turn servo 180 deg and read ir val
  d. if val < 200 then turn bot right
  e. else if cant turn right or left, reverse a bit and then turn the bot 180 degree and go straight.

The challenge of building a 1st bot..


I got my arduino mega in the post a few days back and having been playing around lighting up LEDs. Thought id get started with constructing my 1st bot. Hence i rigged up 2 motors, a dual mc33887 motor driver, a 6v supply and the mega board. Uploaded a sample code to see if it would turn the motors. Voila!! Nothing happens. Nothing whirring, no sound, no ecstasy. No nothing. 

Its quite obvious that my bot wont perform with stationary wheels.

Still trying to find a solution. Images of connection, mc33887 truth table and sample code below.

two modes, roaming with ping, and xbee remote control
Using a
Here is my latest little time killer, TRIppy the Tri Wheeler. Trippy is based on a tri wheel design, with the point of this build being speed.  As a matter of … Read more
plays motion sequences
Using a
                 1st video - First test with the polymorph structure                      2nd video - A quick test drive               Read more
Navigate around via ultrasound
Using a
This is a quick and dirty update, mostly copied from my website  http://www.obscurereality.org/?page_id=19 I'm redoing it from the ground up.    B1-66ER is my … Read more

Best for Beginners?

I am an absolute beginner... i have very little experience in electronics, very little experience in mechanics... but i am an expert programmer...  my question is: what do you recommend for a beginner wanting to get into robotics?  I am thinking I might want to get a roboduino board but I see here a lot of people are using picaxe. 

The advantages of something like the roboduino is that the board is pretty self contained and wouldn't need a seperate board to drive the servos...

Any suggestions as to what type of micro-controller might be best to start with?

Suggestions on choosing motor


Im considering on buying the following motor for my project.


Quick specs : 12V, 150 RPM, 195 oz-in torque, 67:1 ratio

Roams around right now, also can find his way out of a maze of obstacles pretty well.
Using a
I have been a stalker here for about a year, absorbing all the great ideas, information and inspiration that i can get my hands on.  I have learned a lot, and am … Read more
Updated with a 2nd video! Code is now uptodate and can be found at: code.google.com/protobot. Read more
                  Playing with movements and poses.                         Testing movements and different servo speeds.       Read more

Future Robotics Engineers

Check it out everyone. We had our first Arduino class. I was excited to see how many parent & child participants showed up. We were expecting 12 total but had double that!

Here are some photos.



DC motor control with Arduino

Ok, so i had this running just a few days ago, but then when i tried to assamble it didnt work out for me. Now I cant even get this simple DC motor running from the arduino, or to be more precise; the motor will run at a very low speed. Connecting it directly to my two 1.5 batteries it will run at full speed, but when trying to control it from the Arduino it wont work for me.

 Here is my setup:


and the code is dead simple: 

Update July 1, 2009 As Rik pointed out, some more details would be helpful. Firstly, more pictures can be found at … Read more

My New Robot Ideas

     Hi all, I have been mostly a silent observer (http://letsmakerobots.com/node/3817 is the exception). Anyways, a few days ago after talking to a CIA tech genius about robotics and the field of electronics I was inspired to build something again. I dont want it to be a small little bot that once the novelty wares off is imediatly sent to a shelf. I want it to be something slightly usefull, fun, and constantly runing. I have two cats and it would be excellent if this robot was like another pet.

LV-MaxSonar Sensor Questions


This is my first post here at LMR. I decided to write out a question in the format of a blog. Since I've had some trouble getting my head around this issue and I found limited resources regarding this special device on the Internet. Creating a blog post might help other people with similar questions as me. 

How do you get your bot to choose the right direction?

I have been trying everything to figure away to get my robot to choose the direction that have the greater distance.  I can't seem to figure out whats wrong.  I tried to figure something out.  One time I wrote it different and it would wait till it got to the last case and turn right no matter what. This is my code. 

sits in one spot and does nothing for the moment
Using a
Basically this tank was gutted and is being rebuilt with sensors and a new brain. I've posted info on this tank and how cheap it was to aquire, so now this is going … Read more
Simple object detection & avoidance. Testbed for tracked locomotion
Using a
July 24, 2009 Update: Upgraded to use the new Pololu chassis plates.   This is my second bot.  This one uses a RP5 tracked chassis that I bought from Pololu.  It … Read more
Using the Wii Remote IR camera directly with an Arduino
Using a
The Wii Remote became a very intersting tool for hacking and other uses where it not has been mentioned for. After the first hacks appears in the internet a lot of … Read more

Powering Arduino and servos/motors with one supply

Helo, all

I tried to power Arduino (Duemilianove) and servos/motors it controlled with the same battery, but Arduino continuously restarted during the operation. Actually it was a surprise for me, since Arduino already has voltage regulator chip and filtering capacitors in the input circuits...

I solve this problem by supplying them with different batteries, but I don't like this solution. Could anyone help - how to provide single power supply?