Introduction: IoT Temperature & Humidity Meter With OLED Screen
Check temperature and humidity in an OLED screen any time you want and at the same time collect that data in an IoT platform.
Last week I published a project called Simplest IoT temperature and humidity meter. That is a good project because you can collect and graph temperature and humidity in an IoT platform like Adafruit IO. But what about if I want to know the temperature right now? Well, I had to enter Adafruit IO and see it. Then I thought If I could put a screen and see the temperature without entering Adafruit.
Well, I added an OLED 0.91 inch OLED screen to the previous project and I can see the temperature and humidity in the device screen.
LD1117V33 voltage regulator. https://amzn.to/3aAW0OU
Breakout Board ESP-01S Breadboard Adapter PCB Board. https://amzn.to/3fmgZbQ
DHT11 temperature and humidity sensor. https://amzn.to/2Tt71fM
100 nF Capacitor. https://amzn.to/2VWuSoe
Condensador electrolítico 10uF x 50 V. https://amzn.to/3eSyWOM
5.6K ohms resistor. https://amzn.to/3cPZq1s
AC 100-240V to DC 5V 2A Power Supply Adapter. https://amzn.to/2yjQ7IJ
Female DC Power Jack. https://amzn.to/2VBWO1I
Preformed Breadboard Jumper Wire. https://amzn.to/2xdmh8g
Solderless Breadboards. https://amzn.to/2KT4AxY
0.91 Inch I2C SSD1306 OLED Display Module Blue. https://amzn.to/35riocg
Step 1: Have a Hand All Components
It always is recommended to have a hand all components.
That will save you time.
Step 2: Make the Connections
Make the connections indicates in the diagram.
You should use a power supply of less than 9 VDC. You can use 12 VDC, but I do not recommend it because the voltage regulator gets hot.
You need to solder two cables to the DC power jack to use the power supply.
In this case, the orange cable is the positive, and green cable is negative.
Step 3: Upload the Code
The code has two files. In the config.h you set your Adafruit credentials and network configuration like wifi name and password.
Step 4: Set Adafruit IO
You should open an account on Adafruit IO. After that, you need to know how it works.
Check the link below to know about Adafruit IO, there you know how you can use Adafruit the credentials, how set the feeds and how to configure the dashboards.
Step 5: Test It and Enjoy It!!!
I show a picture of my dashboards.
You can see the data in real-time in the link below:
I hope you enjoy this project.
Note: If you are having issues connecting, please ensure you have the latest Adafruit IO Arduino library.