Wiring Both Sensors to the Pi - jaredwhichard/Capstone-Website GitHub Wiki
We have been using different configurations to set up our wiring and plan on using a more modular connection type in the future. For testing with a breadboard this will serve as a guide to wiring the device.
Wiring Guide
- GPIO Pin 2, 5V Power / VSS
- Red Wire
- Supplies the sensors with power
- GPIO Pin 3, SDA
- Yellow Wire
- Serial Data Line for the I2C Protocol
- GPIO Pin 5, SCL
- Blue Wire
- Serial Clock Line for the I2C Protocol *GPIO Pin 6, Ground / GND / VDD
- Black Wire
- Grounds the sensors
Raspberry Pi GPIO Pin Layout
From the official Raspberry Pi Documentation
Raspberry Pi to Breadboard
Dependencies
- Eight Male-to-female wires, 2 red, 2 black, 2 blue, 2 yellow
- Raspberry Pi
- Bread board (For our example we used a mini board)
Breadboard to MAX30102
Dependencies
- Complete Raspberry Pi to Breadboard
- MAX30102 with sodered header
- Four Male-to-female wires, 1 red, 1 black, 1 blue, 1 yellow
Breadboard to MLX
Dependencies
- Complete Raspberry Pi to Breadboard
- MLX with sodered header
- Four Male-to-female wires, 1 red, 1 black, 1 blue, 1 yellow