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