hooking up a 5v PIR sensor to a 9v digital voice recorder.
I have the Parallax 5v PIR sensor and·I would like to hook it up to a 9v 20 second digital voice recorder.·I removed the play button on the DVR and want to hook up the sensor.· The sensor has 3 outputs: 1. neg (black wire) 2. pos (red wire), and 3. output (white wire).·
The DVR has only 2 wires.·How do I·wire this so the PIR sensor is the on/off switch?
Do I need a volt resister from·9v to 5v?
Any help would be greatly appreciated!
Thanks,· "E".·
The DVR has only 2 wires.·How do I·wire this so the PIR sensor is the on/off switch?
Do I need a volt resister from·9v to 5v?
Any help would be greatly appreciated!
Thanks,· "E".·
Comments
Firstly, there is the jump from a 5volt output to a 9volt circuit under control. One could use a relay, an optoisolator, or a simple transistor [noparse][[/noparse]like a 2n2222]. I suspect that the optoisolator would be a good choice, but each of them might work well.
Using a resistor alone·is definitely not going to work for you.· Some thought of how to protect the BasicStamp from the 9v is necessary.
Secondly, since the PIR sensor is· somewhat 'unintelligent', it will just keep outputting changes in status - more information than you can use. This device doesn't reallly latch on to one level, does it? If that is the·case, you need a BasicStamp or some other intelligent device to sort out when and how the PIR data is used to control the voice recorder. One obvious idea would be to have it turn on the record at trigger and then wait 20 seconds before it would turn off.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Everything in the world is purchased by labour; and our passions are the only causes of labor." -- David·Hume (1711-76)········
Post Edited (Kramer) : 9/17/2007 4:21:30 PM GMT