I2C Setup

I2C Base Installation

  • sudo apt-get install build-essential python-pip python-dev i2c-tools python-smbus telnet git -y

This will updated your raspberry pi with necessary software. Make sure the date and time is set properly.

PUREIO Library

This library established serial connection via i2c.

GPIO Library with I2C, SPI and other Communcation

This library enables i2c on top of pureio libary.

Custom Driver for Humidity and Temperature sensor

This library will provide the necessary commands to obtain calibrated data from the HTU21D sensor.

Adafruit Driver for BMP180 Pressure Sensor

  • cd ~
  • git clone https://github.com/adafruit/Adafruit_Python_BMP.git
  • cd Adafruit_Python_BMP
  • sudo python setup.py install
  • sudo ldconfig