Relay P4
4x 10A Relays
- Overview
- Driver
- Tethered Samples
- Standalone Samples
Control high current loads using these 4x mechanical relays. Each relay is capable of driving up to 1A at 250V. The relays are powered from a required 5V barrel-jack power source.
Key features • 10A at 250V | Resources PID: 0x020005 |
Driver Scripts go hand-in-hand with DUELink official firmware. See the Driver Scripts page for further details.
| Function | Description |
|---|---|
Set(i, v) | Set a relay at i index to v value (1 on, 0 off). |
DVer() | This driver version. |
The Code!
loading...
These Tethered samples assume the driver is installed, see the Driver Tab.
- Python
- MicroPython
- JavaScript
- .NET
- Arduino
- MicroBlocks
loading...
loading...
loading...
loading...
loading...
This sample project runs on a MicroBlocks-enabled device that is tethered to this module. Note that this tethered module needs to have the official DUELink firmware and its module driver. See MicroBlocks page to learn more.
Click the button below to open, edit, and run the project directly on MicroBlocks' website.
These samples show how to run DUELink Standalone.
- Script
- Arduino
This example runs using the default DUELink Internal Engine using its Scripting Language, and it expects the driver to be loaded first, see the Driver Tab.
loading...
See Arduino page for more info.
loading...
Ordering Info
| Product | Part Number | Price |
|---|---|---|
| DUELink Relay P4 | GDL-ACRELAYP4-C | $19.95 |