
Simon
photon-cat/sb-private
SparkBench combines what normally takes 5 separate tools into one browser-based workbench: a code editor, circuit simulator, MCU emulator, EDA/PCB designer, and an AI engineering partner — all working together so you…

SparkBench combines what normally takes 5 separate tools into one browser-based workbench: a code editor, circuit simulator, MCU emulator, EDA/PCB designer, and an AI engineering partner — all working together so you…
Keepthinking is an open-source printed circuit board by photon-cat, from the photon-cat/sb-private repository on GitHub. It is a 2-layer board of 68.6 × 53.3 mm with 10 parts on 17 nets, routed with 2 tracks and 0 vias.
It belongs with the AVR (ATmega, ATtiny) boards of this library.
All-in-one hardware development platform powered by Claude Opus 4.6
SparkBench combines what normally takes 5 separate tools into one browser-based workbench: a code editor, circuit simulator, MCU emulator, EDA/PCB designer, and an AI engineering partner — all working together so you can go from idea to tested hardware in minutes instead of days.
.kicad_pcb files. Built as a fork of KiCanvas with a full editing layer — component drag-and-drop, footprint rotation/flip, board outline editing (rectangle or SVG import), interactive trace routing, zone drawing, layer management, ratsnest display, courtyard DRC, undo/redo, and a 3D board preview. Everything stays in the KiCAD s-expression format so you can open your boards directly in KiCAD..kicad_pcb s-expression format natively. Clipper2 for polygon math, WebGL2 rendering.┌─────────────────────────────────────────────────────────────┐
│ SparkBench Web │
│ ┌──────────┐ ┌──────────────┐ ┌───────────────────────┐ │
│ │ Monaco │ │ Diagram │ │ Sparky Chat │ │
│ │ Editor │ │ Canvas │ │ (Claude Opus 4.6) │ │
│ │ │ │ + Wires │ │ Agent SDK + MCP │ │
│ └──────────┘ └──────────────┘ └───────────────────────┘ │
│ ┌──────────┐ ┌──────────────┐ ┌───────────────────────┐ │
│ │ Serial │ │ PCB Editor │ │ 3D Board Viewer │ │
│ │ Monitor │ │ (KiCanvas │ │ (Three.js) │ │
│ │ │ │ fork) │ │ │ │
│ └──────────┘ └──────────────┘ └───────────────────────┘ │
│ │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ AVR Simulation Engine ││
│ │ avr8js + I2C bus + SPI + USART + ADC + Timer/PWM ││
│ │ Wire components: LED, servo, encoder, SSD1306, ... ││
│ └─────────────────────────────────────────────────────────┘│
│ │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ DeepPCB Autorouter (via MCP SSE) ││
│ │ Extract constraints → Validate → Place → Route → Done ││
│ └─────────────────────────────────────────────────────────┘│
└─────────────────────────────────────────────────────────────┘The PCB editor is a custom-built KiCAD-compatible editor, not a wrapper around existing tools. It reads and writes .kicad_pcb files natively using our own s-expression parser/serializer.
.kicad_pcb files that open directly in KiCADThe PCB editor integrates with DeepPCB for AI-powered autorouting. Two ways to use it:
From the UI: Click "Route with DeepPCB" in the PCB editor's right panel. The board is sent to DeepPCB's cloud autorouter, progress streams back in real-time, and the routed board is loaded back into the editor automatically.
From Sparky: Ask the AI agent to route your board (e.g., "route my PCB with DeepPCB"). Sparky uses DeepPCB's MCP tools directly — extracting constraints, validating, running placement/routing, and saving the result.
The autorouter workflow:
.kicad_pcb filegit clone https://github.com/photon-cat/sparkbench.git
cd sparkbench
npm install
cp .env.example .env.local
# Edit .env.local with your keys:
# ANTHROPIC_API_KEY=sk-ant-...
# DEEPPCB_API_KEY=... (optional, enables autorouter)
npm run devOpen http://localhost:3000 to start building.
SparkBench includes a command-line tool for running tests and AI-powered security fuzzing directly from your terminal.
# Run it via npm
npm run sparkbench -- help
# Or directly with tsx
npx tsx scripts/sparkbench-cli.ts helpsparkbench test <project> [--scenario <file>] Run a YAML test scenario
sparkbench fuzz <project> AI security fuzzer (SparkyFuzzer)
sparkbench list List all projects
sparkbench help Show helpCompile firmware with PlatformIO, then run a YAML test scenario against the headless AVR simulator:
npm run sparkbench -- test combo-safeTest scenarios support: delay, set-control (buttons, encoders, pots, sensors), send-serial, wait-serial, expect-serial, expect-display, and clear-serial.
SparkyFuzzer uses Claude Opus 4.6 to analyze your firmware source code, identify security vulnerabilities, and generate exploit scenarios that run against the headless simulator to prove exploitability.
# Set your API key
export ANTHROPIC_API_KEY=sk-ant-...
# Fuzz the combo-safe demo (has 3 intentional vulnerabilities)
npm run sparkbench -- fuzz combo-safeThe fuzzer:
sketch.ino and diagram.json to Claude Opus 4.6Reports are saved to projects/<slug>/fuzzer-report/.
| Component | Simulation |
|---|---|
| LED | GPIO state → visual on/off |
| Pushbutton | INPUT_PULLUP, interactive click |
| Potentiometer | ADC voltage via slider |
| Servo | PWM pulse width → angle display |
| Rotary Encoder (KY-040) | Quadrature CLK/DT signals |
| SSD1306 OLED | Full I2C controller, pixel display |
| 74HC595 | Serial-in/parallel-out, daisy chain |
| 74HC165 | Parallel-in/serial-out |
| DHT22 | One-wire temp/humidity with sliders |
| MPU6050 | I2C accel/gyro with sliders |
| 7-Segment Display | Via HC595 outputs |
| Buzzer | GPIO state detection |
| Slide Switch | Toggle state |
sparkbench/
├── app/ # Next.js app router
│ ├── api/chat/ # Sparky agent endpoint (Agent SDK)
│ ├── api/deeppcb/ # DeepPCB autorouter endpoint
│ ├── api/projects/ # Project CRUD + build API
│ └── projects/[slug]/ # Workbench page
├── components/ # React components
│ ├── DiagramCanvas.tsx # Schematic editor with wiring
│ ├── SparkyChat.tsx # AI chat panel with diff review
│ ├── KiPCBEditor.tsx # PCB editor (KiCanvas fork)
│ ├── KiPCBCanvas.tsx # WebGL2 board renderer
│ ├── KiPCBToolPalette.tsx # PCB tool sidebar
│ ├── KiPCBLayerPanel.tsx # Layer visibility/selection
│ ├── PCB3DViewer.tsx # 3D board viewer (Three.js)
│ └── SimulationPanel.tsx # Simulation controls + tabs
├── hooks/ # React hooks
│ ├── useKiPCBDrag.ts # Footprint drag + courtyard DRC
│ ├── useKiPCBRouting.ts # Interactive trace routing
│ ├── useKiPCBZoneDraw.ts # Copper zone drawing
│ └── useKiPCBBoardOutline.ts # Board outline editing
├── lib/ # Core logic
│ ├── avr-runner.ts # AVR emulator wrapper
│ ├── wire-components.ts # Part simulation bindings
│ ├── scenario-runner.ts # CI test runnerProblem Statement Two: Break the Barriers — Hardware development requires expensive tools (Altium, oscilloscopes), deep expertise (PCB layout, embedded C), and physical prototyping cycles. SparkBench puts the full hardware development workflow in everyone's hands with an AI partner that understands embedded systems.
Built entirely during the Claude Code Hackathon using Claude Opus 4.6 and Claude Code.
MIT
| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | LED-THT-3mm | LED-THT-3mm | led0, led1, led2, led3, led4, led5, led6, led7 |
| 1 | Arduino-Uno-Shield | Arduino-Uno-Shield | uno |
| 1 | DIP-16 | DIP-16 | sr |

photon-cat/sb-private
SparkBench combines what normally takes 5 separate tools into one browser-based workbench: a code editor, circuit simulator, MCU emulator, EDA/PCB designer, and an AI engineering partner — all working together so you…

gusmanb/logicanalyzer
24 channel, 100Msps logic analyzer hardware and software

byrantech/laptop
anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

joeycastillo/Sensor-Watch
A board replacement for the classic Casio F-91W wristwatch


OLIMEX/OLINUXINO
OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C

rusefi/rusefi
rusefi - GPL internal combustion engine control unit

VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group

hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI
It measures 68.6 × 53.3 mm and has 2 copper layers, 1.6 mm thick.
10 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the photon-cat/sb-private repository on GitHub, at the commit this page was made from: the board is projects/keepthinking/board.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask photon-cat before reusing the design.