Raspberry Pi ed
some hacks for raspy
Table of Contents
Thermal sensor ed
DS18B20 ed
- connection
- red to top left
- black to right 3
- yellow to left 4
- link red and yellow with 4k7 resistor
- setup
- enable 1 wire interface (reboot)
- install library
pip3 install w1thermsensor
- python
from w1thermsensor import W1ThermSensor
sensor = W1ThermSensor()
temp = sensor.get_temperature()
Humidity... ed
Screen ed
...
Categories: Computer