👉 Obstacle Avoiding Robot using Arduino (WIP)September 19, 2019
This was my first attempt to start a more complex Arduino project and I chose an Obstacle Avoiding Robot
When I started with Arduino I started with some very simple projects like blinking LEDs our coding a semaforo🚦. These projects were very fun but this time I wanted to start everything from scratch..from choosing the idea to getting around electronics shops until I found the right pieces I needed and wanted for my robot.
But..what is an Obstacle Avoiding Robot?
An Obstacle Avoiding Robot is an intelligent device that can automatically sense the obstacles in front of it and avoid them by turning itself in another direction. It sounds so fancy but we could sum it up..it's like a Roomba
How does it work?
Well, the robot has two servo motors that will drive the robot around powered by a 9V battery. As far as the "Avoiding" feature..we will use an Ultrasonic Sensor which will determine if the robot should stop and reroute.
What is a ultrasonic sensor?
An Ultrasonic sensor works by emitting sound waves at a frequency too high for humans to hear. The sensor will emit this sound and then wait for the sound to be reflected back, calculating distance based on the time required. Based on this distance we can determine if the robot should stop and change direction.
Here is how I build it...🛠
Here you will find all the materials you need for this project:
- Arduino Uno
- 9V battery
- Two servo motor
- A "car" chassis: I recommend one made out of acrylic you will find they are very common and are even sold as a kit with the chassis and the wheels needed
- Ultrasonic sensor
- Optional: another servo motor to make the ultrasonic sensor rotate
- LM298N Motor Driver Module to control the two wheels
- Some jumper cables
- Soldering iron in case you want to fix the cables to the motors