done.JPG
A friend of mine who own a shoes store, since he had some missing articles,   asked me a way to monitor the door of the stock.
He just want a cheap system, connected to a pc, which will be able to send emails alarm when the stock door will be open during the days-off.

I decided to hack a old usb mouse and use the existing reed switch as click emulator.

A piece of python on a linux box will detect the mouse click as a open/close door alarm, and send a email.
 
Remove these adsRemove these ads by Signing Up

Step 1: Prerequisites

Prerequisites.JPG

You will need :

 - a old wired usb mouse
 - a linux box using Xorg/X11 (tested on Linux Mint and Ubuntu)
 - a reed switch (not on the photo) or a other mecanical switch
 - an iron solder
 - terminal blocks
 - some cables
Sermos says: Jan 28, 2012. 10:54 PM
That's pretty awesome!
Computothought says: Jan 29, 2012. 11:09 AM
Cool... If you used a keyboard you could monitor the whole building.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!