This is an old revision of the document!


Adding external I2C Sensors

The Kniwwelino Board features a 4-pin connector which is using the I2C protocol (I²C). This protocol allows you to connect various different sensors (up to 127 at once)

The I2C connector on the Kniwwelino as well as all supported I2C sensors have the following four pins:

  • VCC 3.3V provided by the Kniwwelino Board to power the sensors.
  • GND Common Ground
  • SDA Serial Data Line
  • SCL Serial Clock Line

These 4 pins must be connected 1 to 1 from the Kniwwelino board to the sensor.

Other sensors can be wired in parallel by connecting them the same way either at the Kniwwelino board or one of the connected sensors. For easier connection an I2C hub can be used.

BME-280

BME-680

  • Available Values:
    • Temperature in °C
    • Humidity in %
    • Pressure ind hPa
    • Height in m
    • Gas: volatile organic compounds (VOC) in Ohm
  • Used Library: Adafruit BME680 Library 1.0.5 https://github.com/adafruit/Adafruit_BME680
  • I2C Address: 0x77

SHT-30

BH1750

ADPS9960

  • Available Values:
    • Proximity 0=far to 255=near
    • Gesture UP=1 DOWN=2 LEFT=3 RIGHT=4
    • Light Components for White Red Green Blue
  • Used Library: Modified Adafruit_APDS9960 library: https://github.com/derFrickler/Adafruit_APDS9960
  • I2C Address: 0x39