Let's Make Robots!

my first robot

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I made such robot. And i use this code. But robot goes forward and back.

I correctly connected details?

2mdo4np.jpg 

 

patrickmccabe's picture
looks correctly wired to me. You might want to debug the sensor and see its values. I cant assure you that my code will work for you but you should be able to write your own code that works the same as mine does. I do not use picaxeany longer , instead i use arduino, and so i can not help you too much with the code. But like i said, you should try and write your own, thats what i did and it was my first robot ever.
samdaman's picture
Where did you get the tracks? I'm looking for a good pair.
so, how to make an external board for motor control?
patrickmccabe, you used PICAXE-18 High Power Project Board. And if to use PICAXE-18 Standard Project Board that motors to connect to project board also?
ignoblegnome's picture

Take a look at the datasheet for the standard project board.

Page 1 explains the difference.

"The standard board uses a darlington driver IC to provide 8 digital (on/off) outputs. Each output is rated at 800mA."

"The high power board uses 4 FETs to provide 4 high power digital outputs (rated at 1.5A each), and the option of a L293D motor driver IC to provide 2 reversible motor outputs, rated at 1A each."

If you have the standard board, you have less power per output. You also lack the option for a built-in motor driver chip. So you could build or buy an external board for motor control. Or you could go with servos modified for continuous rotation, which can be driven from a single output pin. You can drive these from the V2 supply up to 6V, though I imagine you are still limited to 800mA each. If you need more power, you could use the outputs to drive relays, which could switch higher power for you.

Good luck! 

patrickmccabe's picture
yup. This being my first robot i built, i did not know how to wire up the l293d motor driver (now the circuit is glued in my head). So i used this board simply because it had the built in motor driver.
superkidgeorge's picture
i mean if you move it with a remote control....
patrickmccabe's picture
no it does not have a remote control
superkidgeorge's picture
ok thanks
Aniss1001's picture

You stole my alias! Or perhaps a kindred spirit?!

Regards

Bender unit Aniss1001 :)

I like the way it looks around to decide which way to go, but doesn't require an extra servo to do it.
patrickmccabe's picture
exactly, i was on a budget so i didnt get a servo but instead made it in the program and it worked pretty well.
patrickmccabe's picture
yup im using the first sensor. No it didnt have a switch at the time but it does now. Its a old post.
AznCaleb's picture

I think he is using the GP2Y0A21YK / GP2D12 (they are pretty similar)  http://www.sparkfun.com/commerce/product_info.php?products_id=242 & http://www.lynxmotion.com/Product.aspx?productID=260&CategoryID=8 That would be one of the most common GP2D returning an analog voltage. My other guess would be the digital version which is less commonly used.

Awesome bot btw, I noticed that there was no power switch (unless i missed it) do you have to stick the battery in every time?

I know you are using a Sharp IR Sensor.  But could you tell me the exact one.  I was on there website and there are a few to choose from.
superkidgeorge's picture
this robot you  make it where you want to go with a remote control???or it moves alone???
patrickmccabe's picture
it moves alone. It makes all of its moves based on the sensor.
Gareth's picture

Nice build and pretty fast speed i must add...

How did you get the right tension on the tracks ?.

patrickmccabe's picture
I am not too sure what you mean. It was pretty easy, i just laid it out and found how much tension i wanted before i built it.
patrickmccabe's picture

yeah, a lot of people use these gear boxes and tracks, their great and easy to use. my robot is a little loud probably because he goes fast.

 

wolfc's picture

When I first saw your robot I thought it was a picture of mine take at another angle.  then I realized it wasnt mine it just looked a lot alike.

 

The computer I'm on doesnt have sound so I cant tell if its as loud as mine. we both used the same geared motor set and tracks I think.  Mine is on the loud side.   I wish mine drove straight.  I have to correct for a slower motor using pulse width modulaton.

vince086's picture