pxt-calliope/docs/projects/banana-keyboard/make.md
Peli de Halleux 652abe0892 Wallet (#301)
* adding images

* fixed image path

* half way through instructions

* updating maker instructions

* adding protection section

* renaming making -> make

* fixed link

* added coding section

* updated lessons

* fix broken links
2016-11-03 15:49:29 -07:00

2.0 KiB

banana keyboard - making

Materials

  • @boardname@, battery holder and 2 AAA batteries
  • Bananas
  • Orange
  • Crocodile clips

Steps

Step 1

Using the 1st crocodile clip, connect the end of the crocodile clip onto GND pin on the @boardname@.

Step 2

Using the 2nd crocodile clip, connect the end of the crocodile clip onto the 0 pin on the @boardname@.

Step 3

Using the 1st crocodile clip, connect the second end of the crocodile clip onto based of the headphone jack.

Step 4

Using the 2nd crocodile clip, connect the second end of the crocodile clip onto tip of the headphone jack.

Step 5

Using the 3rd crocodile clip, connect the end of the crocodile clip onto the 1st crocodile clip already clipped onto GND.

Step 6

Using the 3rd crocodile clip, connect the unattached end of the crocodile clip onto the orange.

Step 7

Using the 4th crocodile clip, connect the end of the crocodile clip onto pin 1 on the @boardname@.

Step 8

Using the 4th crocodile clip, connect the unattached end of the crocodile clip onto the banana.

Step 9

Your banana keyboard is ready!

Step 10

Connect your @boardname@ to your computer using your USB cable and run this script:

input.onPinPressed(TouchPin.P1, () => {
    music.playTone(music.noteFrequency(Note.C), music.beat(BeatFraction.Quarter));
});

Tap your banana instrument to play sound against... the fruit!

~button /projects/banana-keyboard/beat-box

NEXT: beat box

~