Relay Board 32x5A


Changes from previous version

This is initial version - previous versions was only for testing purposes.

Main improvements:

  • switched to i2c communication
  • added temp sensor
  • added degson connectors

Top

Relay Board 32x5A top

Bottom

Relay Board 32x5A bottom

Specification

  • 32 x 5A Relays (HF46F)
  • Common terminal for every 2 relays
  • Temp Sensor (MCP9808 or LM75)
  • i2c Interface (MCP23017)

Bill of Materials

Relay Board 32x5A BOM
IdSymbolPackageQuantityAdd. Info
1R14, R15, R10, R2, R6, R9R_0603_1608Metric64.7k
2JP10, JP9, JP8, JP6, JP5, JP4, JP3, JP2, JP1SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm9NO_Small
3R4, R3, R1, R13, R12, R11, R8, R7, R5R_0603_1608Metric910k
4K12, K11, K32, K31, K30, K29, K28, K27, K26, K25, K24, K23, K22, K21, K20, K19, K18, K17, K16, K15, K14, K13, K10, K9, K8, K7, K6, K5, K4, K3, K2, K1HF46F32HF46F
5U8MSOP-8_3x3mm_P0.65mm1MCP9808_MSOP
6U7SO-8_3.9x4.9mm_P1.27mm1LM75_SO-8
7J1, J2, J3, J4, J5, J6, J7, J8, J9, J10, J11, J13, J14, J15, J16, J17PhoenixContact_GMSTBA_2, 5_3-G_1x03_P7.50mm_Horizontal16Screw_Terminal_01x03
8C7C_0603_1608Metric1100n
9J12PinHeader_2x04_P2.54mm_Vertical1Conn_02x04_Odd_Even
10U1, U4SSOP-28_5.3x10.2mm_P0.65mm2MCP23017_SS
11U3, U2, U5, U6SOIC-18W_7.5x11.6mm_P1.27mm4ULN2803A
12C1, C2, C3, C4, C5, C6C_0603_1608Metric6100nF
13JP7SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm1SolderJumper_3_Open

Repository

Everything about this board you will find here: https://github.com/boneIO-eu/relay_board_32x5A

I2C Configuration

How to find config pins?

On every output board you will find some pins to configure I2C addresses of two MCP23017 expanders and one temperature sensor. In v0.2 it was placed on the top layer of the board, but from v0.3 you will find it on the back side.

i2c Config

To configure address of either mcp or temp sensor you have to solder pads in proper order.

MCP23017 Configuration

Chip AddressA2A1A0I2C Address
0000x20
001Soldered0x21
010Soldered0x22
011SolderedSoldered0x23
100Soldered0x24
101SolderedSoldered0x25
110SolderedSoldered0x26
111SolderedSolderedSoldered0x27

Temp Sensor Configuration

Chip AddressA2A1A0I2C AddressAlternative I2C Address
0000x180x48
001Soldered0x190x49
010Soldered0x1A0x4A
011SolderedSoldered0x1B0x4B
100Soldered0x1C0x4C
101SolderedSoldered0x1D0x4D
110SolderedSoldered0x1E0x4E
111SolderedSolderedSoldered0x1F0x4F

Checking if it works

To check if your configuration works properly you have to use i2cdetect tool

i2cdetect -r -y 2

The output ow this command will be like this:

debian@beaglebone:~$ i2cdetect -y -r 2
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: 20 21 -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --
40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --