I have a driveway sensor receiver that lights an LED and plays a chime when a vehicle is detected. I need to trigger a relay on an arduino when this happens. I'm ok with detecting voltage and driving the relay on the arduino, but I'm having a tough time figuring out where/what to 'tap' into on the receiver.
In the first pic, the green LED is lit indicating that the chime has played through the piezo speaker. That's the condition I'm after. I'm just not sure where/what to plug into the arduino for detection.
It seems that R13 goes to the green LED.
The IC side of R13 will have some logic level (5volt or 12volt).
Measure that voltage in respect to ground (lots of ground vias there) when the green LED is on or off.
You could connect that IC pin through a 10k series resistor to an Arduino digital pin.
Don't forget to join grounds.
If you can't join grounds, you will have to use an opto.
The opto LED can be driven, with a 1k current limiting resistor, from that same IC pin and ground.
Leo..
The LED will have ~1.8volt across. The IC pin (equally big) will have 5volt (or 12volt) on it.
1.8volt might not be enough to switch an Arduino pin directly.
It will be enough to power the ~1.2volt IR LED of an opto through a ~100-220ohm resistor.
Leo..
Wawa:
The LED will have ~1.8volt across. The IC pin (equally big) will have 5volt (or 12volt) on it.
1.8volt might not be enough to switch an Arduino pin directly.
It will be enough to power the ~1.2volt IR LED of an opto through a ~100-220ohm resistor.
Leo..
Or drive the base of a transistor to earth the Arduino pin as suggested earlier.