Go Down

Topic: Code for new official Arduino Robot using a PING))) (Read 1 time) previous topic - next topic



This is an "update" to the "Runaway Robot" program I previously modified to use a Sharp IR Rangefinder.

Now I am using a Parallax PING))) and have incorporated some other mods (several were from learning more about programming the Arduino).

Set the (control board) pot for a detection range of a foot or so and this bot can maneuver in a closed space for quite some time without "getting stuck".
(From the outside, it really looks to onlookers like it is happily "exploring" its environment.)

(Again, I have added the code as a pure Arduino .ino file as it is a fairly large file.)

I would GREATLY appreciate it if someone could help me figure out how to get motor current information back to the control board. "IRread" doesn't get there...

Go Up