Inspiration

Inspiration comes in many forms, and the inspiration for this wonderful creation is called... pickle.

What it does

It produces square waves of eight different frequencies, and when one of the eight pickle "keys" is touched, that key then sends a signal to the arduino to play a certain wave frequency. It does this by using capacitive touch on the pickle "keys".

How we built it

Using an Arduino Mega as the base for the project, eight pickles are connected through a 1 mega ohm resistor each, as well as wires running to and from the pickles to the Arduino Mega. The Arduino is then connected to speakers, which play the square wave tones as you press the pickle "keys". In the code, all you need to do is input the frequencies you want each key to play at, and the Arduino code will calculate all the other values needed to play said frequencies.

Challenges we ran into

The initial idea was to produce different shapes of waves, such as sine waves, sawtooth waves, or triangle waves. This idea did not come to fruition as we ran into a wall with turning the square waves into sine waves. We eventually had to put the idea on the shelf for another day so that we could finish the working square wave prototype.

Accomplishments that we're proud of

We are proud that we got the piano to work at all. We are some what beginners in the area of coding, and so being able to accomplish any kind of working project is something to be proud of. Its not much, but its honest work.

What we learned

We learned more about the port registers and timers that are in Arduinos, as well as learned more about what makes up a digital frequency. We also learned some about producing sine waves, and what you need, but sadly we were not able to produce and proper sine waves.

What's next for Pickle Piano

In the future, we might try to delve deeper into the world of digital sound synthesis with the pickle piano, and truly be able to produce sine waves, as well as combining different shapes of waves to produce new shapes.

Built With

Share this project:

Updates