Arduino Project Hub
Project showcase

Weather Clock © LGPL

A weather clock with Arduino, RTC, DHT22 and BMP180.

  • 796 views
  • 4 comments
  • 9 respects

Components and supplies

About this project

In my workshop I wanted a watch that in addition to the hours and the date I also wanted to know the ambient conditions.

The work can be done easily with Arduino, only serves an RTC, a DHT22 and BMP180

Protocol I2c

The DISPLAY, RTC and BMP180 communicate with Arduino through the I2C protocol and the library Wire.

All three elements must be connected in parallel to the respective SDA and SLC contacts Arduino that correspond to the pins A4 and A5.

To facilitate the work, and not to confuse the contacts I used the wires with the same colors.

The RTC module is a "clock" that, by communicating with Arduino, counts the real time (Hours, Minutes, Seconds, Day, Month, and Year). The RTC is supplied by a buffer battery that, when the power is off, continues to calculate the passage of time.

The BMP180 Module (Barometric Pressure / Temperature / Altitude Sensor) is a high-performance sensor that provides temperature, barometric pressure and altitude.

Libraries: RTC, DHT, LiquidCrystal_I2C, SFE_BMP180

Display and Photoresistance

The Display is very bright, I want that when the room is dark, he decreases the brightness.

The I2C module for the display allows you to adjust the contrast and the jumper can turn off the backlight led, but if we put in place the jumper a photoresistor (that provided by the Arduino starter kit) with the increase of the light, its resistance decreases, as a result, increases the brightness of the display, while, in low light conditions, the resistance is very high and the brightness decreases.

Buttons

The buttons are used to adjust the time since the RTC has a margin of error of one minute per month.

It should to be constructed a small Pull Down circuit for each button.

The Arduino pin interested in this feature are:

  • Pin 6 = menu
  • Pin 7 = +
  • Pin 8 = -

...Allarm...

My laboratory is located in the basement, and when I'm working I do not feel if someone comes to visit me, so I thought about adding an alarm with a PIR sensor, a LED and a BUZZER.

The PIR sensor needs to be powered at 5 volts supplied by Arduino and connected to pin 2.

The LED is connected to pin 13.

The buzzer to pin 9.

For the construction of the box, go to instructables

You have been warned !

When you want to visit me…

Warn me !!!

Schematics

Final results
Img 2031 sfocdj57gl
Eletric Scheme
Weater clock 3zmerocdiz
Fritzing Scheme
weather_clock_HS4A6SryCe.fzz
Fritzing Scheme Jpeg
Weather clock2 bb vo2qcgsevc

Code

Weather_Clock

Comments

Similar projects you might like

Arduino 101 - Intel Curie Pattern Matching Dress

Project tutorial by Kitty Yeung

  • 2,045 views
  • 9 comments
  • 19 respects

Arduino Morse Code Machine

Project tutorial by Vlada Krsmanovic

  • 706 views
  • 0 comments
  • 11 respects

Arduino Laser Tripwire

Project tutorial by Ian Cumming

  • 2,621 views
  • 2 comments
  • 18 respects

PlatformIO for Visual Studio Code

by formulahendry

  • 777 views
  • 0 comments
  • 6 respects

Smart Home Sensor Node

Project tutorial by vincent wong

  • 809 views
  • 0 comments
  • 6 respects

ESP8266 + L298N Motor Drive + Smartphone

by luciorocha

  • 1,640 views
  • 2 comments
  • 7 respects
Add projectSign up / Login