Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×

Submission + - How can I capture a switch event on a USB port? 4

wilderbeest writes: My 90-year old neighbour is very much into clocks, and maintains our local church clock here in North Woochester, UK. As it's quite a way up the spire and he isn't getting any younger, he would like to monitor the accuracy of the clockwork using his computer from home.

I've come up with the following solution: An Alix 2d3 with a Huawei E220 3G modem attached to it, and Zeroshell installed on the Alix. That all works well, Zeroshell connects to my VPN and I can place the thing in the church spire as they have electricity up there. We also installed a micro switch on a part of the clock that rotates once every 5 minutes, and we get a switch on / off from that micro switch.

Now comes the hard part: I need some sort of component that I can plug into the USB port of my Alix 2d3 and connect it to the micro switch so can capture the event, timestamp it and write it to a remote database.

Any ideas? Can I use something like a USB mouse and mod it?

Slashdot Top Deals

Too much of everything is just enough. -- Bob Wier