Plan custom hardware: design, parts, costs, certification and a 3D model #1

Merged
paudrow merged 21 commits from claude/wizardly-gates-q0o1df into main 2026-09-29 08:18:05 -05:00
paudrow commented 2026-09-29 08:17:37 -05:00 (Migrated from github.com)

Adds a hardware/ folder planning the move from the M5Stack CoreS3 (V1) to a custom, all-metal bedside clock that could be sold. It covers a V2 breadboard, a V3 enclosed build, and an optional V4. Firmware and CI are unchanged.

What's in it

  • hardware/README.md: the requirements, every decision so far and why, the version plan, open questions and next steps.
  • DESIGN.md: the electronics.
    • ESP32-P4, rev v3.
    • A 4.1″ AMOLED, sized to be readable from 10 ft, with true black.
    • A 660 nm lamp driven by DC current, so it never flickers.
    • Generated noise plus ambient recordings.
    • Manual time setting on an accurate RTC with a supercap. No Wi-Fi.
    • USB-C power.
  • BOM.md: parts lists for building.
    • Exact parts and links for the V2 breadboard, also grouped by store.
    • Materials, hardware and tooling for the enclosure prototype.
    • Production parts with LCSC numbers.
    • A budget for each stage, and unit cost at 10, 100, 1,000 and 10,000 units.
    • Design-for-manufacture notes.
  • FIRST-BATCH.md: a lean plan for a first run of 10 at about $200, with display options and a pre-order approach.
  • CERTIFICATION.md: what's needed to sell in the US, Canada, EU and UK, costs, and how to pass first time.
  • MANUFACTURING.md:
    • The enclosure: aluminium tube, CNC end caps and an internal sled, black anodized, on a glass base.
    • Plastic-free material choices, CNC design rules, and what the 3D printer is for.
    • Assembly order and how production scales.
  • cad/: a parametric CadQuery model of all three versions.
    • clock.py builds every part and checks every pair of parts for collisions. All three versions come out clean.
    • It writes STEP and STL files into out/.
    • The V2 version includes seven 3D-printable holders: a display stand, breadboard tray, sealed speaker test box and a lamp cradle.
    • viewer.py builds an interactive three.js viewer and a static site from out/. The site deploys to alarmclock.audrow.com through cad/site/wrangler.jsonc.
    • The viewer shows an exploded view, fit checks, costs, where-to-buy links, and STL/STEP downloads.

Review notes

  • Generated files: the viewer page and site bundle are no longer committed. They were copies of out/ and nearly doubled the size. viewer.py rebuilds them with only standard Python, and the tracked hardware/ tree is about 8.7 MB. Please squash-merge so the earlier commits that held those copies don't land in main.
  • Reproducibility: re-running clock.py reproduces out/. Only the STEP header timestamps change.
  • Unconfirmed figures: prices and some part numbers come from web search and are marked where they couldn't be confirmed. The outlines of the 2.41″ board and some breakout boards are estimates, marked as such in the model.
  • Licensing: LilyGO's T-Display-P4 model is GPL. Only its measured dimensions are used; none of its geometry is copied into this repo.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CL9u8wcccZXQeAVwboNhNa


Generated by Claude Code

Adds a `hardware/` folder planning the move from the M5Stack CoreS3 (V1) to a custom, all-metal bedside clock that could be sold. It covers a V2 breadboard, a V3 enclosed build, and an optional V4. Firmware and CI are unchanged. ## What's in it - **`hardware/README.md`**: the requirements, every decision so far and why, the version plan, open questions and next steps. - **`DESIGN.md`**: the electronics. - ESP32-P4, rev v3. - A 4.1″ AMOLED, sized to be readable from 10 ft, with true black. - A 660 nm lamp driven by DC current, so it never flickers. - Generated noise plus ambient recordings. - Manual time setting on an accurate RTC with a supercap. No Wi-Fi. - USB-C power. - **`BOM.md`**: parts lists for building. - Exact parts and links for the V2 breadboard, also grouped by store. - Materials, hardware and tooling for the enclosure prototype. - Production parts with LCSC numbers. - A budget for each stage, and unit cost at 10, 100, 1,000 and 10,000 units. - Design-for-manufacture notes. - **`FIRST-BATCH.md`**: a lean plan for a first run of 10 at about $200, with display options and a pre-order approach. - **`CERTIFICATION.md`**: what's needed to sell in the US, Canada, EU and UK, costs, and how to pass first time. - **`MANUFACTURING.md`**: - The enclosure: aluminium tube, CNC end caps and an internal sled, black anodized, on a glass base. - Plastic-free material choices, CNC design rules, and what the 3D printer is for. - Assembly order and how production scales. - **`cad/`**: a parametric CadQuery model of all three versions. - `clock.py` builds every part and checks every pair of parts for collisions. All three versions come out clean. - It writes STEP and STL files into `out/`. - The V2 version includes seven 3D-printable holders: a display stand, breadboard tray, sealed speaker test box and a lamp cradle. - `viewer.py` builds an interactive three.js viewer and a static site from `out/`. The site deploys to alarmclock.audrow.com through `cad/site/wrangler.jsonc`. - The viewer shows an exploded view, fit checks, costs, where-to-buy links, and STL/STEP downloads. ## Review notes - **Generated files:** the viewer page and site bundle are no longer committed. They were copies of `out/` and nearly doubled the size. `viewer.py` rebuilds them with only standard Python, and the tracked `hardware/` tree is about 8.7 MB. Please squash-merge so the earlier commits that held those copies don't land in `main`. - **Reproducibility:** re-running `clock.py` reproduces `out/`. Only the STEP header timestamps change. - **Unconfirmed figures:** prices and some part numbers come from web search and are marked where they couldn't be confirmed. The outlines of the 2.41″ board and some breakout boards are estimates, marked as such in the model. - **Licensing:** LilyGO's T-Display-P4 model is GPL. Only its measured dimensions are used; none of its geometry is copied into this repo. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01CL9u8wcccZXQeAVwboNhNa --- _Generated by [Claude Code](https://claude.ai/code/session_01CL9u8wcccZXQeAVwboNhNa)_
Sign in to join this conversation.
No description provided.