01 Today’s mission

Build a goalie.
Block the shot!

Turn a joystick into real motion with an Arduino Nano. One player controls the goalie. One takes the shot. Engineering decides the save.

Analog inputMotion controlGame design
Make the save!
African American and Latino students playing the joystick-controlled soccer goalie game
2players
1moving goalie
180°of servo action
∞ways to invent
TRY Move it right now

Your joystick becomes motion.

Slide the control. The same mapping happens in your Arduino sketch.

Joystick X value512
Servo angle90°
LEFTRIGHT
HOW Signal to save

Three teammates. One smart system.

01

Joystick senses

Your hand changes an analog voltage from 0 to 1023.

02

Nano decides

The microcontroller maps that value to a 0°–180° angle.

03

Servo blocks

The servo rotates your cardboard goalie into position.

90 Minute build

From parts to penalty kicks.

  1. 15 minMeet the parts
  2. 25 minWire the circuit
  3. 20 minUpload the code
  4. 30 minTest & play