If you find the switch box useful, it is possible to buy it here: link to buy
|A6||Connected to Battery voltage sensor (via divider)|
|A3||Connected to ATSHA204A|
|D4, D8, A0||Connected to momentary switch buttons|
|Interrupt 1||Occurs when either button is pressed|
|D5, D6, D7||Connected to LED's|
Arduino IDE Settings
programming FTDI adapter connection
3.3V power option should be used.
Easy sensors API sketches. Can use both LoRa RFM95 and RFM69 radios EasySwitchBoxMySensors.ino - the switchBox Sketch GatewaySerialMySensors.ino - the receiver serial Gateway Sketch
Moteino API sketches. RFM69 radio used Moteino.ino - the switchBox Sketch MoteinoGW.ino the receiver Sketch
RadioHead API sketches. LoRaRFM95 radio used
rf95_reliable_datagram_server.ino the receiver Sketch RHswitchBox.ino - the switchBox Sketch
Design files link. https://circuitmaker.com/Projects/Details/Yury-Sviryda/EasySwitchBox
EasySwitchBoxMySensors.ino is the Arduino example sketch using MySensors API.
Burn the sketch into and the switchBox will became one of the MySensors home automation network Node. To create the network you need controller and at least two Nodes one as a Sensor, relay or switch Node and the other one as “Gateway Serial”. I personally love Domoticz as conroller. Please check this HowTo to install Domoticz.
The board is created by Koresh