top of page

Parallel Parking Robot

During my first-year Digital Computation course, three group members and I coded a lego EV3 robot using RobotC to scan for an open parking spot and perform a parallel park. 

Feature 2

The robot uses its ultrasonic sensor to detect when there is a car beside it. It then calculates the distance between the first car and the second car (if there is one). Our robot will automatically calculate whether the parking spot it found is wide enough for it to fit. If it is not wide enough it will continue its search. 

Feature 1

The robot waits until a green key is detected in the color sensor before it starts driving. 

Screen Shot 2021-12-27 at 11.24.42 PM.png

Feature 3

To ensure our robot did not continue for its search of an open spot forever, we allow 30 seconds to search, or else it will automatically turn off. 

Screen Shot 2021-12-27 at 11.55.35 PM.png
Screen Shot 2021-12-27 at 11.55.35 PM.png

Feature 4

In the case that our robot has found up to three parking spots but they are all too short, the robot will automatically turn off.

Feature 5

Once the robot has reversed into its spot, it uses its rear ultrasonic sensor to detect whether it is too close to the car behind it. If it is within close range, it will correct itself by driving forward. 

IMG_6688_edited.jpg

Feature 6

If the robot finds a spot to park, it will raise its "successful parking" banner once it's done. 

bottom of page