Projects / Ideas / Black Pill bedside alarm clock

Black Pill bedside alarm clock

IntermediateHome LabIdeaReviewed
In short

How do you build a black Pill bedside alarm clock?

A Black Pill reads a DS3231, shows the time and sounds a passive buzzer at a set alarm time, with snooze on a button. Keep the buzzer volume modest and never rely on it as the only wake-up alarm. You need STM32 Black Pill (STM32F411CEU6), ST-Link V2 programmer (clone), DS3231 RTC module, SSD1306 OLED Display, Passive buzzer, Tactile push button 6 mm × 2, Resistor 330 Ω and Breadboard 830 Tie Points.

Level
Intermediate
Time
About 170 min
Parts
8
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

Build an alarm that compares the clock chip time with a stored time.

How to build it

  1. Read the time from the clock chip
  2. Store an alarm hour and minute
  3. Compare once a second
  4. Beep in a pattern until a button is pressed
  5. Add a snooze of five minutes

Related projects

Common questions

What parts do I need for the black Pill bedside alarm clock?

STM32 Black Pill (STM32F411CEU6), ST-Link V2 programmer (clone), DS3231 RTC module, SSD1306 OLED Display, Passive buzzer, Tactile push button 6 mm × 2, Resistor 330 Ω and Breadboard 830 Tie Points.

How long does the black Pill bedside alarm clock take to build?

About 170 minutes for a intermediate maker.