Show HN: Capacitor 闹钟
Show HN: Capacitor Alarm Clock

原始链接: https://github.com/ArcaEge/capacitor-alarm-clock

受 ElectroBOOM 的启发,这款由 ESP32 驱动的“电容闹钟”是一个费尽心思且带有戏谑性质的项目,旨在设定时间一到就触发一场戏剧性的电容爆炸。 **主要特性:** * **硬件:** 配备 SSD1315 显示屏、三个电容插槽、USB-C/圆口电源输入,以及用于安全的 10 欧姆限流电阻。 * **连接性:** 支持 NTP 网络对时及基于网页的配置界面。 * **设计:** 紧凑的 72x74x36 毫米外形尺寸。 **操作与构建:** 固件通过 PlatformIO 进行管理。用户可以通过板载按钮或网页界面配置闹钟和设置。设计者指出,目前使用的线性稳压器发热量较大,建议未来改用降压转换器来优化热负载。 **警告:** 本项目涉及具有潜在危险的电气元件。电容爆炸具有破坏性并会产生有害烟雾,用户务必保持极度谨慎。为了达到“最佳”效果,项目建议使用没有顶部泄压槽的大型电容。 完整的文档(包括原理图、物料清单及外壳 CAD 文件)现已提供,供有意通过 JLCPCB 等服务进行制作的人员参考。本项目最初提交至 Hack Club Fallout 杂志。

Hacker News最新 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交登录Show HN: 电容闹钟 (github.com/arcaege)10 分,由 arcaege 于 2 小时前发布 | 隐藏 | 过往 | 收藏 | 1 条评论我制作了一个通过炸掉电容来叫醒你的闹钟。Github 仓库里有更多细节,它是用 esp32-c3 作为微控制器制作的,带有 3 个电容插槽。每个电容插槽上都有继电器,用于给电容施加 15V 反向电压,每个插槽都配有 5.1 欧姆电阻,以防电容短路时进行限流。我还加了一个 SSD1315 OLED 显示屏来显示时间和配置菜单,当然也有一个网页界面。ESP32 还意味着你可以通过 NTP 获取时间。它还可以当作一个小加热器,因为我用了 LDO 把 15V 降压到 3.3V 给 ESP32 供电,我当时懒,没用降压转换电路 :) 帮助 kavyanshkh 17 分钟前 [–] 天哪,这太疯狂了!回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

capacitor alarm clock

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.

Warning

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

  • 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

Also on YouTube here

capacitor.clock.mp4

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 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.

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.

Note

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.

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.

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

magazine page
联系我们 contact @ memedata.com