# Code Club - Mini Band Project
+<img src="http://farm9.staticflickr.com/8338/8256708023_4a941566e9.jpg" width="500" height="375" alt="photo (2)">
+
Make your own mini band!
You and your friends can form your own finger-sized band and rock out using Raspberry Pi and Arduino.
Learn how to build circuits with sensors and outputs and write a simple programme to control your instruments.
## Maracas
+<img src="http://farm9.staticflickr.com/8346/8257698652_4a99ee24b4.jpg" width="500" height="375" alt="Code Club Miniband">
+
### 1. Make your maracas
Cut 2 short lengths of drinking straw for your maraca handles.
Connect lengths of wire to the connectors of the 2 tilt sensors and then push each sensor into a straw until it presses into the Sugru.
Leave the Sugru to set.
+<img src="http://farm9.staticflickr.com/8222/8256627511_118192e52f.jpg" width="500" height="375" alt="Code Club Miniband">
### 2. Connect the circuit
Connect the +5V port on the Arduino board to one of the pins on the tilt switch (it doesn't matter which way round).
Connect the other pin to an empty digital input on the board.
+<img src="http://farm9.staticflickr.com/8348/8257698572_4157db0b20.jpg" width="500" height="375" alt="Code Club Miniband">
### 3. Program the Arduino
Find a maraca / shaker sound and upload to Scratch.
+## Connecting to the Raspberry Pi
+
+Set up your Raspberry Pi with a power supply and monitor.
+Connect all your Ardunio boards (it's easiest to have one per instrument!) to the Raspberry Pi using USB.
+You will probably need a USB hub.
+
+
## Python glueware
Download the music-maker-hander.py file from the repository. Run it with