I’m thinking about a simple project for the BBB, and have a couple questions about it. I have an idea how I want to solve the problem below, but if there’s a simpler way to proceed, advice on that would be appreciated.
I’m a software guy with not much knowledge about hardware other than playing with 555 chips on a breadboard.
The current setup consists of networked BBB in my computer room. I’d like to detect when the deep freezer one floor down in the basement is opened and closed. (Detecting temperature would be a later project.)
I have a deceased Dell 1710n printer, which has a door-open switch that I can pull out and rig onto the freezer to open and close along with the freezer door. I can run a pair of wires from that to the BBB, which could then detect when the freezer is opened and closed. Will the switch generate spikes that hit the BBB? What’s a good way to protect against that? Perhaps the Dell includes circuitry that addresses that very issue so the switch doesn’t fry the printer, and that circuitry could be pulled along with the switch.