I am powering the Zuno with 12 volts and can switch the GPIO pins high and low through a Fibaro HC2.
However, I am only measuring 3.0 volts at the pins and this is when I switch them OFF.
When I switch ON I am getting 0 volts.
Is this usual?
Only 3 volts at GPIO pins
-
- Posts: 3
- Joined: 19 Oct 2020 03:51
Re: Only 3 volts at GPIO pins
Apologies - the example I am trying to implement including coding is here:
https://z-uno.z-wave.me/projects/four-power-relays/
https://z-uno.z-wave.me/projects/four-power-relays/
Re: Only 3 volts at GPIO pins
If you look in the code, you will see the reason:
digitalWrite(LedPin1, (value > 0) ? LOW : HIGH);
Change it to:
digitalWrite(LedPin1, (value > 0) ? HIGH : LOW);
digitalWrite(LedPin1, (value > 0) ? LOW : HIGH);
Change it to:
digitalWrite(LedPin1, (value > 0) ? HIGH : LOW);