Warning

OhmPi is a participative project open to all, it requires skills in electronics and to respect the safety rules. OhmPi must be assembled in a professional context and by people competent in electronics. The OhmPi team cannot be held responsible for any material or human damage which would be associated with the use or the assembly of OHMPI. The OhmPi team cannot be held responsible if the equipment does not work after assembly.

MUX board v2023

The multiplexing of the channels is a mechanical multiplexing based on OMRON’s manufacturing relays (G5LE-1-VD 12 VDC). Each relay is combined with a ZVN4206A power MOFSET. The raspberry has only 30 GPIOs, which is not enough to activate all the 64 electrodes, which represent 512 GPIOs. We used gpio expander I2C (MCP23017). We have associated these components with an I2C multiplexer of type type TCA9548A from adafruit. This combination allows to go up to 512 GPIOs and up to 128 electrodes. Each card has its own digital address between 0X70 and 0X77. In the following presentation for an OhmPi 64 electrodes, we will use the addresses 0X70 for channel A, 0X71 for channel B, 0X72 for channel M and 0X73 for channel N. 0X73 for the N channel. 4 MUX board will be needed to multiplex an OhmPi 64 electrodes.

Assemble

Required components

alternate text
List of components

Components

Number

Cost per unit

Total cost

Manufacturer

Manufacturer s reference

Web reference

Printed circuit board

4

140

560

Aisler

https://aisler.net/

diode-1n4007

256

0.091

23.296

Diodes Incorporated

1N4007-T

https://www.mouser.fr/ProductDetail/Diodes-Incorporated/1N4007-T?qs=sGAEpiMZZMueQxo7L%2FBPyAkbORUUMREn

Dual screw terminal (5.08-mm pitch)

12

0.648

7.776

CUI Devices

TB009-508-02BE

https://www.mouser.fr/ProductDetail/CUI-Devices/TB009-508-02BE?qs=vLWxofP3U2wCFk5uCkWTkA%3D%3D

Generic male header - 3 pins

12

0.205

2.46

TE Connectivity

4-103321-5

https://www.mouser.fr/ProductDetail/TE-Connectivity/4-103321-5?qs=5TwgZeq9E7HSYLqaljJYrw%3D%3D

MCP23017 I2C I/O Expander

16

2.5

40

Adafruit

732

https://www.mouser.fr/ProductDetail/Adafruit/732?qs=sGAEpiMZZMsKEdP9slC0Yfx16nYdMpXJueeOGoLBlDI%3D

G5LE-1A DC12

256

1.27

325.12

Omron Electronics

G5LE-1A DC12

https://eu.mouser.com/ProductDetail/Omron-Electronics/G5LE-1A-DC12?qs=sGAEpiMZZMsqIr59i2oRcj2o81oJCrqXrP4H3ZdDYK4%3D

ZVN4206A MOSFET-NCHANNEL

256

0.471

120.576

Diodes Incorporated

ZVN4206A

https://www.mouser.fr/ProductDetail/Diodes-Incorporated/ZVN4206A?qs=vHuUswq2%252Bsz9b%2Ff6fcXt7g%3D%3D

100k Resistor

256

0.061

15.616

Vishay / Beyschlag

MBA02040C1003FRP00

https://www.mouser.fr/ProductDetail/Vishay-Beyschlag/MBA02040C1003FRP00?qs=mzRxyRlhVdt9crF7Zyf%2F5Q%3D%3D

Adafruit TCA9548A

4

5.89

23.56

Adafruit

2717

https://www.mouser.fr/ProductDetail/Adafruit/2717?qs=sGAEpiMZZMsyYdr3R27aV4EQf73yOH%252Baqg%252BZ3hVktao%3D

spacer 5.5 HEX 25 mm M3 male/female

31

2.79

86.49

Keystone Electronics

24300

https://www.mouser.fr/ProductDetail/Keystone-Electronics/24300?qs=UWqYQ%2F2cZWu0ejpOzmZC2A%3D%3D

Screw

9

0.305

2.745

APM HEXSEAL

RM3X8MM-2701

