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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login