- Python 96.8%
- Dockerfile 3.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Fabrication files / release (push) Successful in 1m6s
Reviewed-on: #19 |
||
| .forgejo/workflows | ||
| CamperCanNode | ||
| CanTerminator | ||
| LightingNode | ||
| RelayNode | ||
| scripts | ||
| .gitignore | ||
| CLAUDE.md | ||
| README.md | ||
CamperCan hardware
Circuit boards for CamperCan, an ESP32 and CAN bus control system for campervans. The boards are designed in KiCad 10.
Boards
- CAN node: sits on the bus and drives whatever is wired to it.
- Lighting node: dims six 12 V or 24 V lights, with a button input for each.
- Relay node: switches six mains or 12 V and 24 V loads with relays, five at 10 A and one at 25 A, with a button input for each.
- CAN terminator: a 120 Ω resistor for each end of the bus.
Ordering boards
Each release carries a zip per board with gerbers, BOM and placement files for both JLCPCB and PCBWay. A release is cut when a merge to main changes a board or a case.
To build the same files locally, with kicad-cli on your PATH:
python3 scripts/generate_fab.py
They land in fab/jlcpcb/ and fab/pcbway/ inside each board's folder.
Printing cases
Each board has a printable case, built by a FreeCAD Python script in the board's case/ folder. Each release carries the base and lid as 3MF files. The board's own page lists the screws it needs. The lid is already turned over to print flat side down.
To build them locally, with FreeCAD's freecadcmd on your PATH:
freecadcmd scripts/generate_prints.py
That also writes a .FCStd file next to each script, to open in FreeCAD. To change a case, edit its script and run this again.