https://www.mouser.fr/ProductDetail/APM-HEXSEAL/RM3X8MM-2701?qs=JJSE%2F12mKnS3VxSDrYXUHw%3D%3D

spacer 5.5 HEX 25 mm M3 female/female

9

0.846

7.614

Keystone Electronics

25515

https://www.mouser.fr/ProductDetail/Keystone-Electronics/25515?qs=UWqYQ%2F2cZWuxuhUmfr%252BZuQ%3D%3D

2-way jumper

12

0.30

571-1-881545-2

TE Connectivity

571-1-881545-2

https://eu.mouser.com/ProductDetail/TE-Connectivity/1-881545-2?qs=G55MHhPmvtILJr8pg2%2FD4w%3D%3D

6 pos. 2 rows IDC connector

4

0.44

0.44

Wurth Elektronik

710-61200621621

https://eu.mouser.com/ProductDetail/Wurth-Elektronik/61200621621?qs=PhR8RmCirEbjX8n1RKw4Jw%3D%3D

6 pos. 2 rows. IDC sockets (go on the ribon cable)

4

0.43

0.43

Wurth Elektronik

710-61200623021

https://eu.mouser.com/ProductDetail/Wurth-Elektronik/61200623021?qs=PhR8RmCirEabk1Ywkdxzfw%3D%3D

16 pos. 2 rows IDC connector

16

0.58

0.58

Wurth Elektronik

710-61201621621

https://eu.mouser.com/ProductDetail/Wurth-Elektronik/61201621621?qs=ZtY9WdtwX55qFf4n3EFuaA%3D%3D

16 pos. 2 rows IDC socket

16

0.73

0.73

Wurth Elektronik

710-61201623021

https://eu.mouser.com/ProductDetail/Wurth-Elektronik/61201623021?qs=ZtY9WdtwX57DLOr1z4RBOw%3D%3D

1

../../../_images/MUX_00.jpg

Mux board pcb

2

../../../_images/MUX_01.jpg

Installation of the 100 kOhm resistors

3

../../../_images/MUX_02.jpg

Installation of the MOSFET ZVN4206A

4

../../../_images/MUX_03.jpg

Installation of the diode 1N4007

5

../../../_images/MUX_04.jpg

Installation of the relay

6

../../../_images/MUX_05.jpg

Installation of the terminal screw

7

../../../_images/MUX_06.jpg

Installation of generic male header

8

../../../_images/MUX_07.jpg

Installation of Pin strip (6 pins) and pin strip (16 pins)

9

../../../_images/MUX_08.jpg

Installation of DIP Dual In Line Socket 2*14

10

../../../_images/MUX_09.jpg

Installation of Adafruit TCA9548A

10

../../../_images/MUX_10.jpg

Installation of MCP23017

Note

This step must be duplicated 4 times for every Mux card.

MUX board address

To build an ohmpi it is necessary to have 4 MUX boards, with 4 different addresses. It is therefore necessary to identify each board, by assigning an address, which will be allocated in the OhmPi code. We present here the addresses selected by default.

For the A electrode board, we suggest addressing it with address 0x70:

1

../../../_images/A_0x70.jpg

Mount the jumpers and note the value of the address and the electrode name on the mux board (A).

../../../_images/A_0x70-a.jpg

Zoom on the jumper

For the B electrode board, we suggest addressing it with address 0x71:

2

../../../_images/B_0x71.jpg

Mount the jumpers and note the value of the address and the electrode name on the mux board (B).

../../../_images/B_0x71-a.jpg

Zoom on the jumper

For the N electrode board, we suggest addressing it with address 0x72:

3

../../../_images/M_0x72.jpg

Mount the jumpers and note the value of the address and the electrode name on the mux board (B).

../../../_images/M_0x72-a.jpg

Zoom on the jumper

For the M electrode board, we suggest addressing it with address 0x73:

4

../../../_images/N_0x73.jpg

Mount the jumpers and note the value of the address and the electrode name on the mux board (B).

../../../_images/N_0x73-a.jpg

Zoom on the jumper