Page 1 of 1

Only 3 volts at GPIO pins

Posted: 06 Dec 2020 13:57
by innervations
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?

Re: Only 3 volts at GPIO pins

Posted: 07 Dec 2020 02:37
by innervations
Apologies - the example I am trying to implement including coding is here:
https://z-uno.z-wave.me/projects/four-power-relays/

Re: Only 3 volts at GPIO pins

Posted: 11 Dec 2020 11:44
by PoltoS
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);