The GPIO output on the 3dEYE Gateway can supply a maximum of 3.3V and 50 mA. Because this output is not sufficient to directly power or switch higher‑voltage or higher‑current devices, a relay module must be used as an intermediary.
Any relay that can be triggered by a 3.3V / 50 mA control signal is compatible. A common example is the 5V 1‑Channel Relay Module Board frequently used in Arduino projects.
Relay Connection Overview
Principal wiring diagram:
The above example works with the following or similar relays:
Required Connections Between the Gateway and Relay
5V Output (Gateway) → VCC (Relay) Supplies power to the relay module.
GND (Gateway) → GND (Relay) Provides a common ground reference.
-
Programmable GPIO Pin (Gateway) → IN (Relay) Sends the control signal that activates the relay.
Depending on the relay design, a diode and/or resistor may be required between the GPIO pin and the relay’s IN pin to protect the gateway and ensure proper triggering.
To identify which GPIO pins are programmable and how to activate them using webhooks, please refer to this article↗️.
Connecting the High‑Power Load
After wiring the relay to the Gateway:
Connect the device you want to control to the relay’s COM terminal and either NC (normally closed) or NO (normally open), depending on the desired switching behavior.
This allows the relay to safely switch high‑current or high‑voltage loads while the Gateway handles only the low‑power control signal.