Hey there 👋 Welcome to my world of innovation, crafting code to empower ideas!
A humidity and temperature Display with NTP time and Date.
This project involves an ESP8266 or ESP32 microcontroller, a DHT11 temperature and humidity sensor, and an SSD1306 OLED display. The microcontroller fetches data from the DHT11 sensor and displays temperature, humidity, time, and date on the OLED display.
#define SDA_PIN 21 // SDA pin for OLED
#define SCL_PIN 22 // SCL pin for OLED
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);
#define DHT_PIN 4 // Pin connected to DHT11
#define DHT_TYPE DHT11
DHT dht(DHT_PIN, DHT_TYPE);
The ESP8266/ESP32 connects to both the OLED display and DHT11 sensor. The OLED display shows temperature, humidity, time, and date data fetched from the DHT11 sensor and an NTP server via WiFi. Proper wiring ensures data communication between the microcontroller, sensor, and display, while the code manages data collection and display functionality.
Remember to validate the pin configurations and wiring connections for accurate operation of the project. Correctly set up, this project provides real-time environmental data displayed on the OLED screen.
I am currently a student in the second year of O-Levels with computer science as my elective subject along with Physics & Chemistry in the Science group.
I have experience in developing html and javascript websites and now I am learning NodeJS. I also have a significant amount of experience in automation including Arduino and ESP family of microcontrollers. Tinkering with electronics to learn along the way is my hobby and have experience in designing home automation systems as further explained in the project section.
Socials Connections
Socials