
This board is manufactured by Waveshare. You can find a diagram and sample code on their website. The following information applies to the Raspberry Pi v2: Relay 1 - Pin 37 (marked P25 on the board) Piv2 GPIO25 Relay 2 - Pin 38 (marked P28 on the board) Piv2 GPIO28 Relay 3 - Pin 40 (marked on the board P28). P29 marked) Piv2 GPIO29* Labels on the board correspond to WiringPi code* All connections are low-active. 1=OFF 0=ON (LED also on) At boot the GPIO pins are configured via /etc/init.d/gpio_start which is called from /etc/rc.localgpio_start: #!/bin/sh -e # # Set all three GPIO pins to OFF Write /usr/bin/gpio 25 1 Write /usr/bin/gpio 28 1 Write /usr/bin/gpio 29 1 # Set all three GPIO pins to output mode /usr/bin/gpio mode 25 out /usr /bin/gpio mode 28 out /usr/bin/gpio mode 29 outMy Pi2 is now reading the battery voltage from the solar charge controller. If the weather has been cloudy for several days and the battery voltage has become too low, the relay switches on the charger. magic :)

REXQualis Comprehensive Starter Kit with Arduino MEGA 2560 & Detailed Tutorial for Arduino IDE Compatibility
11 Review

GeeekPi Raspberry Pi Cluster Case with Cooling Fan and Heatsink for Pi 4 Model B, 3 Model B+ & 3/2 Model B
11 Review

55" TV LG OLED55C2RLA 2022 HDR, OLED, dark titanium
38 Review

π MCIGICM 2 Channel DC 5V Relay Module: Optocoupler Low Level Trigger Expansion Board for Arduino UNO R3, DSP, ARM, PIC, AVR, STM32, Raspberry Pi
11 Review

uxcell 3.5" HDD Screw Black 200pcs for Computer PC Case - Flat Phillips Head - 6#-32 - Hard Drive Fasteners
10 Review

MacBook Retina 13-inch (A1425, A1502) and π© 15-inch (A1398) Bottom Case Screw Set with Pentalobe Screwdriver
11 Review

M.2 Screw Kit: Easy Mounting for NVMe SSDs on ASUS Motherboards
19 Review

36-Pack Black Rubber PC CPU/Case Fan Screws/Rivets Set for Computer
11 Review