Skip to main content

WeatherSmart Clock

Smart Weather Clock with Alarm and Temperature Sensor

info

Author: Nica Alexia-Stefania
GitHub Project Link: https://github.com/UPB-FILS-MA/project-alexianicaa

Description

I'll design a user-friendly alarm clock with a real-time clock (RTC) module, LCD display, push buttons, and a buzzer. Additionally, I'll integrate smart weather features including customizable alarms, a temperature sensor, and weather indication. Users can set multiple alarms and will be alerted by a buzzer when the set alarm time arrives.

Motivation

The motivation behind this project is to create a multifunctional clock that not only provides accurate timekeeping and customizable alarms but also offers real-time weather information in a fun and intuitive way. I chose this project because the clock is essential in our lives; whether you need to go to work, attend an appointment, or manage your daily tasks, knowing the time is crucial. Additionally, the weather function helps a lot when you want to know how to dress yourself.

Architecture

Architecture diagram

Main Components used in the WeatherSmart Clock project:

1-Rasberry Pi Pico: Microcontroller unit responsible for managing all operations.

2-LCD Display: Shows the current temperature in Celcius.

3-Buzzer: Acts as the audible alarm.

4-RTC Module: Real time clock module used for accurate timekeeping

Log

Week 6 - 12 May

I started by buying the components I needed, then I connected them together.

Week 7 - 19 May

I drew the Kicad schematics and I began writing the code.

Week 20 - 26 May

Hardware

In my project, the Raspberry Pi Pico microcontroller serves as the central processing unit, mandated for the task. Its low power consumption ensures efficiency throughout. It also reads data and time from the DS3231 real time clock module, and displays them, while also being able to send electrical signals to a buzzer for an alarm effect.

Schematics

Kicad Schematics Circuit Front look Breadboard connections Buttons connections

Bill of Materials

DeviceUsagePrice
Rapspberry Pi Pico WThe microcontroller39 RON
Buzzer Pasiv de 5 VPassive buzzer1.40 RON
LCD DisplayDisplay15 RON
Push ButtonPush button2 RON
RTC ModuleReal time clock module15.98 RON
BreadboardBreadboard9.98 RON

Software

LibraryDescriptionUsage
DHT11DHT11 rust libraryUsed to interact with DHT11 temperature sensor
DS323xDS3231 rust libraryUsed to interact with DS3231 RTC module
Embassy_rpPeripheral access libraryUsed for accessing the peripherals

1.PM projects 2023
2.Raspberry Pi Pico Project - Thermometer & Clock