it works indoor or outdoor.
Step 1: Ultrasound Sensor SFR05
The movement of the car is made independently and randomly, so the car can move in the same location with multiple paths all different.
The ultrasonic sensor can send a pulse of short duration (10μS) through pin sender, the receiver is waiting for the echo reading, a pulse width proportional to the distance where the object is.
Therefore, the distance is obtained and calculated by the microcontroller.
Step 2: Touch Sensor
The detection of objects is also achieved through the pairs of switches (front of the car) and buttons (back of the car), and in this way, obstacles sizes smaller than, or very thin, our vehicle are detected.
Step 3: Continuous Servos
HSR-1425CR are recommend for projects for mobile robots, this includes an adjustable potentiometer to center the servo and can be controlled directly by the microcontroller by sending impulses through different if you want to run or stop the engine.
Step 5: More Information