Relay Board 32x5A


Changes from previous version

  • added dip switches to select i2c addresses
  • added diodes to relay coils
  • removed pullup resistors for SDA and SCL

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
IdDesignatorPackageQuantityDesignation
1C1, C2, C3, C4, C5, C6C_0603_1608Metric6100nF
2U4, U1SSOP-28_5.3x10.2mm_P0.65mm2MCP23017_SS
3R2, R6, R13, R12R_0603_1608Metric44.7k
4U2, U3, U5, U6SOIC-18W_7.5x11.6mm_P1.27mm4ULN2803A
5J9, J10, J11, J13, J14, J15, J16, J3, J2, J7, J6, J5, J8, J4, J17, J1PhoenixContact_GMSTBA_2, 5_3-G_1x03_P7.50mm_Horizontal16Screw_Terminal_01x03
6J12PinHeader_2x04_P2.54mm_Vertical1Conn_02x04_Odd_Even
7K1, K11, K12, K2, K3, K4, K5, K6, K7, K8, K9, K10, K13, K14, K15, K16, K17, K18, K19, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K30, K31, K32HF46F32HF46F
8U7SO-8_3.9x4.9mm_P1.27mm1LM75_SO8
9U8MSOP-8_3x3mm_P0.65mm1MCP9808_MSOP
10C7C_0603_1608Metric1100n
11R5, R7, R8, R9, R10, R11, R1, R3, R4R_0603_1608Metric910k
12D22, D18, D30, D25, D20, D23, D8, D12, D5, D16, D3, D28, D24, D10, D29, D32, D15, D11, D1, D26, D19, D13, D27, D17, D2, D31, D14, D7, D9, D6, D4, D21D_MiniMELF32LL4148
13SW3, SW2, SW1SW_DIP_SPSTx03_Slide_Omron_A6S-310x_W8.9mm_P2.54mm3SW_DIP_x03

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 use dipswitch proper order.

MCP23017 Configuration

Chip AddressA2A1A0I2C Address
000OffOffOff0x20
001OffOffOn0x21
010OffOnOff0x22
011OffOnOn0x23
100OnOffOff0x24
101OnOffOn0x25
110OnOnOff0x26
111OnOnOn0x27

Temp Sensor Configuration

Chip AddressA2A1A0I2C AddressAlternative I2C Address
000OffOffOff0x180x48
001OffOffOn0x190x49
010OffOnOff0x1A0x4A
011OffOnOn0x1B0x4B
100OnOffOff0x1C0x4C
101OnOffOn0x1D0x4D
110OnOnOff0x1E0x4E
111OnOnOn0x1F0x4F

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: -- -- -- -- -- -- -- --