So here is the robot using the new Roboduino. Plug and play!
- uses 2 continuous rotation servos connected to PWM pins, but PWM not used at the moment in the code
- uses a Ping)) ultrasonic sensor to measure the distance to the surface, connected to a digital pin
- uses a potentiometer to adjust the perfect balance point, connected to an analog pin
- uses a serial LCD to display distance to surface and calculated PID value, connected to Tx pin
Check my blog for more info (see signature).
I'll put the video first, then the pictures: