Arduipiano
We are going to describe how to make a piano on which you can play with your feet.
Materials
An Arduino Mega board
12 resistances of 4,7 MΩ and 1 de 220 Ω
Adhesive
Flooring
Aluminim foil
Male + female cables
The Circuit
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
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
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
Each note was wired to the Arduino board.
To link the Arduino board and the breadboard, we 3D printed a bracket.
MIDI Connector
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
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
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
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!
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.