Lab: Creating a Digital Nametag with BBC micro:bit#
Objective:#
By the end of this lab, you will be able to program a BBC micro:bit to display your name and a animation, effectively creating a digital nametag.
Materials:#
a PC or Laptop
a BBC micro:bit
a Micro USB cable
Instructions:#
Setup: Connect your BBC micro:bit to your PC or laptop using the Micro USB cable.
Programming Environment: Open the BBC micro:bit programming environment on your PC or laptop.
Display Your Name:
Write a program to display your name on the BBC micro:bit’s LED display. Your name should scroll across the display from right to left.
Test your program by uploading it to the BBC micro:bit. Make sure your name scrolls correctly across the display.
Display an Image:
Modify your program to display an image of your choice on the LED display after your name has scrolled across the micro: bit display. You can use a predefined image or create your own.
Test your program again to make sure the image displays correctly.
Create an Animation: Create an annimation with a minimum of two images.
Test your Nametag: After you’ve written your code, download it to your micro:bit and test your device. Make sure the name and animation is displayed as expected.
Troubleshooting: If your program doesn’t work as expected, use your problem-solving skills to identify any issues in your code and fix them.
Presentat your work: Prepare a short presentation to share your nametag with the class.
Reflection: Write a brief report explaining the logic behind your code and how it results in the display of your name and image on the micro:bit.