Smart Home Automation Forum

Full Version: KC868-A6 Outputs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Kincony

I have a relayboard that turns relay on when pin goes to GND.  I see A16 digital outputs go high when turned on....Can I invert this to make actuve GND ?

Thankyou..Peter
it according to your arduino IDE code.
I am using homeassistant.....how should I configure the output in the YAML to drive the output to ground ?

Thankyou
if you use home assistant, i think you are using ESPHome. just add "inverted: true" in your pins.
# Example configuration entry
switch:
- platform: gpio
pin:
number: 25
inverted: true
(09-14-2022, 05:22 AM)admin Wrote: [ -> ]if you use home assistant, i think you are using ESPHome. just add "inverted: true" in your pins.
# Example configuration entry
switch:
  - platform: gpio
    pin:
      number: 25
      inverted: true

Hello

I dont have a circuit diagram for the v.5 A16 board.  I think you've set it up to turn the led on when the output goes to 12V.  I have just tried inverted: false and the LED doesnt work.  Can you please share the circuit diagram so I can have a look...

Thankyou