Here’s the source code for the Arduino + PING))) + 7-Segment Shield ultrasonic distance sensor project I build for this video. It is the progenitor of my Arduino Nerf sentry gun code, which I’ll be posting soon. Warning: my code gets the job done, but isn’t elegant.
 
Distance Ping Alarm source

In the Maker Shed
makershedsmall Ultrasonic Arduino tape measure source code

pingutmb Ultrasonic Arduino tape measure source code

PING))) sensor

sevenutmb Ultrasonic Arduino tape measure source code

7-Segment Shield

John Edgar Park

John Edgar Park likes to make things and tell people about it. He works in CG animation at DisneyToon Studios and writes for Make, Boing Boing, and other places online and in print. You can find him at jpixl.net and twitter @johnedgarpark — if you like that sort of thing.


Related
blog comments powered by Disqus

Related Supplies at Maker Shed

Follow

Get every new post delivered to your Inbox.

Join 28,384 other followers