Hi thank you cayenne
I have problem with cayenne when I added to the raspberry pi and i use gpio for Relay module and i turn on the raspberry atuo matic some of them will turn on and thats is very bad for my system please Help me to solve my problem thanks so muchβ:worried:
This problem I believe is inherent to the Rpi. Are you inverting the signal? If you invert the signal then when the Rpi reboots all relays will energize. I had this trouble and all my devices energized and that wasnβt good. In other words set up your relay contacts to energize your devices when the relay led goes out. Your devices will energize for just a moment on reboot.
William
Okay how can i slove it
What @wmontg5988 is a good solution
I may have just confused things.
Rpi gpio outputs will always go high and stay there after reboot.
-
Use the normally closed relay contacts
-
Do not invert logic
-
The led on relay board will light up opening the contacts therefore the load connected will be off.
-
If you reboot, your loads will energize momentarily and then revert back to off.
The desire to have the relay led on when load is energized just wonβt work.
Led on load off. Led off load on
Make sense?
William