Arduipiano

by fthomas89 in Circuits > Arduino

2874 Views, 13 Favorites, 0 Comments

Arduipiano

recto.jpg

We are going to describe how to make a piano on which you can play with your feet.

Materials

DSC_6087.JPG

An Arduino Mega board

A breadboard

cables

12 resistances of 4,7 MΩ and 1 de 220 Ω

5 PIN MIDI connector

USB-MIDI converter

Adhesive

Flooring

Aluminim foil

Male + female cables

The Circuit

arduipiano.jpg

The MIDI socket is connected to the 3 terminals: 5V, Gnd and Tx14.

We used terminals 3 to 10 and 22 to 25.

Terminal 2 is common.

Plan of the Arduipiano

piano gabarit.jpg
scotch.jpg
traçage.jpg
peinture.jpg
recto.jpg
peinture

For our piano, we multiplied by 8 the dimensions of the keyboard of a real piano.

We then delimited the black keys with the adhesive, then spray painted each note.

The outlines of the white keys have been drawn with a black marker.

Wiring

verso.jpg
verso_plan.jpg
câble_femelle.JPG
soudure.jpg

For each note and its upper semitone (Do, Re, Fa, Sol and La) we used a double connector.

For the Mi and Si Notes we used only one connector wire.

We soldered wires to each connector so that the wires could go all the way to the aluminum sheets.

The welds were then protected by the thermosheath.

We then placed the wires under each foil.

Connecting to the Arduino

branchement.JPG

Each note was wired to the Arduino board.

To link the Arduino board and the breadboard, we 3D printed a bracket.

MIDI Connector

convertisseur MIDI.jpg
MIDI_cablage.jpg
MIDI_prise.jpg

To convert our signal with the Mulab interface, we used a MIDI connector inspired by the Arduino MIDI library.

We use a USB-MIDI converter.

Card Support

support_carte.JPG

We made this support to be able to fix the MIDI connector and also to be able to pass the wires.

We used a PVC plate that we bent, then drilled to pass the cables and fix the MIDI connector.

Problems Encountered

sous_couche.JPG

We encountered some issues when placing our piano on the floor. The values on the serial port were very low.

So we isolated our piano from the floor using foam tiles and bubble wrap.

It is therefore necessary to adjust the threshold according to its situation.

The Code

We have chosen to start our scale with the note C 4 (523 Hz, 3C in hexadecimal). But it is possible to:

- modify the threshold,

- add notes,

- change the starting note

Downloads

Connect the MIDI Connector

mulab.jpg

We connected the MIDI connector to the computer and used the Mulab sequencer.

Simply declare the USB port of the converter in "MIDI Setup" It allows you to choose a multitude of instruments.

It's Up to You!

arduipiano2
arduipiano3

We are french students of the Marie Noël College. Our city, JOIGNY, is located in Burgundy. We carried out this project with our teacher François THOMAS.

Imad, Laura, Loann, Yanis, Victor, Côme, Sofiane, Selma, Anthony, Sofia, Tiago, Nathan, Eloan et Lucas.