Temperature, Humidity, Moisture Sensor with OLED

Copyright Claim

Temperature, Humidity, Moisture Sensor with OLED

Boost
0
0
0

Print Profile(0)


Add the first print profile to earn points

Boost
0
0
0
0
2
0
Released

Description

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 send the progress bar updates without adding it 10 times. I'm sure there is an easier way of doing it.

Category: Electronics

Comment & Rating (0)

Please fill in your opinion
(0/5000)

No more