Repository navigation
Conversation
Research doc for a custom PCB to replace the V1 COTS assembly in the MAC MCU box, in the feature-doc format so its implementation plan can follow once approved. No firmware, ESPHome config or server changes. - Enclosure constraints first: base-mounted 90x70 mm board with keyed JST-XH cables to lid parts, keep M12 A-coded 8-pin and V1 pinout, IP54/IP65 and temperature targets, antenna/metal keep-outs. - ESP32-WROOM-32E-N4 (WROOM-32D is NRND), same esp32dev pin map, so the existing config works unchanged. - Relay stays a pilot contact only: M12 8-pin is rated 30 V / 2 A, so mains must not run through pins 3/4. Fail-safe low-side driver, second-relay output ANDed with primary drive in hardware. - Tamper moved off strapping pin GPIO12 to GPIO35; CT input on GPIO36; DNP external watchdog footprint; EN supervisor; input/ESD protection. - Draft BOM with LCSC prices looked up 2026-11-25, JLCPCB fees, and a cost comparison against V1 (roughly cost-neutral). - Open questions for Jason (unit count, machine list, mains on M12, fob technology, outdoor scope, hardware/v2_mcu layout). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KQ8DrLoknL3m1Wq3Um6vAe
There was a problem hiding this comment.
Claude Code review
From Claude, via the Claude PR Review workflow -- hence github-actions[bot].
Documentation-only PR adding a research doc (docs/features/custom-mcu-pcb.md) for a custom MCU PCB. No code, firmware, or config changes; no bugs or CLAUDE.md violations found.
No issues found. Checked for bugs and CLAUDE.md compliance.
🔎 10s · 4 turns · $0.1018 · run log
Coverage Report
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Rework the V2 hardware research around Jason's 2026-11-25 answers: single lid-mounted board (LCD, reader, LED on board; button and M12 on short cables), M12 8-pin kept, IP54, 5 + 6 units with ~10 more, <=1 A SELV pilot loads only, no mains on M12, 125 kHz EM4100 fobs. - New reader section: any reader must deliver the full 32-bit EM4100 ID (ESPHome wiegand truncates 26-bit frames to 24 bits) plus card presence. Compares the V1 AliExpress module, ID Innovations ID-12LA (ASCII output parsed by ESPHome rdm6300, Tag-in-Range pin) and an on-board EM4095 + PCB antenna. Recommends ID-12LA for rev A with a Wiegand fallback header, and EM4095 as a separate cost-down study. - Module-vs-dev-board trade-off table; recommends soldered module (WROOM-32E / -32UE share a footprint for metal housings). - Pilot relay changed to a gold-clad signal relay (G5V-1) for VFD dry-circuit inputs; button LED now MOSFET-driven for any LED voltage. - Proposed (not applied) ESPHome diff for the ID-12LA; updated BOM, cost comparison at 10/25/50 units, open questions and milestones. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KQ8DrLoknL3m1Wq3Um6vAe
There was a problem hiding this comment.
Claude Code review
From Claude, via the Claude PR Review workflow -- hence github-actions[bot].
Documentation-only PR adding a research doc (docs/features/custom-mcu-pcb.md) for a custom MCU PCB. No code, config or CLAUDE.md-rule violations found; no new high-signal issues beyond earlier review coverage.
No issues found. Checked for bugs and CLAUDE.md compliance.
🔎 13s · 5 turns · $0.1038 · run log
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Research doc for #208:
docs/features/custom-mcu-pcb.md. Documentation only: no firmware, ESPHome config or server code changes, and nothing ordered. Second revision, reworked after Jason's answers (recorded in section 0).Headline recommendations
wiegandtruncates 26-bit frames to 24 bits, and it must report card presence. Rev A recommendation: ID Innovations ID-12LA (distributor-stocked; ASCII output parsed by ESPHome's built-inrdm6300; Tag-in-Range pin for card presence), plus a Wiegand fallback header. An on-board EM4095 with a PCB antenna is proposed as a separate cost-down study (about $27 per unit cheaper, but needs a new ESPHome component).Needs Jason
Section 14 lists the decisions needed: the reader path, the V1 reader bit format, module vs dev board, button/LED styles, pilot relay type, and OK for
hardware/v2_mcu/.Refs #208.
🤖 Generated with Claude Code
https://claude.ai/code/session_01KQ8DrLoknL3m1Wq3Um6vAe