Using an ultra sonic ranger and two LEDs in series, I created an anxious device that is alarmed when something or someone gets too close. The values read from the ultrasonic ranger is remapped to the appropriate ramp period range (100- 1000) so that when the proximity gets shorter the blinking becomes more rapid.
Leave a Reply
You must be logged in to post a comment.