Some rules when connecting devices (modules) like sensors: with special attention to serial busses like i2c.
This is the start of a guide to show how to build circuits with multiple types of sub assemblies.
It also documents the thought processes in connecting a Raspberry Pi to external sensors. The sensors are on a standalone board and operate
from different voltages. Work is happening to interface the BBC micro:bit, Cypress boards and Arduinos.
The i2c protocol requires the SDA and SCL lines to be bidirectional (i.e. input and output)
The order of the four I2C connections on the BBC micro:bit is as follows:
The order of the four I2C connections on the Slice of Pi V1.1 is as follows: [Note power and Gnd pins swapped wrt BBC above]
This is the same sequence as for the OLED display. The addresses for the display are 0x78 and 0x7A, select one.
The Adafruit PCA9685 (16 * 12 bit PWM) has the following connections
Thus the BBC micro:bit and the OLED can be connected directly with a 4 pole 1 to 1 cable.
With a minor wiring change the BBC unit can be connected to the PWM unit. Vcc from the BBC should be connected