32 I2C Relay
-
Hi all.
I make small project to controll 32 relay by I2C expander PCF8574 .
In my project are V_LIGHT for relay control and V_TEMP to define if want save relay state to eeprom memory or not .
if S_TEMP is 0 then after reset, all relay are close and clear eeprom memory for relay state , if S_TEMP is 1 then relay state are read from memory .. and save state to memory if change state of relay .V_LIGHT not define if relay is open or close .. only change state from 1 to 0 , and 0 to 1 .
It's to control light in my house ..
0_1461943989896_RelayI2C.zipPS: tested in Arduino Nano (china clone CH340 with micro USB ) , nrf24L01+ (PCB antenna) with 1x PFC8574
PPS: Node ID is manualy set to 58 if need change to AUTOregards.
1 out of 1
Suggested Topics
-
💬 NModule
OpenHardware.io • 23 May 2017, 14:38 • openhardware.io 10 May 2020, 05:43 -
💬 RFM69 2 relay board
OpenHardware.io • 24 Jan 2017, 13:18 • openhardware.io 28 Jan 2018, 12:49 -
💬 MySI2CNode - Node for I2C devices, CR123 or USB powered
OpenHardware.io • 9 Dec 2016, 05:56 • openhardware.io 16 Jan 2017, 17:50 -
💬 MySGrowLED - MySensors control for Grow Lights or Greenhouse
OpenHardware.io • 9 May 2016, 06:03 • openhardware.io 27 Jul 2017, 20:51 -
💬 UtiliPi
OpenHardware.io • 27 Aug 2018, 08:27 • openhardware.io 27 Aug 2018, 08:27 -
💬 Wireless Touch Switch: Relay Model - (For Livolo crystals)
OpenHardware.io • 15 Jan 2018, 20:45 • openhardware.io 7 Jul 2018, 18:32 -
💬 24V Relay drive board
OpenHardware.io • 5 Jun 2019, 19:24 • openhardware.io 5 Jun 2019, 19:24 -
MQTT unsure of relay state
Troubleshooting • 16 Jul 2016, 13:23 • Samuel235 16 Jul 2016, 13:23