Adafruit produce a wide range of breakout and sensor boards, all of which are open source and accompanied by extensive documentation and tutorials.
Adafruit boards use a variety of interfaces, most of which are GPIO and/or I2C/SPI.
UX2-GPIO – 4 x GPIO, 1 x UART, 1 x I2C, 1 x SPI:
UX2-I2C – 3 x I2C, 1 x UART, 1 x SPI:
UX2-ALT – 2 x GPIO, 1 x UART, 2 x I2C, 1 x SPI:
For devices that require I2S, use the UX2-GPIO pin variant and configure the GPIOs for I2S.
The wiring will depend on the devices you are connecting to, but generally:
UX2 | Adafruit |
---|---|
Vin , Vcc |
|
GND |
|
SDA |
|
SCL |
|
MISO |
|
MOSI |
|
SCK |
|
SSEL |
|
TXD (not RXD ) |
|
RXD (not TXD ) |
|
Remaining pins |
Remember that each GPIO (Gx
) pin can only be connected to one target device. Likewise, the UART (RXD
and TXD
) pins can only be connected to one device.
The I2C and SPI interfaces support chaining of multiple devices. Keep an eye on 3V3
pin current draw when chaining multiple devices.
TBC