TPL-11beginnerbutton · LED
Press the button to toggle a red LED on and off.
- Parts on canvas
- 4
- Wires
- 5
01In-browser Arduino lab · Cnipbotics
CNAP lets students write, wire and run real Arduino sketches in one tab — compiled with the official toolchain, simulated on an emulated ATmega328P, and drawn on a live circuit canvas. No boards to buy, nothing to install.
ARDUINO UNO R3 · TOP VIEWEmulated board · pins, LEDs and serial are live
FIG. 1Arduino UNO R3 · top viewSYS-0328
Pick the closest match. Each one opens a working template — sketch, wiring and circuit — that students can run first and change second.
Organised the way a sketch travels: from code to a lit pin.
01Editor
02Compiler
03Simulator
FIG. 2Editor → core → canvasSYS-0328
Code, compiler and circuit stay in step — edit a line, press Run, and watch the pin change.
Clock
16MHz
Cycle-accurate AVR8 core
Flash
32KB
ATmega328P program memory
Serial
9600baud
Default Serial Monitor rate
LEDs in the first lesson, sensors and displays by the end of term — the same parts a classroom kit ships with, each with a wiring guide.
Every template ships with its sketch, a wiring table and the circuit already on the canvas.
TPL-11beginnerbutton · LED
TPL-07intermediateLCD · display
TPL-18beginnerservo · analog input
Six stages, each visible in the playground — so students see what the hardware is doing, not only that it worked.
01
Write
Editor
02
Compile
arduino-cli
03
Flash
Intel HEX
04
Emulate
ATmega328P
05
Render
Canvas
06
Debug
Serial
FIG. 6 · Sketch pipeline · Rev A
Every template carries the sketch, the wiring and the circuit. Here is what the LED Blink template does, line by line — the same code a student would upload to a physical UNO.
Change a delay, press Run, and the LED on the canvas follows.
EXWorked example · led-blink
Walkthrough of the bundled template. Open it to run, edit and re-time the sketch.
Guides and references for planning a lesson or fixing a pin.
Ready when you are
No hardware, no installs — a browser is enough.