Hooking up the 6 + 1 Mic Array to the MaiX BiT
Some improvising is needed to hook up the BiT. I offer 2 different solutions. The first that Seeed could help by throwing in a couple of replacement connector housings.
|(You might have to start with a larger housing and cut it down to size)|
The Seed OPL type for these is "Position Rectangular Housing Connector Receptacle Black 0.100" (2.54mm)"
It's not too difficult to move the wires from one end of the provided 2x5 cable connector, to BiT suitable single row housings..
Using a micro screwdriver or perhaps a needle,you can lift the little plastic tab tat locks the connector in the housing, pull the wire while gently lifting the tab (if your tossing out the old housing you can just break off the keys.)
In my case I had to work with what I had on hand, here's a single pin Dupont connector (easy to give up, females are not as popular with prototype boards) I freed up 4 housings and glued them together for pins 18-2 (I would not use superglue, the Cyanoacrylate, out-gasses and raises hell with electronic contacts.
Here's the modified connector which is suitable for a quick mic array demo (I used one row of the original housing, adding a single housing to make 6 on one side and 4 on the other side of the board..
|Spanning the rows|
A couple of pairs of needle nose pliers can help you do a cleaner job. The pins are a bit brittle,(bend just enough.) This is not the most stable connector, but it's passable, the connector tends up against the USB or LCD connector at the ends of the board on a small 2 row proto board
I had to double check with Sipeed that the pin numbers used matches the Dock and Go board, which have nice clear mic and led connection pin labels.
Reference pin silkscreen
MAIX GO MIC array:
GND - - - - - - - - Blk
VIN - - - - - - - - Brn
MIC_BCK = IO18 Wht
MIC_WS = IO19 Red
MIC_DAT3 = IO20 Gry
MIC_DAT2 = IO21 Org
MIC_DAT1 = IO22 Vio
MIC_DAT0 = IO23 Yel
MIC_LED_DAT = IO24 Blu
MIC_LED_CLK = IO25 Grn
MaiX BiT Board Pins order
Org Gry Red Wht
21 20 19 18
22 23 24 25 Gnd 5V
Vio Yel Blu Grn Blk Brn
2x5 Dupont cable connector
Blk - GND Brn - VIN
Wht - 18 Red - 19
Gry - 20 Org - 21
Vio - 22 Yel - 23
Blu - 24 Grn - 25
I recommend you first connect the provided cable to the bottom of the mic array,with Black on GND, and double check that the color codes I recorded are still being used.
Here's a 13 line Micropython script that tracks a sound source direction with LEDs and heat map style blobs on the LCD.
from Maix import MIC_ARRAY as mic
imga = mic.get_map()
b = mic.get_dir(imga)
a = mic.set_led(b,(0,0,255))
imgb = imga.resize(160,160)
imgc = imgb.to_rainbow(1)
a = lcd.display(imgc)
Adding this photo of the back of the mic array, would reassure Dock buyers that there is a connection for their board.
|Sipeed 6 + 1 Microphone Array back|
You probably want to add the 2x5 "Dupont" connector cable 0.100" (2.54mm) for Dock. To the sales page Part List (the cable is included by Sipeed.)