Projects / Ideas / Pico clock with a DS3231

Pico clock with a DS3231

IntermediateLearningIdeaReviewed
In short

How do you build a pico clock with a DS3231?

A Pico reads a DS3231 clock chip with MicroPython and shows the time and date on an OLED, with two buttons to set the time. A coin cell keeps the time; fit it correctly and never charge it. You need Raspberry Pi Pico H, DS3231 RTC module, SSD1306 OLED Display, Tactile push button 6 mm × 2 and Breadboard 830 Tie Points.

Level
Intermediate
Time
About 150 min
Parts
5
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Practise I2C with two devices on one bus.

How to build it

  1. Scan the I2C bus for both devices
  2. Read the time registers
  3. Convert from BCD
  4. Draw the time and date
  5. Set hours and minutes with two buttons

Related projects

Common questions

What parts do I need for the pico clock with a DS3231?

Raspberry Pi Pico H, DS3231 RTC module, SSD1306 OLED Display, Tactile push button 6 mm × 2 and Breadboard 830 Tie Points.

How long does the pico clock with a DS3231 take to build?

About 150 minutes for a intermediate maker.