See Changes in RED -- Radical Design ChangeThis has the caveat "almost" because I think I worked out an answer but I must admit my electronics is a little rusty and I have a few sticking points so I thought I would post what I have found here, see if someone can validate a couple of things for me, the main thing being the pin out assignments of the LM393, another are the values of "Rt and Ct" for
3 Hz. As soon as I am reasonably sure I have a viable design then I'll order the parts, bread board it, wring out any issues and repost as a MOD with full instructions on how to do including the parts list and where you can get them.
Links to my current curcuit:
http://people.delphiforums.com/wildbill47/X10/As_Built.jpgRadical design change, smoke Test this weekend...
Objective: Turn on an X-10 Camera Systems with the ability to record only when the DS-7000 is Armed. First I will tell you what this will do when it does work:1. Armed light comes on, a relay will trigger for 1/4 second and "push" the ON button of a KR19A Keychain remote.
2. Armed Light goes out, another relay will tigger for 1/4 second and push the off button on a KR19A
3. When the Armed light is flashing it will do nothing, the cam system will have already been turned on in Step 1.
Before I get to the circuit, I will say I have tested all of this out but the circuit to detect the Armed state of the DS-7000, something when I started this I thought would be easy, but it turns out that other then in the microcontroller the DS-7000 is designed around the only place there is a solid "Armed" indication electronically is the LED that lights up. This all works perfectly if I push the On/Off buttons on the KR19A manually (or with a relay).
OK -- I tore apart the DS7000 a little more an found a a better place to get the signal, right from between the microcontroller and the LED, so now I have:
LED OFF = +5VDC
LED ON = 0VDC
LED FLASHING = 3Hz Square wave, 50% duty cycle of 0V and 5VCDSo those are the three conditions I have to work with for this.
Conditions:1. When the LED comes on I need to Close a NO relay for about 1/4
second (SPST) and then the relay will need to open again and stay
open.
(0VDC)2. When the LED is Off I need to Close another NO relay for about 1/4
second (SPST) and then open again and stay that way until the LED
comes back on.
(The 5VDC will still be on)3. When the Alarm is trigered, Condition 1 will have happened, the LED
will be On and have been on since I Armed the system, but once
triggered, the same LED will start to Flash and will continue to flash
until I reset it. When this happens the relay's don't need to do
anything in fact, I don't want them to do anything, so basically this
flashing condition needs to be ignored. Condition 3 will only happen
when the systems is armed (Condition 1) and triggered.
The relay contacts will have less than 1.5 VDC at less that 10ma on
them.
Overview of what will actually be going on:1. I Arm my Alarm and the "On" relay will in essense push an ON button
on an X-10 remote control PCB. This will power on the Camera through
an X-10 Module.
2. A motion detector in the area of the camera will trigger the camera
to actually start to transmit images to an X-10 VCR Commander that will start
a SanDisk recorder to record.
3. After a set time with no motion all of this will stop. (5 minutes)
4. It must be assumed that the X-10 Alarm also get triggered during
all of this since a security motion detector is covering the same area
as the camera motion detector.
5. After a set amount of time the X-10 Security System resets, but the
"Armed" light stays blinking until I reset it, this is one way to know
the system was triggered while I was not home.
6. If the X-10 Security is triggered again before the reset, the LED
still just blinks.
(0-5 VDC)7. When I disarm the system the "Armed" LED will go out (After pressing Security Lights off.
8. The second relay (Off) will push the Off button on the remote PCB
and power down the camera system.
Here is what the block diagram is for all of the parts:http://people.delphiforums.com/wildbill47/X10/Full_System.jpgHere is a Timining Diagram for the various states and the relay actions:http://people.delphiforums.com/wildbill47/X10/Timing.jpgAny help would be appreciated....
Any Help?
This works it will now drive off of any LED in the DE-7000, flashing or not it does not care. You can trigger any On or Off or Both from an LED going on or off, that is anything that can be controlled by a Keychain Remote.
Thanks