Source: https://mokxi.com/teachers/plans/fight-stick
Updated: 2026-11-11

Lesson plan

# Build your own fight stick lesson plan

One button to a full leverless controller on a Pico: SOCD, eight buttons, lit buttons, an OLED and modes.

2 chapters, 5 lessons, about 4 hours, on the Raspberry Pi Pico. Every lesson runs in the browser, with nothing to install.

Start a class from this course

The unit

## Objectives and materials

### By the end, students can

- A button, the directions with SOCD cleaning, then all eight attacks.
- Lit buttons, a screen, mode combos and turbo: the flagship template.

### Materials for the whole unit

- Arcade button x 12
- LED arcade button x 8
- OLED display, 128x64
- Raspberry Pi Pico

Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.

Chapter 1. About 2 h 25 min

## The inputs

A button, the directions with SOCD cleaning, then all eight attacks.

Lesson | Time | What students do

One button, read like a controller Wire a 30 mm LED arcade button to a Pico, light its lamp, and debounce it the way controller firmware does: no added lag at all. | 45 min

- What is in an arcade button
- Run it and press
- Light it
- Debounce without lag
- See what the lockout saves you

Four directions and SOCD cleaning Wire the left-hand cluster of a leverless controller, report it in numpad notation, and clean left + right the way tournament rules ask. | 55 min

- Numpad notation
- Hold left
- Left and right together
- Last win
- Up priority
- Which rule to use

All eight attack buttons Add the eight attack buttons in the two-row layout, keep the pins and names in one table, and report every combination at once. | 45 min

- The two rows
- One attack
- A motion and a button
- Everything at once
- Make the names yours

### Materials

- Arcade button x 12
- LED arcade button
- Raspberry Pi Pico

### Check for understanding

Each student finishes "All eight attack buttons" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Make the names yours".

Chapter 2. About 1 h 30 min

## The finish

Lit buttons, a screen, mode combos and turbo: the flagship template.

Lesson | Time | What students do

Lit buttons with themes Swap in LED arcade buttons, fade each lamp with PWM on its own pin, and give the controller themes that react to every press. | 45 min

- A lamp per button
- React to a press
- Themes
- Brightness
- Tune the fade

The full controller Add the OLED input display, Select, Start, Home and turbo, switch SOCD and stick modes with GP2040-CE's combos, and make the template yours. | 45 min

- The screen
- Change SOCD with a combo
- D-pad or stick
- Turbo
- Make it yours

### Materials

- Arcade button x 8
- LED arcade button x 8
- OLED display, 128x64
- Raspberry Pi Pico

### Check for understanding

Each student finishes "The full controller" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Make it yours".

Your class

## Teach this unit as a class

Start a class from this course and its 5 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.

The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.

Start a class from this course See the demo class

More units

## Other lesson plans

Electronics basics 20 lessons, about 10 h. Embedded on the Arduino Uno 16 lessons, about 12 h. Embedded on the ESP32-C3 13 lessons, about 11 h. Embedded on the Raspberry Pi Pico 7 lessons, about 6 h. Embedded on the STM32F411 6 lessons, about 6 h. C++ on a board 13 lessons, about 10 h. Digital logic and memory 4 lessons, about 4 h. Interactive devices on the Uno 9 lessons, about 8 h. From gates to a computer 23 lessons, about 16 h. Build a claw machine 8 lessons, about 6 h. Build a vending machine 6 lessons, about 5 h. Every unit All the courses as ready-made units, on the teachers page.
