Show HN: Capacitor Alarm Clock

Hacker News Top Tools

Summary

An ESP32-powered alarm clock that wakes you up by discharging a capacitor through a loud bang. The project includes a custom PCB, 3D printed case, and web interface for configuration.

I made an alarm clock that blows up capacitors to wake you up.<p>There are more details on the Github repo but it&#x27;s made from an esp32-c3 as the microcontroller, with 3 capacitor slots. There are relays on each capacitor slot to put 15v reverse voltage on the capacitor, with 5.1 ohm resistors on each slot for current limiting in case the capacitor shorts out. I also chucked in an SSD1315 OLED to show the time and a menu to configure it, although there&#x27;s a web UI as well. The esp32 also means you can fetch the time from NTP.<p>It also functions as a small heater since I used LDOs to step down 15v to 3.3v for the esp32, I was lazy and didn&#x27;t use a buck converter circuit :)
Original Article
View Cached Full Text

Cached at: 06/17/26, 11:40 AM

ArcaEge/capacitor-alarm-clock

Source: https://github.com/ArcaEge/capacitor-alarm-clock

capacitor alarm clock

capacitor alarm clock

wake up to the bang of a capacitor going off

FeaturesDemoPCBCADFirmwareUsage

CAD image PCB render

Why?

Why not?

This was originally inspired by ElectroBOOM’s capacitor alarm video; this is like a safer (?), more practical and more useable-ish version of that.

Take care when using this, and only do so if you know what you’re doing. Capacitor explosions are quite violent and the fumes aren’t nice to breathe. This project is mostly a high-effort joke and not something practical to use

Features

  • ESP32-powered
    • Configure settings via the webserver
    • Fetch time automatically via NTP
  • 128x64 SSD1315 display
  • 3 separate capacitor slots
  • Up to 3A through the capacitors
    • 10 ohm current limiting resistors to avoid brownouts if the capacitor shorts
  • Power via USB-C or barrel jack (12-15V)
  • Small size (72x74x36mm)

Here’s how it looks:

assembled capacitor alarm clock resting on hand assembled assembled

Demo

Also on YouTube here

https://github.com/user-attachments/assets/c24133be-e630-4c25-ad7a-87afec26e37d

PCB

Images of schematics and more are under the PCB README. A BOM is available under production. I’d recommend using JLCPCB as they seem to have the lowest prices.

CAD files

CAD files for the shell and PCB are under cad/. The README there contains more info, but the Onshape project is available here.

Building + flashing firmware

To build and flash the firmware, you’ll need to use PlatformIO. Install the VSCode extension and open the firmware folder, then follow the instructions in the firmware README.

Usage

Once flashed and connected to WiFi, the display will show the current time. You can go into the settings by pressing “select” (done by pressing both buttons at once). From there, you can use the left and right buttons to go up and down and set the alarm time, schedule, next capacitor slot and more. You can also go into the “about” page to see the clock’s IP.

Once you have the IP, you can go to the web interface at http://<IP>/. Note: some browsers might only try HTTPS (looking at you Firefox), so you’ll need to manually enter the http:// part.

The voltage regulators might heat up a bit during use, this is normal as there’s ~12V of voltage drop across them. It might be a better idea to use a buck converter circuit instead of voltage regulators to step down the voltage. I chose voltage regulators to save on board space, but they do get quite hot. A buck converter circuit would also enable the use of higher input voltages, as the limiting factor right now is thermals.

Sourcing capacitors

When choosing capacitors, you should avoid capacitors with these pressure release slots at the top, as they will reduce the bang. Choose the biggest capacitor you can get that has no top slot.

capacitor comparison

Also try to go as low as possible with the voltage rating to increase reliability, ~16V is where you should aim. These capacitors from LCSC are pretty good, at $3 for 200.

Magazine page

This project was submitted to Hack Club Fallout! Here’s the page for the Fallout magazine:

magazine page

Similar Articles

Show HN: Analog Watch

Hacker News Top

A user shares an analog watch project on Hacker News, likely a digital clock with analog styling.

A nicer voltmeter clock

Hacker News Top

A detailed guide on building an analog voltmeter clock with custom decals, CNC-machined enclosure, and continuous motion hands.

How to build a circular LCD clock

Lobsters Hottest

A detailed tutorial on building a custom wall clock using Waveshare's 7-inch circular LCD screen and a Raspberry Pi, covering hardware components, assembly, and software configuration.