Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 1.44 KB

README.md

File metadata and controls

12 lines (7 loc) · 1.44 KB

🎾 Tennis Ball

An Arduino sketch to help with parking in the garage.

Are you concerned you might pull too far forward when pulling into the garage, potentially causing damage to your home or vehicle? Are you running short on tennis balls but have a spare Arduino laying around? Well if that's the case this repo might be for you! This Arduino device / sketch provides a digital alternative to the old tennis-ball-on-a-string-hanging-from-the-ceiling.

This Arduino sketch is a simple mashup of the default Ping and LED examples. The device consists of an Arduino, a sonar distance sensor, a push button and an array of LEDs/resistors. When everything has been wired up correctly, a push button is used to set the optimal distance from the device (mounted on your garage wall). This sets the point at which the red LED will light up. From there, a LED will unlight for every foot you back up. When you pull in to your garage you should get a nice visual representation of how close your car's front end is to the garage wall.

Screenshot 2022-12-05 at 10 43 48 PM

IMG_0996

I'd love to clean this up with a 3D-printed case, but so far so good. It has been working like a charm for 6+ months and I'm yet to run into the wall!