2020-12-13
I had several non-pi boards on a bread board. Connected them to the Pi with coloured wires.
- 3V3 Brown
- 5V Red
- SDA Orange
- 5V Yellow
- SCL Green
- GND Blue
Opening a console to run from the command line,
i2cdetect -y 1
detected devices at hex addresses 20 (MCP23017 sixteen-bit PIO), 48 ( ADS1115 ADC), 57 (DS3232 Real-Time Clock) and 68 (MPU6050 accelerometer/gyro).
2020-12-14
Example Python code from https://www.abelectronics.co.uk/kb/article/1094/i2c-part-4---programming-i-c-with-python now talking to the MCP23017 i/o board, blinking a light and reading inputs.
DS3231 real-time clock now successfully integrated into the OS.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.