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
-
Sensor reading incorrect data from the controller
Bug Reports • 27 Feb 2016, 10:07 • Brian Fernando 27 Feb 2016, 10:07 -
Welcome
Announcements • 23 Mar 2014, 08:24 • hek 2 Apr 2014, 14:39 -
💬 Roller Shutter Node
OpenHardware.io • 27 Jan 2016, 08:41 • openhardware.io 21 Feb 2019, 12:06 -
💬 MySensors compact (junction box) relay
OpenHardware.io • 3 Feb 2020, 19:01 • openhardware.io 3 Feb 2020, 19:01 -
Can I have too many relaying (repeater) nodes?
Development • 2 Jun 2014, 19:47 • petewill 3 Jun 2014, 13:35 -
💬 RS485 MCU Module
OpenHardware.io • 19 Nov 2018, 14:26 • openhardware.io 5 Mar 2019, 21:38 -
💬 Safe relay node
OpenHardware.io • 23 Mar 2018, 18:10 • openhardware.io 24 Apr 2020, 09:51