I2C Setup
I2C Base Installation
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
PUREIO Library
This library established serial connection via i2c.
cd ~
git clone https://github.com/uutzinger/Adafruit_Python_PureIO.git
cd Adafruit_Python_PureIO
sudo python setup.py install
GPIO Library with I2C, SPI and other Communcation
GPIO Library with I2C, SPI and other Communcation
This library enables i2c on top of pureio libary.
cd ~
git clone https://github.com/uutzinger/Adafruit_Python_GPIO.git
cd Adafruit_Python_GPIO
sudo python setup.py install
cd ~
Custom Driver for Humidity and Temperature sensor
Custom Driver for Humidity and Temperature sensor
This library will provide the necessary commands to obtain calibrated data from the HTU21D sensor.
git clone
https://github.com/uutzinger/Python_HTU21D.gitcd Python_HTU21D
sudo python setup.py install
sudo ldconfig
Adafruit Driver for BMP180 Pressure 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