-
Notifications
You must be signed in to change notification settings - Fork 0
Relay Hats
dgitz edited this page Jun 3, 2021
·
8 revisions
Currently Supported Relay Hats:
- RPi Relay Hat: Source1
"RelayHat1": {
"Parent": "BuildServer1",
"Type": "RelayHat",
"Model": "RPi Relay Hat",
"Capability": "GPIO",
"UseDefaultConfig": true,
"Ports": [{
"Name": "Port0",
"Type": "DIGITAL",
"Direction": "OUTPUT",
"Channels": [{
"ChannelName": "26",
"Type": "DIGITAL",
"Direction": "OUTPUT",
"PinNumber": 0,
"DefaultValue": 0,
"MinValue": 0,
"MaxValue": 1
},{
"ChannelName": "20",
"Type": "DIGITAL",
"Direction": "OUTPUT",
"PinNumber": 1,
"DefaultValue": 0,
"MinValue": 0,
"MaxValue": 1
},{
"ChannelName": "21",
"Type": "DIGITAL",
"Direction": "OUTPUT",
"PinNumber": 2,
"DefaultValue": 0,
"MinValue": 0,
"MaxValue": 1
}
]
}]- You need fix your permissions on the user account.
- Make sure you have the right groups on your account:
dialout gpio - Do:
sudo useradd -g robot gpioand log out/log in
- Support non-standard configuration: configurable default values