8-channel relay module with an I2C IIC connection for Raspberry Pi, Arduino, OpenWrt and moreDesigned by Peter Jakab in United Kingdom
You need only two I/O pins to connect this I2C relay board to a Raspberry Pi or an Arduino. Find the full documentation here. I2C version 8 channel relay module board with an I2C connection contr...Read More…
You need only two I/O pins to connect this I2C relay board to a Raspberry Pi or an Arduino.
Find the full documentation here.
The I2C module board connects to the master device with connector CN21. The pinout for CN21 is: pin number - pin name
The logic power supply voltage should match the voltage levels on the I2C bus. The SDA and SCL lines are pulled up to VDD with 47k resistors on the relay module. The module contains an MCP23008 chip, please check the datasheet for the details.
Connect a power supply to the relay power input jack (5VDC, 12VDC or 24VDC depending on the relay voltages). Connect CN22 to the bus master logic power supply and the I2C bus. For the Raspberry Pi the connections are:
Raspberry Pi P1 pin - relay module CN22 pin - pin name
Example of controlling the relays from an Arduino:
Arduino pin - relay module CN22 pin - pin name
Example of controlling the relays on a Raspberry Pi board or a Linux computer:
relayctl setport 0b00001100 # turn relay for CN3 and CN4 ON, all others OFF
relayctl setbit 0b10000000 # turn relay for CN8 ON, don't change the state of other relays
relayctl clearbit 0b01000001 # turn relay for CN1 and CN7 OFF, don't change the state of other relays
No country selected, please select your country to see shipping options.
No rates are available for shipping to .
Enter your email address if you'd like to be notified when 8-channel relay board for Raspberry Pi and Arduino can be shipped to you:
Thanks! We'll let you know when the seller adds shipping rates for your country.
|Shipping Rate||Tracked||Ships From||First Item||Additional Items|
Graham | March 15, 2021
Geoff | Feb. 17, 2021
Fritz | Jan. 4, 2021
Mark | April 2, 2020
Bob | Nov. 5, 2019
Robert | June 8, 2019
Carl | Sept. 26, 2018
Mal | April 18, 2018
A. E. | March 1, 2018
Pornthep | Oct. 17, 2017
We recognize our top users by making them a Tindarian. Tindarians have access to secret & unreleased features.
We look for the most active & best members of the Tindie community, and invite them to join. There isn't a selection process or form to fill out. The only way to become a Tindarian is by being a nice & active member of the Tindie community!