Blueprint

C1 Clock

A multifunctional digital clock to replace a phone on the nightstand.

Created by Padimo Padimo

Tier 5

1 view

0 followers

No Demo Yet

Padimo Padimo added to the journal ago

Frameworks

I started this project about two years ago and assembled the hardware, creating my first ever PCB. However, I never got around to writing code for it, so this is my code journey.

For those of you who want to take my design as inspiration, here are the components I'm using:

  • Arduino Nano RP2040 Connect
  • DS3231 RTC module
  • BME280 (I2C) environmental sensor module
  • APDS-9960 light sensor
  • Waveshare SSD1351 128x128 RGB OLED (1.5")

I'll be building the UI using LVGL and EEZ Studio (something I discovered through this project).

I'll start with the frontend design. I've never used EEZ studio so I'm following this tutorial. I want the time to be shown front and center, with the date up top and weather at the bottom. I'll have both the internal conditions (measured by the BME280) and the external forecast (pulled from OpenWeatherMap over WiFi). I think it would be cool if I used the ADPS-9960 to create a sort of True Tone (adjust the colors according to ambient lighting) but I think the farthest I'm planning to go right now is just color temperature (if dim, night shift).

The font I'm using for the time is called Prototype, it has some nice numbers. Here's what the time will look like:
image

Before I get too deep, though, I want to make sure I have the framework for the night shift. Each theme (normal/night) will have three colors: background (black), foreground (white/off white), and accent (sky blue, orange). Here's what it looks like with the normal theme:
image
And night shift:
image

Next up, the date:
image

Now the internal temperature and humidity:
image

The final UI:
image

I tried to run it and nothing worked. And the build failed. I spent maybe two hours looking at forum threads and chat and claude to help me fix it and didn't work. I will move to hardcoding it now.

Padimo Padimo started C1 Clock ago

3/19/2026 - Frameworks

I started this project about two years ago and assembled the hardware, creating my first ever PCB. However, I never got around to writing code for it, so this is my code journey.

For those of you who want to take my design as inspiration, here are the components I'm using:

  • Arduino Nano RP2040 Connect
  • DS3231 RTC module
  • BME280 (I2C) environmental sensor module
  • APDS-9960 light sensor
  • Waveshare SSD1351 128x128 RGB OLED (1.5")

I'll be building the UI using LVGL and EEZ Studio (something I discovered through this project).

I'll start with the frontend design. I've never used EEZ studio so I'm following this tutorial. I want the time to be shown front and center, with the date up top and weather at the bottom. I'll have both the internal conditions (measured by the BME280) and the external forecast (pulled from OpenWeatherMap over WiFi). I think it would be cool if I used the ADPS-9960 to create a sort of True Tone (adjust the colors according to ambient lighting) but I think the farthest I'm planning to go right now is just color temperature (if dim, night shift).

The font I'm using for the time is called Prototype, it has some nice numbers. Here's what the time will look like:
image

Before I get too deep, though, I want to make sure I have the framework for the night shift. Each theme (normal/night) will have three colors: background (black), foreground (white/off white), and accent (sky blue, orange). Here's what it looks like with the normal theme:
image
And night shift:
image

Next up, the date:
image

Now the internal temperature and humidity:
image

The final UI:
image

I tried to run it and nothing worked. And the build failed. I spent maybe two hours looking at forum threads and chat and claude to help me fix it and didn't work. I will move to hardcoding it now.