Arduino Vehicle Project


 

 

 

Arduino-Bot: Video

 

Challenge: Build a robotic vehicle that can follow a wall at a fixed distance.

               

                    Add lights and buzzers that indicate if it is turning left, right, or going straight.

 

                    Add a servo motor that enables robot to scan left and right, and find its way

                    through a maze- see Explorer Bot

 

                    Example

 

Example Code


Controlling Motors with an H-Bridge:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

May 17th- Algorithms - Prof. Javed Aslam

 

Creating Functions (useful for organizing code) 

 

Adjusting Output Speed with Pulse-width Modulation(PWM)

 

  analogWrite(pin,  value 0-255);

 

 

Sensors: 

Challenge 5: Control Tone with  Light Sensor

 


Challenge 6: Using Ultrasound

 

 

Challenge 7: Using Motors

 

 

 

 

Kenz's PID-Controlled Explorer-Bot