8-channel relay module with an I2C IIC connection for Raspberry Pi, Arduino, OpenWrt and moreDesigned by Peter Jakab, Ships from 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 or 12VDC, 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
|Shipping Rate||First item||Additional items|
Royal Mail: International Tracked & Signed to US
UPS: Express Shipping
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!