Weather Data
A clock with a Weather Data Display.
The reason for the project is to utilize some sensors of my kit and it has a part of my final project which is the timer.
Date and Time
Software
Arduino to Program the Circuit.
Fritzing to wire the circuit virtually (TinkerCAD doesn't have the RTC Module).
Material
Arduino UNO "Controller".
RTC DS3231 Real Time Clock Module.
DHT11 Temperature and Humidity Sensor.
LCD 16x2.
Small Breadboard.
Jumper Wires.
Electronics
Wiring
Preparation Steps
Search for Inspiration "Instructables, Arduino Project Hub, Adafruit".
Chose a Device that could be useful and its components are available in my Kit.
Wire the Circuit directly as TinkerCAD doesn't have RTC Module of DHT module.
Write a program for each sensor separately and test it, then assemble the code.
Programming Steps
Importing libraries of RTC, DHT sensors and LCD.
Creating Boolean variables to alternate the display of time and weather data.
Initializing RTC to get current time.
Creating DHT object to read temperature and humidity data.
Initializing LCD.
Print Date and Time on LCD from RTC Reading.
Wait for 2 Seconds.
Print Temperature and Humidity on LCD from DHT Sensor reading.
Wait for 2 Seconds and repeat the cycle again.
Implementation Steps
Wire my Physical Circuit Using the Mentioned Materials Above.
Program my Arduino Board.
Run the Program to See the Action in Real Simulation.
Wiring & Enclosure
Dealing with RTC Module and make it display the desired output (Links that Helped me: RTC DS3231 DHT11 LCD I2C)
DHT Sensor Wiring
RTC Module Wiring
Title of Media
Title of Media
We made a smart home with two modes:
Manual: Where the user can operate the components manually.
Automatic: Where the components are operated based on sensors input.