smart Clock

This is a smart clock which gives time and weather.

The columns and colors indicate the temperature over a 32h time period (1 column = 1h) and the weather logo shows the trend at +4, +9 & +24h.

UPDATE:
The program now propperly displays the weather types
UPDATE Feb. 5th 2025: Change from time API request to NTP request as the API server went down.


BOM:
1x Adafruit Matrix Portal - CircuitPython Powered Internet Display
1x Medium 16x32 RGB LED matrix panel - 6mm Pitch (bought mine on Adafruit)
1x Motion sensor (generic)
1x Black LED Diffusion Acrylic Panel - 10.2" x 5.1" - 0.1" / 2.6mm thick (bought mine on Adafruit)
1x Clear Adhesive Squares - 6 pack - UGlu Dashes
4 M4 screw
5 self taping screw, 3mm diameter


Assembly:

  • Trim the back of the LED matrix, there is two small plastic extrusion to cut.
  • Bolt the base to the LED matrix via the M4 screws
  • Prepare the Matrix Portal as indicated here: https://learn.adafruit.com/adafruit-matrixportal-m4
  • Connect the Matrix Portal to the motien sensor. Respect polarity. (The defaut pin for the sense wire is A4) (solder)
  • Install the Matrix Portal in the case
  • Hot glue the motion sensor to the base. (Adjusting screws must face outside)
  • Install the back panel with the 5 self taping screws.
  • Cut and install the diffuser panel

Arduino:

  • In the arduino IDE, install all the required libraries (https://learn.adafruit.com/adafruit-matrixportal-m4)
  • Place the provided .ino and .h files in your arduino folder and open the smartClock.ino file
  • Create an openweather API
  • Store your wifi credentials and openWeather API in the crendential.h file
  • In the main arduino file (.ino) customise the fields under //to customise
  • Transfer the program to the board
  • The time the display stays on is adjusted on the motion sensor via screwdriver

Have fun :)