Go Down

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

OldBillF

Hello!

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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy