Update README.md
This commit is contained in:
committed by
GitHub
parent
fbaaf346f8
commit
ded52bf660
@@ -27,7 +27,7 @@ or manually using this URL:
|
||||
|
||||
You can choose to use a DHT11, DHT22, AM2302 sensor or a DS18B20.
|
||||
|
||||
For the DHT11, DHT22 and AM2302 follow this steps:
|
||||
**For the DHT11, DHT22 and AM2302 follow this steps:**
|
||||
|
||||
You need to install Adafruit library to use the temperature sensor on raspberry pi.
|
||||
|
||||
@@ -56,7 +56,9 @@ chmod +x ~/.octoprint/plugins/OctoPrint-Enclosure/extras/GetTemperature.py
|
||||
chmod +x ~/.octoprint/plugins/OctoPrint-Enclosure/extras/GetHumidity.py
|
||||
```
|
||||
|
||||
For the DS18B20 sensor you need to enable your raspberry pie to use one-wire. You also NEED to use pin #4 to connect this type of sensor.
|
||||
**For the DS18B20 sensor:**
|
||||
|
||||
You need to enable your raspberry pie to use one-wire. You also NEED to use pin #4 to connect this type of sensor.
|
||||
|
||||
Follow instructions on [website](https://learn.adafruit.com/adafruits-raspberry-pi-lesson-11-ds18b20-temperature-sensing?view=all) to connect and get the sensor working.
|
||||
After that you will need to change on the plugin settings to use the GetTemperature1820.py script to read the temperature and configure the the sensor type that you are using on this case is 1820. You also need to make the scripts executable:
|
||||
|
||||
Reference in New Issue
Block a user