updated hack-your-headphone lesson
This commit is contained in:
parent
87d34ba030
commit
a56226c08d
@ -1,12 +1,17 @@
|
|||||||
# hack your headphones
|
# hack your headphones
|
||||||
|
|
||||||
Hack your headphones
|
### @description A beginner maker activity, building a piano from bananas.
|
||||||
|
|
||||||
# micro:bit music
|
### ~avatar
|
||||||
|
|
||||||
|
Build your own music player micro:bit from headphones.
|
||||||
|
|
||||||
|
### ~
|
||||||
|
|
||||||
![](/static/mb/lessons/hack-your-headphones-0.png)
|
![](/static/mb/lessons/hack-your-headphones-0.png)
|
||||||
|
|
||||||
In this project, you will build your own music player micro:bit from headphones. Project duration: 15 minutes.
|
|
||||||
|
## Duration: ~15 minutes.
|
||||||
|
|
||||||
## Materials
|
## Materials
|
||||||
|
|
||||||
@ -14,48 +19,13 @@ In this project, you will build your own music player micro:bit from headphones.
|
|||||||
* Headphones
|
* Headphones
|
||||||
* Crocodile clips
|
* Crocodile clips
|
||||||
|
|
||||||
## Steps
|
## Activities
|
||||||
|
|
||||||
### Step 1
|
* [Connect your headphone](/projects/hack-your-headphone/making)
|
||||||
|
* [Play sounds!]()
|
||||||
|
|
||||||
![](/static/mb/lessons/banana-keyboard-1.png)
|
### ~button /projects/hack-your-headphones/making
|
||||||
|
|
||||||
Using the 1st crocodile clip, connect the end of the crocodile clip onto GND pin on the micro:bit.
|
Let's get started!
|
||||||
|
|
||||||
### Step 2
|
|
||||||
|
|
||||||
![](/static/mb/lessons/banana-keyboard-2.png)
|
|
||||||
|
|
||||||
![](/static/mb/lessons/banana-keyboard-3.png)
|
|
||||||
|
|
||||||
Using the 2nd crocodile clip, connect the end of the crocodile clip onto the 0 pin on the micro:bit.
|
|
||||||
|
|
||||||
### Step 3
|
|
||||||
|
|
||||||
![](/static/mb/lessons/banana-keyboard-4.png)
|
|
||||||
|
|
||||||
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 micro:bit.
|
|
||||||
|
|
||||||
### Step 4
|
|
||||||
|
|
||||||
![](/static/mb/lessons/banana-keyboard-5.png)
|
|
||||||
|
|
||||||
![](/static/mb/lessons/hack-your-headphones-1.png)
|
|
||||||
|
|
||||||
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 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
|
|
||||||
|
|
||||||
![](/static/mb/lessons/hack-your-headphones-0.png)
|
|
||||||
|
|
||||||
You hacked your headphones!
|
|
||||||
|
|
||||||
### Step 6
|
|
||||||
|
|
||||||
Connect your micro:bit to your computer using your USB cable and program [light beatbox](/projects/hack-your-headphones-challenges) music on it. Press the reset button to restart your music player!
|
|
||||||
|
|
||||||
### ~avatar avatar
|
|
||||||
|
|
||||||
Excellent, you're ready to continue with the [challenges](/projects/hack-your-headphones-challenges)!
|
|
||||||
|
|
||||||
### ~
|
### ~
|
||||||
|
47
docs/projects/hack-your-headphones/making.md
Normal file
47
docs/projects/hack-your-headphones/making.md
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
# hack your headphones - making
|
||||||
|
|
||||||
|
### ~avatar avatar
|
||||||
|
|
||||||
|
Did you know you could attach your headhpones to the micro:bit to generate sounds?
|
||||||
|
|
||||||
|
### ~
|
||||||
|
|
||||||
|
### Step 1
|
||||||
|
|
||||||
|
![](/static/mb/lessons/banana-keyboard-1.png)
|
||||||
|
|
||||||
|
Using the 1st crocodile clip, connect the end of the crocodile clip onto GND pin on the micro:bit.
|
||||||
|
|
||||||
|
### Step 2
|
||||||
|
|
||||||
|
![](/static/mb/lessons/banana-keyboard-2.png)
|
||||||
|
|
||||||
|
![](/static/mb/lessons/banana-keyboard-3.png)
|
||||||
|
|
||||||
|
Using the 2nd crocodile clip, connect the end of the crocodile clip onto the 0 pin on the micro:bit.
|
||||||
|
|
||||||
|
### Step 3
|
||||||
|
|
||||||
|
![](/static/mb/lessons/banana-keyboard-4.png)
|
||||||
|
|
||||||
|
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 micro:bit.
|
||||||
|
|
||||||
|
### Step 4
|
||||||
|
|
||||||
|
![](/static/mb/lessons/banana-keyboard-5.png)
|
||||||
|
|
||||||
|
![](/static/mb/lessons/hack-your-headphones-1.png)
|
||||||
|
|
||||||
|
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 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
|
||||||
|
|
||||||
|
![](/static/mb/lessons/hack-your-headphones-0.png)
|
||||||
|
|
||||||
|
You hacked your headphones!
|
||||||
|
|
||||||
|
### ~button /projects/hack-your-headphones/music-of-light
|
||||||
|
|
||||||
|
NEXT: music of light
|
||||||
|
|
||||||
|
### ~
|
@ -1,6 +1,4 @@
|
|||||||
# hack your headphones challenges
|
# hack your headphones - music of light
|
||||||
|
|
||||||
Control sound with the light level.
|
|
||||||
|
|
||||||
### ~avatar avatar
|
### ~avatar avatar
|
||||||
|
|
Loading…
Reference in New Issue
Block a user