kwindrem / RpiDisplaySetup

Raspberry Pi 7" touchscreen for Venus OS (also HDMI)
31 stars 7 forks source link

Possibility to invert the outputs #6

Closed lennycb closed 2 years ago

lennycb commented 2 years ago

I'm currently testing with a relay module from China (8 channels). So far there is only one problem:

The low inputs are active on the module. Means: In the relay overview = OFF -> relay = ON

there is the possibility to invert the outputs.

Example: currently the case would be that the consumer connected to the relay is OFF when the relay is active. Conversely, this also means that the consumer switches on when the RPI fails.

kwindrem commented 2 years ago

There are ways to invert the GPIO pins, but not until some time in the boot process using a device tree overlay. Venus could be modified to invert the relay as well, but that would be later. Until the pins get inverted, your relays would be in the active state. My relay page in GuiMods/GuiMods2 doesn’t address these issues. My RpiGpioSetup also doesn’t address these issues. Relay inversion goes much deeper into Venus OS.

I’m closing this issue since it has no relationship to the Display