Ethan L. | BlueStamp Engineering

Ethan L.

Obstacle Avoiding Robot

The Obstacle Avoiding Robot utilizes an Arduino microcontroller. It also uses an ultrasonic sensor to detect its distance from the closest object in front of it and control the robot’s motors accordingly.
Engineer School Area of Interest Grade
Ethan L.
Gunn High School
Mechanical Engineering
Rising Junior

FINAL MILESTONE

My final milestone consisted of mostly coding in which I made the two DC motors respond to the outputs of the HC-SR04 ultrasonic sensor. If the closest object is within 6 inches of the robot, the robot turns right; Otherwise it continues moving forward. I once again ran into problems of the ultrasonic sensor’s outputs not displaying properly and motors not spinning correctly, but I eventually fixed those problems. This was definitely the most difficult part of the whole project– not doing things the wrong way, but figuring out what I did wrong and how I should approach the solution to it. Some potential modifications I wish to include in my free time would be adding sensors on either side of the robot so it is able to determine which side to turn rather than always turning right as well as adding visual features like lights or cleaner wiring. Throughout this program, I was able to work with many things that I hadn’t worked with before like the Arduino and electrical engineering. This program has really been a memorable experience because it helped me explore some different fields of engineering that I wouldn’t have experienced otherwise. I was also able to work, with the help of a mentor, on a project that interested me because of the variety of concepts and skills it touched.

SECOND MILESTONE

For my second milestone, I mainly experimented with the HC-SR04 ultrasonic sensor. The sensor allowed my robot to detect its distance from the closest object in front of it. Throughout this week, I ran into many problems with my code not properly uploading and my wiring for motors not working no matter how many times I rewired it. This caused problems like short circuiting and my batteries heating up a lot. Even though this set my progress back a bit, I learned that often, patience is necessary and as long as you persevere and power through something, you will eventually succeed.

FIRST MILESTONE

My First Milestone for the Obstacle Avoiding Robot was to make both the DC motors respond to a potentiometer and a push button. To make this work, I built the robot’s chassis, attaching the 2 DC motors, wheels, and a battery pack to the acrylic. I also attached an Arduino Uno microcontroller and L298N Motor Driver to control the motors. Using a breadboard, I was able to connect the push button and potentiometer to the rest of the robot, controlling the speed and direction of the motors.

Stay Connected to BlueStamp