hack your headphones activity

BBC micro:bit music

In this project, you will build your own music player BBC micro:bit from headphones. Project duration: 15 minutes.

Materials

  • BBC micro:bit, battery holder and 2 AAA batteries
  • Headphones
  • Crocodile clips

Steps

Step 1

Using the 1st crocodile clip, connect the end of the crocodile clip onto GND pin on the BBC micro:bit.

Step 2

Using the 2nd crocodile clip, connect the end of the crocodile clip onto the 0 pin on the BBC micro:bit.

Step 3

Using the 1st crocodile clip, connect the second end of the crocodile clip onto based of the headphone jack. The base of your headphone jack is considered the ground so it is connected to the GND of the BBC micro:bit.

Step 4

Using the 2nd crocodile clip, connect the second end of the crocodile clip onto the tip of the headphone jack. The tip of your headphone jack feeds into the right speaker on the headphone. You connect from the BBC micro:bit pin 0 to the tip of the right side of your headphone. Use the tip of the headphone jack to play sounds.

Step 5

You hacked your headphones!

Step 6

Connect your BBC micro:bit to your computer using your USB cable and run the happy birthday script on it. Press the reset button to restart your music player!