06 January 2013

Portal sentry turret

Cristina and I put a motion sensor on an Arduino and made a Portal sentry turret:

We bought a motion sensor and Arduino ethernet shield at RadioShack, with no particular goal in mind, and wanted to figure out a way to combine them.

The Arduino is acting as a mini web server, and it serves a single page that refreshes itself every 2 seconds. If the motion sensor has recently started (or stopped) detecting motion, it will embed an appropriate sound clip in the page.

For the next version, it'd be simpler to hook a speaker up to the Arduino directly, and cut out the web server ... but for today, the whole point was find a use for the ethernet shield.

[ Code ]


Anonymous said...

Skybet Casino | A Member of The Malta Gaming Authority
Skybet Casino offers a unique top air jordan 18 stockx gaming experience and the air jordan 18 retro order potential for air jordan 18 retro yellow suede free shipping a long-term profit. Sign up for our 김해 휴게텔 new sportsbook offer and receive a how to buy air jordan 18 retro yellow welcome

Post a Comment