Skip to content

Python library for reading the temperature from the EVE-Alpha piggybacked on a raspeberry pi over the i2c bus

Notifications You must be signed in to change notification settings

matburnham/eve-alpha-tmp100

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TMP100 i2c Python lib

I wrote this library to read the temperature from the EVE Alpha board which has a TMP100 with the address 0x48 it maybe of use to other people also.

Some useful things to install on your RaspberryPi:

sudo apt-get install i2c-tools
sudo apt-get install python-smbus
sudo adduser i2c

You can list available devices using, check which i2c bus to configure the library to use: i2cdetect -y 0 i2cdetect -y 1

Run indivdual tests to check library:

python -m unittest tmp100_test.TestTmp.test_getTemp python -m unittest tmp100_test.TestTmp.test_set12bit

About

Python library for reading the temperature from the EVE-Alpha piggybacked on a raspeberry pi over the i2c bus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%