Using NeoPixels and an Ultrasonic Sensor as a parking aid
Parking sensor using a neopixel led ring and distance sensor (HC-SR04). Configure the digital pins used for distance sensor and neopixels at the beginning of the code.
Advice! In general to feed leds and distance sensor serparatly from your Arduino. My Nano did survive the test - does not use too much juice... You can also adjust intesity of the LEDs to reduce the power requirements.
Version 1.0 - Created by Henrik Ekblad (https://github.com/mysensors/MySensorsArduinoExamples/blob/master/examples/ParkingSensor/ParkingSensor.ino)
Version 1.1 - Modified by Marc Stähli (different display for approaching, code cleanup)
Find here the files to print it on your 3D printer: https://www.thingiverse.com/thing:4026559