I’m trying to use a smoke detector to activate and turn 2 stepper motors. How would I go about setting something like this up? (See below for details)
I have a traditional 9V powered ceiling (2 of them actually) smoke detector that I would to connect to an Arduino Mini Pro (3.3V, ATMega 328, 8Mhz). I want to know how to connect this to the arduino (Mainly as a digital but analog is fine as well). I want to be able to detect when the alarm is going off (I don’t really need to know when it turns off because I’d reset the arduino by hand). I was considering hooking the arduino up to the speaker of the alarm (because the speaker outputs 3.3v) to send a digital value over to the arduino.
My questions are: How to set this up (schematic wise, or wiring wise :P)? How I would program it. (Like setting a pin to INPUT and then reading the value every so often) and anything else you can think of to help me would be awesome. Also, if something is a bit confusing, just ask and I’ll elaborate.