Header banner
Revain logoHome Page
Ben Duncan photo
Turkmenistan
1 Level
707 Review
31 Karma

Review on ⚡️ 5V Relay Module for Arduino Raspberry Pi DSP AVR PIC ARM - JBtek 4 Channel by Ben Duncan

Revainrating 3 out of 5

No documentation but otherwise solid board

1 star removed due to lack of documentation but otherwise very economical relay board. Provides optical isolation and some degree of physical isolation. I would consider this board suitable for light AC applications. The device works well with my Raspberry Pi 2 and Pi 3. Will buy more. An add-on for Pi users. When the Pi first boots up, the GPIO pins are not yet defined as outputs. The LEDs on the relay board are dim, indicating the pull-up resistors are working. However, as soon as you define the GPIO pins as outputs, the relays switch on immediately. You can disable the relay by sending the GPIO output high (GPIO.output(xx, True), where xx is the corresponding pin number). To solve these problems I decided to add inverters between the GPIO pins and the relay board. For this I chose a quad channel Schmitt NAND device with two inputs (4093B). I also added pull-up resistors (47k ohms) to the 4093B inputs because clearing the GPIO library (under Python) or turning the Pi off causes the GPIO pins to float - this causes the relay to buzz undesirably with no pull- oops You can power the 4093B from a 3.3V power supply on the Pi interface. You can probably replace 4011 quad NAND with 4093, but I haven't tried it. The picture shows my inverter board soldered directly onto the relay board. Using GPIO pins 23 through 26, the code to initialize and then turn on relays 1 and 3 would look something like this: import RPi.GPIO as GPGP.setmode(GP.BCM) GP.setup([23,24,25, 26 ] , GP.OUT)GP.output([23,24,25,26], [True, False, True, False]).to enable/disable relay 2 would be: GP.output(24, True)GP . Out (24, False).GP.cleanup()

Pros
  • Computer components
Cons
  • I will add later