Making connections (Part 1)

In this lesson, we will experiment with examples of using the micro:bit's General-Purpose Input Output (GPIO) pins to connect it to external hardware components, such as LEDs and speakers.

This quiz includes images that don't have any alt text - please contact your teacher who should be able to help you with an audio description.

Unit quizzes are being retired in August 2023

Why we're removing unit quizzes from the website >
Quiz:

Intro quiz - Recap from previous lesson

Before we start this lesson, let’s see what you can remember from this topic. Here’s a quick quiz!

Q1.What kind of loop was used to iterate through images in the list data structure?

1/6

Q2.Select the line of code that successfully turns off all the LEDs.

Select one (1) boxes

2/6

Q3.In the following line of code, display.set_pixel(x,y,value), what is 'x' referring to?

3/6

Q4.In the following line of code, display.set_pixel(x,y,value), what is 'y' referring to?

4/6

Q5.In the following line of code, display.set_pixel(x,y,value), what is 'value' referring to?

5/6

Q6.If we nest our code in a while True: loop, will it:

6/6

This quiz includes images that don't have any alt text - please contact your teacher who should be able to help you with an audio description.

Unit quizzes are being retired in August 2023

Why we're removing unit quizzes from the website >
Quiz:

Intro quiz - Recap from previous lesson

Before we start this lesson, let’s see what you can remember from this topic. Here’s a quick quiz!

Q1.What kind of loop was used to iterate through images in the list data structure?

1/6

Q2.Select the line of code that successfully turns off all the LEDs.

Select one (1) boxes

2/6

Q3.In the following line of code, display.set_pixel(x,y,value), what is 'x' referring to?

3/6

Q4.In the following line of code, display.set_pixel(x,y,value), what is 'y' referring to?

4/6

Q5.In the following line of code, display.set_pixel(x,y,value), what is 'value' referring to?

5/6

Q6.If we nest our code in a while True: loop, will it:

6/6

Video

Click on the play button to start the video. If your teacher asks you to pause the video and look at the worksheet you should:

  • Click "Close Video"
  • Click "Next" to view the activity

Your video will re-appear on the next page, and will stay paused in the right place.

Worksheet

These slides will take you through some tasks for the lesson. If you need to re-play the video, click the ‘Resume Video’ icon. If you are asked to add answers to the slides, first download or print out the worksheet. Once you have finished all the tasks, click ‘Next’ below.

This quiz includes images that don't have any alt text - please contact your teacher who should be able to help you with an audio description.

Unit quizzes are being retired in August 2023

Why we're removing unit quizzes from the website >
Quiz:

Making Connections Part 1

This will assess your learning from this lesson

Q1.What type of circuit do we need to light up an LED?

1/5

Q2.What does GPIO stand for?

2/5

Q3.How many GPIO pins are on the micro:bit?

3/5

Q4.Which connection on the micro:bit is missing in this sequence: 0 1 2 ? GND

4/5

Q5.Which leg of an LED is positive (anode)?

5/5

This quiz includes images that don't have any alt text - please contact your teacher who should be able to help you with an audio description.

Unit quizzes are being retired in August 2023

Why we're removing unit quizzes from the website >
Quiz:

Making Connections Part 1

This will assess your learning from this lesson

Q1.What type of circuit do we need to light up an LED?

1/5

Q2.What does GPIO stand for?

2/5

Q3.How many GPIO pins are on the micro:bit?

3/5

Q4.Which connection on the micro:bit is missing in this sequence: 0 1 2 ? GND

4/5

Q5.Which leg of an LED is positive (anode)?

5/5

Lesson summary: Making connections (Part 1)

It looks like you have not completed one of the quizzes.

To share your results with your teacher please complete one of the quizzes.

Time to move!

Did you know that exercise helps your concentration and ability to learn?

For 5 mins...

Move around:
Climb stairs

On the spot:
Dance