Hi
I have a raspberry pi with a MCP23017 to control a 16 channel relay board.
My problem is that when everything starts up each MCP23017 pin is 0 and all the relays are on.
But, I thought that a "0" is off? but then again if "0" is low that would pull it to ground right? making it turn on.
I'm using node red for all this, as you can probably tell I'm new to coding(although I have done a short B4A course)
If anyone could help me I would be grateful.
My end goal is just to have the relays stay off when everything powers back on(say after a power outage) and then be able to have the raspberry turn them on as I want( I'll play around with motion sensors and remote controlling...)
I have a raspberry pi with a MCP23017 to control a 16 channel relay board.
My problem is that when everything starts up each MCP23017 pin is 0 and all the relays are on.
But, I thought that a "0" is off? but then again if "0" is low that would pull it to ground right? making it turn on.
I'm using node red for all this, as you can probably tell I'm new to coding(although I have done a short B4A course)
If anyone could help me I would be grateful.
My end goal is just to have the relays stay off when everything powers back on(say after a power outage) and then be able to have the raspberry turn them on as I want( I'll play around with motion sensors and remote controlling...)