Double post. Bad internet connection...
Double post. Bad internet connection...
Current usage isn't really a problem for me so I'm happy to use optos. They will be in a V2 of the PCB for next year though.
The existing PCB is running with a few minor modifications and debouce code and so far I've not had a single problem.
Thanks everyone for your help. This thread will be invaluable when I'm designing V2 and other similar PCBs. I'll also be paying more attention to noise from now on.
Good stuff. I'm in the planning stages on a residential alarm system and long runs of wire are a fact of life.
I'm using 4 strand telephone twisted pairs, don't remember if shielded. But I'll be sure to keep an eye on interference.
Robert
I have a nagging doubt that you are seeing a R-M-W port problem. A schematic diagram will help clarify the scene for me.
Robert, An alarm system hey, When I worked for Westinghouse alarm company about 40 years ago we would use from 15 to 20 Ma. for our contact wetting current in loops. When using switches, you can't rely on anything less to break the oxidization of NO contacts. The system I designed for my home uses a cunstant current source for the NC loop as well as current source's the all NO switches inseries with the LED's powered by 12 volts. I have never had a problem with it. Using constant current allows for some loop resistance variation over time as switches and wiring connections age. No false alarms...... Also you DON'T have to worry about shielding the wiring due to electrical noise.
Dave Purola,
N8NTA
EN82fn
So you just have a resistor and LED on every line amd that's it?
That could help diagnostics in case the keypad/display circuit acts up.
Robert
Robert, I don't know what you mean by a resistor and led on each line. I am talking about all of the sensor loops, and individual sensors coming into the control board from some distance away. Having an additional led in series with each of the curcuits would also be an ideal way to visually diagnose the system externals though. What I was talking about was using something like a constant current diode or what I used is a LM317 in a TO-92 package and a resistor configured as a current regurator of 20 Ma. in each of the source circuits for the individual sensor circuits and the loop circuits. They were all powered by the 12 volt power supply.
Dave Purola,
N8NTA
EN82fn
Bookmarks