Hi, all friends, I’m Roberto from Italy.
I’ve some trouble with the 4ch relay board on Venus OS 3.52 rpi4: it’s doesn’t work except relay #2 that goes on when I switch on relay#4 !!!
“# KEYESTUDIO 4 Channel DC 5V Modulo Relay Expansion Board Power Relay Board Module per Raspberry Pi 4 3 2 A+ B+ 2B 3B”
Hi Roberto, I’ve been experimenting with a single relay of that type, using it on RPi 5 with Node Red to control a fan and it’s working fine. The three connectors on each relay - normally open, common and normally closed - caused me some confusion. There’s a Pico-based guide here, which might be helpful. I haven’t used the 4-relay board.
Note that the GPIO assignments for this module are most likely different from what RpiGpioSetup uses by default. It looks like the module uses GPIO 7, 3, 22 and 25 while the default for RpiGpioSetup is 21, 17, 27, 22, 23 and 24 for relay outputs (6 relays).
With the default gpio_list relay 4 in Venus will control relay 3 on the module but that was not what you observed. The documentation does not specifically define which GPIO controls which relay so maybe the doc is not correct.
You can change the assignments by specifying a custom gpio_list file to the setup script. Make sure to remove any conflicts with the digital input definitions.