
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

LAFVIN Super Starter Kit for Arduino R3 Mega2560 Mega328 Nano with Detailed Tutorial - Compatible with Arduino IDE
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

Gikfun Screw Shield Expansion Board: Enhance Arduino UNO R3 with the EK7007 Add-On
11 Review

Glarks 660 Pieces Phillips Assortment Motherboard
10 Review

π₯οΈ Helifouner 450-Piece Computer Standoffs Spacer Screws Kit: Ideal for Hard Drive, Motherboard, Fan, Power Graphics & Computer Cases
10 Review

π§ Premium Repair Replacement Screws & Tools for MacBook Pro Retina 15"/13" - Complete Bottom Case Set
10 Review

Comprehensive 500pcs Laptop Screw Kit Set for π© IBM HP Dell Lenovo Samsung Sony Toshiba Gateway Acer
12 Review