Thingiverse
UltrasonicHatSensor
by RobertPKozak
0
Downloads
3
Likes
0
Makes
This is an idea i have for a clip on to your baseball cap hat sensor that measures distance and displays a proximity in lights by leds infront, of how close you are to objects.
I would post the code i used by messed it up. And can not get my code working right now. :(.
It was fun to program and i had it working at some point, (the green lights lit up in the middle when you stand a certain distance away from the sensor and turn red when you are too close or too far from sensor).
Have fun programming it. I enjoyed learning how to control the leds with an 'if' statement based on ultrasonic reading.
I would post the code i used by messed it up. And can not get my code working right now. :(.
It was fun to program and i had it working at some point, (the green lights lit up in the middle when you stand a certain distance away from the sensor and turn red when you are too close or too far from sensor).
Have fun programming it. I enjoyed learning how to control the leds with an 'if' statement based on ultrasonic reading.
Did you print this model? Sign in and share your make!
Sign in to leave a comment
Sign inNo comments yet – be the first!