
PixelWave
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

all labs, docs, code for cs240lx, spr 2026
Pcb lab v2 base is an open-source printed circuit board by dddrrreee, from the dddrrreee/cs240lx-26spr repository on GitHub. It is a 2-layer board of 64.5 × 25 mm with 8 parts on 36 nets, routed with 24 tracks and 6 vias.
It is built around the SK6812. Its parts include 3 capacitors, 3 diodes and 2 connectors.
This is a implementation-heavy, lab-based class. We assume 140e as a baseline and use this knowledge as a springboard to advance quickly through a set of powerful, useful techniques that even many advanced practioners don't know.
Like 140e you'll write custom code from scratch for the widely-used, ARM-based raspberry pi; our code will run "bare-metal" without an operating system, which means we can do interesting things without constantly fighting with a lumbering OS that cannot get out of its own way.
The course workload is significant, but we aim to not waste your time. CS140E is strongly encouraged as a prerequisite, but a sufficiently talented and motivated implementor can make up for its lack (as calibration we usually have two or three people per year do this route).
Same rough format:
Contents:
Differences:
Older versions:
Alot of your favorite staff!
This class is a brutal staff load. 140E last quarter:
240lx has conceptually harder labs than 140e, much smaller staff, and almost 2x last years enrollment.
So unfortunately we do have two draconian rules for survival.
Rule 1: absolutely no labs accepted:
Rule 2: Absolutely no LLM usage for labs or extensions:
Sorry for the negative message. We live in interesting times. The path ahead is unclear other than the neon glare of what has not worked well.
We have 50+ possible labs, so actual contents vary depending on interest.
Always do: Generate executable code at runtime (today)
Always do: Custom pcb:
Always do: Build a bunch of tools using memory faults and single-stepping.
Always do: Speed:
And a few different communication protocols:
Device labs are fun. So we do those too:
More systems-y device labs, by combining into standalone tools:
If we have more kernel hackers some subset of:
Big stuff missing from 140e:
Maybe other boards:
Possible other stuf:
get the class repo:
git clone git@github.com:dddrrreee/cs240lx-26spr.gitdefine the CS240LX_2026_PATH environment variable to
point to where you put the class repo.
# for bash (in .bashrc or similar)
export CS240LX_2026_PATH=<absolute path to your repo>check that everything worked: plug in your pi, and run hello:
% pwd
/home/engler/class/cs240lx-26spr
% cd labs/0-pi-setup
% make
... alot of stuff ...
listening on ttyusb=</dev/ttyUSB0>
hello world from the pi
DONE!!!
Saw donewrite code!
| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | 100nF | Capacitor_SMD:C_0603_1608Metric | C1, C2, C3 |
| 3 | SK6812 | LED_SMD:LED_SK6812_PLCC4_5.0x5.0mm_P3.2mm | D1, D2, D3 |
| 1 | Raspberry_Pi_2_3 | Connector_PinSocket_2.54mm:PinSocket_2x20_P2.54mm_Vertical | J1 |
| 1 | UART | Connector_PinSocket_2.54mm:PinSocket_1x05_P2.54mm_Horizontal | J2 |

hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

conol-ai/openmicrokbd
Open-source recreation of OpenAI's Codex Micro macropad — PCB written in CoHDL, an AI-native hardware description language. Rust firmware (embassy) + companion app (makepad). MIT licensed. https://openmicrokbd.org



cormoran/dya-dash-keyboard
DYA Dash portable wireless split keyboard with 25mm trackball

w4ilun/neofighter
A MIDI controller using arcade buttons with RGB lighting effects

miliar/saiboard
An open-source, wooden electronic Go board that integrates with KataGo.

256foundation/emberone00-pcb
KiCAD design files for the emberOne/00 hashboard
It measures 64.5 × 25 mm and has 2 copper layers, 1.6 mm thick.
8 parts, built around the SK6812. 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 dddrrreee/cs240lx-26spr repository on GitHub, at the commit this page was made from: the board is labs/6-pcb/pcb_lab_v2_base/pcb_lab_v2_base.kicad_pcb and its schematic labs/6-pcb/parthiv_pcb_v2.1/CP2102N.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask dddrrreee before reusing the design.