Skip to content

Sensors

Nikogenia edited this page Dec 21, 2024 · 5 revisions

check the Raspberry Pi pinout with
pinout
or visit pinout.xyz

using the i2c protocol with the following sensors

bus 4

gpio pins sda=5 scl=6

  • gps (blue=sda, green=scl, white=ground, purple=3.3V)

bus 5

gpio pins sda=22 scl=23

  • co2 (white=sda, yellow=scl, black=ground, red=3.3V)

bus 6

gpio pins sda=12 scl=13

  • magnet (blue=sda, green=scl, yellow=ground, orange=3.3V)

bus 7

gpio pins sda=8 scl=7

  • adc (green=sda, yellow=scl, orange=ground, red=3.3V)

bus 8

gpio pins sda=16 scl=26

  • multiplexer (grey=sda, purple=scl, blue=ground, white=3.3V, yellow=3.3V, green=ground)
  • climate (yellow=sda, green=scl, blue=ground, purple=3.3V)
  • spectral (brown=sda, black=scl, orange=ground, red=3.3V)
  • thermal (purple/white=sda, green/black=scl, blue/grey=ground, yellow/purple=3.3V)

using an analog to digital converter (ADC)

  • methane A0 (white=5V, black=ground, brown=digital_out, red=analog_out)
  • uv A1 (brown=3.3V, red=ground, orange=out, yellow=en)
  • voltage_ref A2
Clone this wiki locally