* fixed boardname issues * refactored servo info * coffee cup monster lesson skeleton * display event source id / value in advanced section * normalized project structure * updated project name * Update projects.md
2.0 KiB
Make
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/code
NEXT: beat box