/Arduino

Digital clock & Seoul forecast code

Primary LanguageC++

digitalwatch

Components

  • WeMos D1 (ESP8266)
  • micro 5pin cable
  • 92 inch text OLED display
  • DHT11

About this project

Show the digital watch on OLED display which has alarm, stopwatch, timer function.

It also has humidity and temperature on the display.

How it works

There are four buttons on each corner of the screen.

Left-top button(Serial #1) is a Mode button which can change mode.

( day-changing mode -> time-changing mode -> alarm mode -> stopwatch mode -> timer mode)

If you choose this buttom, a line will be drawn on the function that is about to change.

Left-bottom button(Serial #2) is a adjust button which can adjust the setting.

Right-top button(Serial #3) can raise the time setting.

Right-bottom button(Serial #4) can set down the time setting.

Output

그림1

forecast_wemosd1

Components

  • WeMos D1 (ESP8266)
  • micro 5pin cable
  • 92 inch text OLED display

About this project

Get current weather data for a particular city on Earth from OpenWeatherMap.org.

How it works

Connect to the openWeatherMap API https://openweathermap.org/.

You have to sign up and create API key to get current weather data.

Data is in JSON, XML, or HTML format. In this project, I use JSON format.

So you should download a libarary called ArduinoJson version 5.

Output

시연사진