@tlfong01 Not really, I can reverse them by using the relay toggle. Basically it’s the same thing. – Ionică Bizău 8 hours ago
=============================================================================
I have connected a relay to BCM 14 and by setting its output to HIGH I can turn it on, making a 220V bulb to turn on. I use for that the following python instructions: GPIO.setmode(GPIO.BCM) GPIO.setup(14, GPIO.OUT) GPIO.output(14, GPIO.HIGH) However, if I power off the pi, the bulb remains …
LOW
to turn on the bulb, and it works in the sense that after the pi is restarted the bulb turns off, but after turning off the pi, the relay is still in the same position.OUT 0
would help, meaning, that mode is set by default to OUT
, but current is LOW
.IN
and OUT 1
are going to turn on the bulb. So, is it possible to configure an OUT 0
by default?OUT
.
I have connected a relay to BCM 14 and by setting its output to HIGH I can turn it on, making a 220V bulb to turn on. I use for that the following python instructions: GPIO.setmode(GPIO.BCM) GPIO.setup(14, GPIO.OUT) GPIO.output(14, GPIO.HIGH) However, if I power off the pi, the bulb remains …
LOW
to turn on the bulb, and it works in the sense that after the pi is restarted the bulb turns off, but after turning off the pi, the relay is still in the same position.OUT 0
would help, meaning, that mode is set by default to OUT
, but current is LOW
.IN
and OUT 1
are going to turn on the bulb. So, is it possible to configure an OUT 0
by default?OUT
.
Categories: Uncategorized