RoverBot
| Attachment | Size |
|---|---|
| Rover.cpp | 5.51 KB |
This is my Roverbot. He is a very simple robot, all he does is basically what the "Start Here" robot does, but with a casca tankbot chassis, an arduino, and a custom motor/servo driver board.
There is also 1 tiny innovation in his code, I made a very small circular buffer to record his last 10 decisions, which I use to prevent him from oscillating back and forth when he drives into a narrow dead end (he will instead just turn around ~180).
Also, I built his gearbox with the really high ratio so he is super slow, so I might rebuild it with the lower ratio to make him faster.
Code is attached for your downloading pleasure...
Update - 12/18/2008
Roverbot had his gearbox rebuilt with the lower ratio, so he is faster now, but I need to update his timing constant in the code to make him not run into stuff as much. Also, I have had some breakage issues with his chassis, the acrylic is very brittle, I wish it were lexan instead, that stuff is nearly unbreakable. Will post a new vid soon-ish once I update his code...




@ Mon, 2009-08-10 05:46
When i was at engineering
@ Sun, 2009-08-09 08:29
you should really consider
@ Wed, 2009-03-04 09:34
don't matter, i got the
don't matter, i got the general idea from your work, and mated it with my ada fruit motor shield...
now to figureout why one side will go in reverse but the other will not.
maybei built it badly or something. :)
@ Wed, 2009-03-04 04:38
I am trying to figure out
I am trying to figure out your code, i am very new at this, but when i put it into the ide i get an error:
error:redefinition of 'long insigned int echo' in fuction 'void setup()': in function "void loop()":
any ideas?
@ Mon, 2009-01-19 05:42
Diagram
@ Mon, 2008-12-29 07:07
I'm new to this
@ Wed, 2008-12-31 08:24
need the servotimer lib for arduino
the servotimer library for arduino does not come with the stock arduino software. You have to install it. you can fgind it here:
http://www.arduino.cc/playground/ComponentLib/Servotimer1
:-)
@ Mon, 2008-12-29 15:57
is ServoTimere1.h
@ Tue, 2008-11-25 04:39
what motor driver are you using ?
@ Fri, 2008-12-19 16:11
My motor driver for this bot
My motor driver for this bot is a custom board I made using an SN754410, which is an L293-compatible chip. In this case the motor driver board also acts as a power bus for my 5v-based accessories, such as my servo and PING sensor.
:-)