raspberry_pi:se95
How to use a I2C Temperatur Sensor on a RPi
Requirements for this project:
Raspberry Pi
Python
SE95 I2C Temperatur Sensor (SE95 Datasheet)
Source Code:
se95.py
Connection Layout:
How to use:
First of all, you must activate the I2C Bus on the RPi.
modprobe i2c-bcm2708 modprobe i2c-dev
Now you can detect all connected I2C devices to find the sensor address.
i2cdetect -y 1
Here is my Output. In my setup the sensor address is „48“.
0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
You must edit the source code to enter the right address.
After that, you are finish and can start the script.
Have fun
raspberry_pi/se95.txt · Zuletzt geändert: 2015/02/12 21:47 von timo