Student material · Assignment · Unpublished in Canvas

Do: Lesson 2 Wiring and Programming Inputs

Points
5
Submission
url, upload
Canvas state
Unpublished

Save the Day with Smart Electronics · Lesson 2

Wire a button and build a possession arrow

Inputs let the board react to a person instead of just running on its own.

🔌 micro:bit + expansion board
🔘 Button module
5 points
📤 Upload or link
1

Open the Lesson 2 worksheet

Open Worksheet: Lesson 2 Wiring and Programming Inputs and put your name on your copy.

Using the Kitronik expansion kit instead? Use this one: Worksheet: Lesson 2 Wiring and Programming Inputs (Kitronik kit)

2

Wire the button module

Connect the button module to the pin the worksheet names, then write the few lines of code that prove the board is reading it.

Do not move on until a press shows up on the LED display every time.

3

Build the basketball possession arrow

One press flips the arrow to the other team.

Show it to someone who has never seen it and see whether they can tell which team has the ball.

🔘 One press should mean one change

A button held down a beat too long can register as several presses, and your arrow flips twice.

Fix it in the code, not with your finger: wait for the press to end before you let the next one count.

📤 Turn it in

Click Start Assignment at the top right, then upload your finished worksheet or paste the share link to it.

Need help submitting your worksheet? Watch the tutorial below.