...v0.1.0
projectsmy projectsstarred
// what is sparkbench

Hardware development platform that combines a code editor, circuit simulator, PCB designer, and AI agent into one tool. Write Arduino firmware, simulate it on a cycle-accurate AVR emulator with real component models, generate KiCAD PCB layouts, and debug with an AI that has full context on your entire embedded project.

// under the hood

The simulator runs avr8js (ATmega328P emulator at 16MHz) with a custom I2C/SPI/USART bus, GPIO port model, and timer/PWM engine. Components are wired to MCU pins at the register level — the servo reads real Timer1 ICR pulses, the SSD1306 processes actual I2C transactions, the rotary encoder generates quadrature signals on interrupt pins. SparkBench CI runs these simulations headlessly with YAML test scenarios.

avr8jsNext.js 16React 19MonacoThree.jsKiCanvasPlatformIOAgent SDKMCP
projects0
no projects yet