G62 LoRaWAN® Digital Output Functionality
The green wire on the G62 LoRaWAN harness is a digital output, of a switched to ground type.
The output has 2 states:
- Disabled - The output is of high impedance (no connection)
- Enabled - The output is connected to ground (black wire on the harness)
A common use would be to control a relay, which could in turn be used to control a higher power (or isolated) device. To wire in a relay, the positive side of the coil should be connected to a permanent power supply (usually 12 or 24V ; dependent on the relay), and the negative side should be connected to the digital output (green wire on the harness). When the output is enabled, the negative side of the coil is connected to ground, turning on the coil, and energizing the relay. When the output is disabled, the negative side of the coil is disconnected, and the relay turns off. If the relay does not have negative/positive coil connections, the 2 coil connections can be used interchangeably.
The state of the G62 LoRaWANs digital output can be changed through the use of a LoRaWAN downlink message. Please refer to the Integration Specification regarding the usage of downlink message. Below is a copy of the relevant section, but please refer to the latest version of the specification. Bit 7 of byte 0 controls the output; True = output enabled (relay turned on in the above example), false = output disabled (relay turned off).
Notes:
- On the first power up, the outputs default state is disabled. After any changes, the state will be stored, and be returned on power up.
- There is no Driver ID input on the G62 LoRaWAN (compared to the G62 Cellular).
- Remember that most automotive relays draw significant current when energized and may flatten a vehicle battery over a period. Keep this in mind if the output will be on for long periods of time.