Skip to content

🌑️ Monitor temperature and humidity with a DHT22 sensor and display the data on a SSD1306 OLED using MicroPython on an ESP8266 board.

Notifications You must be signed in to change notification settings

Daneslack455/ESP8266-DHT22-SSD1306-OLED-Temperature-Humidity-Monitor-MicroPython-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌑️ ESP8266-DHT22-SSD1306-OLED-Temperature-Humidity-Monitor-MicroPython- - Monitor Temperature & Humidity Easily

Download

πŸ“– Overview

This project reads temperature and humidity data from a DHT22 sensor and displays it on a 128x64 SSD1306 OLED display using MicroPython on an ESP8266 board. It offers a simple and effective way to monitor environmental conditions. This setup is ideal for IoT dashboards and smart home systems.

πŸš€ Getting Started

To get started, follow these steps. You will need:

  • An ESP8266 microcontroller board.
  • A DHT22 temperature and humidity sensor.
  • A 128x64 SSD1306 OLED display.
  • Basic connectivity components (like jumper wires).
  • A Wi-Fi connection to deploy your setup.

πŸ”Œ Requirements

  • Operating System: Windows, macOS, or Linux
  • Wi-Fi connection: For wireless monitoring
  • MicroPython firmware: Installed on your ESP8266
  • Thonny IDE: Recommended for easy programming of your MicroPython board

πŸ‘©β€πŸ’» Installation Steps

1. Visit the Download Page

To get the software, visit this page: Download Here.

2. Choose Your Version

On the Releases page, select the latest version available. It will have all the necessary files to run the project properly.

3. Download the Files

Click on the release and download the files onto your computer. The files will be compressed in a ZIP format.

4. Extract the Downloaded Files

Locate the ZIP file in your downloads folder. Right-click on the file and select "Extract All." Choose a location where you can easily find the files.

5. Connect Your ESP8266

  1. Connect your ESP8266 to your computer using a USB cable.
  2. Make sure the drivers for the board are properly installed. If not, download them from the manufacturer's website.

6. Open Thonny IDE

  1. Start the Thonny IDE on your computer.
  2. Go to β€œTools” in the menu, then "Options."
  3. In the "Interpreter" section, select "MicroPython (ESP8266)" and choose the correct COM port for your ESP8266.

7. Upload Files to ESP8266

  1. Open the directory where you extracted the files.
  2. In Thonny IDE, go to β€œFile,” then β€œUpload to” and select your ESP8266.
  3. Upload all the necessary files one by one. These files typically include the main script and library files.

8. Configure Your Settings

Before running the software, you may need to edit the settings in the main script.

  1. In Thonny, open the main script file.
  2. Find the section where you input your Wi-Fi credentials.
  3. Enter your SSID (network name) and password.

9. Run the Program

  1. Make sure your DHT22 sensor and SSD1306 display are hooked up correctly to the ESP8266.
  2. In Thonny, click the green "Run" button to start the program.
  3. Monitor the output in the Thonny shell. You should see temperature and humidity readings displayed in the console.

10. View Data on the OLED Display

Once your program is running, you should see temperature and humidity readings displayed on your OLED screen. Adjust the placement of your sensor and display as needed for optimal readings.

πŸ“Š Features

  • Real-time Monitoring: Continuous updates of temperature and humidity data.
  • OLED Display: Easy-to-read display for quick reference of environmental conditions.
  • MicroPython Compatibility: Simple coding and customization options.
  • IoT Ready: Integrate with other smart home applications.

❓ Troubleshooting

If you encounter any issues, consider the following:

  • Check Connections: Ensure that all wires are securely connected.
  • Firmware Update: Make sure your ESP8266 has the latest MicroPython firmware.
  • Adjust Code: Double-check for typos in your Wi-Fi credentials in the script.

✏️ Topics

  • dht22-sensor
  • esp8266
  • esp8266-projects
  • humidity-monitoring
  • iot
  • iot-device
  • micropython
  • micropython-esp8266
  • oled-display-ssd1306
  • temperature-monitoring
  • thonny-ide

For further updates and contributions, feel free to check back regularly on our Releases page: Download Here.

About

🌑️ Monitor temperature and humidity with a DHT22 sensor and display the data on a SSD1306 OLED using MicroPython on an ESP8266 board.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages