pxt-calliope/docs/projects/hack-your-headphones/make.md
2019-04-10 11:01:25 -07:00

61 lines
1.6 KiB
Markdown

# Make
## ~avatar avatar
Did you know you could attach your headphones to the @boardname@ to generate sounds?
## ~
# ~hint
**No crocodile clips!?!?!** Use [wires or aluminium foil](/device/foil-circuits)!
# ~
## 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 @boardname@.
## 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 @boardname@.
## 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 @boardname@.
## 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 @boardname@ 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
Watch this video to see how speakers and headphones make sound when connected to your @boardname@.
https://www.youtube.com/watch?v=cxfPNc4Wefo
<br/>
## ~button /projects/hack-your-headphones/code
NEXT: music of light
## ~