homerjsimpson137
New Member
Hello,
We are working on a huge project and was wondering If you had any ideas on how to program the relays (just a add on 4 port relay board 10A07-1) in a Omni Pro II so we can determine direction of a car entering and exiting a driveway. The goal here is to voice announce that a vehicle is entering or exiting the property. Note that we use voice announcements for other Omni action already.
The layout is we have relay #1 that activates temporarily when a car crosses a magnetic sensor we have installed in the driveway. We also have another relay, relay #2 that activates temporarily when the driveway gate starts to open. Just for reference, the magnetic driveway sensor is about 25’ before you get to the gate (when exiting). Note that both relay #1 and relay #2 already announce their respective statements when activated. It’s just we don’t know if a vehicle is entering or exiting the property.
Sounds simple as all we need to do is voice announce a vehicle is exiting the property if the driveway sensor relay (Relay #1) activates first and the driveway gate relay (Relay #2) activates second.
Note that we would also want to program it as well to voice announce a vehicle is entering the property if the driveway gate relay (Relay #2) activates first and the driveway sensor relay (Relay #1) activates second
We have racked our brains on countless code variations and are still failing. If you have any thoughts/code could you please share.
Thanks,
Mike
We are working on a huge project and was wondering If you had any ideas on how to program the relays (just a add on 4 port relay board 10A07-1) in a Omni Pro II so we can determine direction of a car entering and exiting a driveway. The goal here is to voice announce that a vehicle is entering or exiting the property. Note that we use voice announcements for other Omni action already.
The layout is we have relay #1 that activates temporarily when a car crosses a magnetic sensor we have installed in the driveway. We also have another relay, relay #2 that activates temporarily when the driveway gate starts to open. Just for reference, the magnetic driveway sensor is about 25’ before you get to the gate (when exiting). Note that both relay #1 and relay #2 already announce their respective statements when activated. It’s just we don’t know if a vehicle is entering or exiting the property.
Sounds simple as all we need to do is voice announce a vehicle is exiting the property if the driveway sensor relay (Relay #1) activates first and the driveway gate relay (Relay #2) activates second.
Note that we would also want to program it as well to voice announce a vehicle is entering the property if the driveway gate relay (Relay #2) activates first and the driveway sensor relay (Relay #1) activates second
We have racked our brains on countless code variations and are still failing. If you have any thoughts/code could you please share.
Thanks,
Mike