Thingiverse
Temperature, Humidity, Moisture Sensor with OLED
by beerman_uk
50
Downloads
29
Likes
0
Makes
Temp, humidity, soil moisture sensor with an OLED display in a tiny package. It also logs the data to thingspeak.com for some nice graphs.
Required parts:
DHT11 Temperature/humidity sensor
Capacitive Soil moisture sensor
Wemos D1 mini
0.96inch OLED display (I mistakenly bought a SPI version so the code is written for that)
I've attached the code, you'll need to create an account on thingspeak.com for the cloud data but it should work as a stand alone display.
In Thingspeak set up a channel, add Temp to field1, Humidity to field2 and Moisture to field3. Save the channel and select the API Keys tab. Copy your write key and add it to the code.
Connect the following wires:
DHT11 data pin --> D2
Moisture sensor data pin -->A0
OLED_MOSI --> D7
OLED_CLK --> D5
OLED_DC --> D4
OLED_CS --> D8
OLED_RESET -->D0
I'm no expert in coding so if you look at the code and see something that could be improved please let me know. For example I couldn't work out how to se
Required parts:
DHT11 Temperature/humidity sensor
Capacitive Soil moisture sensor
Wemos D1 mini
0.96inch OLED display (I mistakenly bought a SPI version so the code is written for that)
I've attached the code, you'll need to create an account on thingspeak.com for the cloud data but it should work as a stand alone display.
In Thingspeak set up a channel, add Temp to field1, Humidity to field2 and Moisture to field3. Save the channel and select the API Keys tab. Copy your write key and add it to the code.
Connect the following wires:
DHT11 data pin --> D2
Moisture sensor data pin -->A0
OLED_MOSI --> D7
OLED_CLK --> D5
OLED_DC --> D4
OLED_CS --> D8
OLED_RESET -->D0
I'm no expert in coding so if you look at the code and see something that could be improved please let me know. For example I couldn't work out how to se
Did you print this model? Sign in and share your make!
Sign in to leave a comment
Sign inNo comments yet – be the first!