Fixes to a couple of projects (#573)

* local commit

* Fixes to a couple of projects
This commit is contained in:
Galen Nickel
2017-11-27 19:14:03 -08:00
committed by Peli de Halleux
parent 5d4e27ce2e
commit 350a98b429
5 changed files with 148 additions and 96 deletions

View File

@ -3,73 +3,73 @@
## Materials
* @boardname@, battery holder and 2 AAA batteries
* Bananas
* Banana
* Orange
* Crocodile clips
* 4 Crocodile clips
## Steps
## Step 1
### ``|Step 1|`` - Connect the ground lead
![](/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@.
Using the **1st** crocodile clip, connect the end of the crocodile clip onto **GND** pin of the @boardname@.
## Step 2
### ``|Step 2|`` - Connect the sound lead
![](/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@.
Using the **2nd** crocodile clip, connect the end of the crocodile clip onto pin **0** of the @boardname@.
## Step 3
### ``|Step 3|`` - Connect the headphone to ground
![](/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.
Using the **1st** crocodile clip, connect the second end of the crocodile clip onto based of the headphone jack.
## Step 4
### ``|Step 4|`` - Connect the headphone sound contact
![](/static/mb/lessons/banana-keyboard-5.png)
![](/static/mb/lessons/banana-keyboard-6.png)
Using the 2nd crocodile clip, connect the second end of the crocodile clip onto tip of the headphone jack.
Using the **2nd** crocodile clip, connect the second end of the crocodile clip onto tip of the headphone jack.
## Step 5
### ``|Step 5|`` - Connect a fruit lead
![](/static/mb/lessons/banana-keyboard-7.png)
Using the 3rd crocodile clip, connect the end of the crocodile clip onto the 1st crocodile clip already clipped onto GND.
Using the **3rd** crocodile clip, connect the end of the crocodile clip onto the **1st** crocodile clip already clipped onto **GND**.
## Step 6
### ``|Step 6|`` - Connect the orange to ground
![](/static/mb/lessons/banana-keyboard-8.png)
![](/static/mb/lessons/banana-keyboard-9.png)
Using the 3rd crocodile clip, connect the unattached end of the crocodile clip onto the orange.
Using the **3rd** crocodile clip, connect the unattached end of the crocodile clip onto the orange.
## Step 7
### ``|Step 7|`` - Connect a second fruit lead
![](/static/mb/lessons/banana-keyboard-10.png)
Using the 4th crocodile clip, connect the end of the crocodile clip onto pin 1 on the @boardname@.
Using the **4th** crocodile clip, connect the end of the crocodile clip onto pin **1** on the @boardname@.
## Step 8
### ``|Step 8|`` - Connect the banana
![](/static/mb/lessons/banana-keyboard-11.png)
Using the 4th crocodile clip, connect the unattached end of the crocodile clip onto the banana.
Using the **4th** crocodile clip, connect the unattached end of the crocodile clip onto the banana.
## Step 9
### ``|Step 9|`` - Complete banana keyboard
![](/static/mb/lessons/banana-keyboard-12.png)
Your banana keyboard is ready!
## Step 10
### ``|Step 10|`` - Test the keyboard
Connect your @boardname@ to your computer using your USB cable and run this script:
```blocks
@ -78,7 +78,7 @@ input.onPinPressed(TouchPin.P1, () => {
});
```
Tap your banana instrument to play sound against... the fruit!
Grab a the orange with one hand. With the fingers of your other hand, tap the banana to play sound. Your banana keyboard is ready!
## ~button /projects/banana-keyboard/code
NEXT: beat box