top of page
  • Dror Margalit

Welcome to my Arduino Concert

In tonight's show, our phenomenal performer, Arduino, will perform the famous Bach piece, Prelude and Fugue in C major.

Prelude and Fugue in C major

On its way to performing this piece, our fellow Arduino had to be assigned a frequency to each note. Then, each was played in the order of Bach's Prelude, with a "delay" that matched the BPM of the piece. In this particular example, I set the "bpm" to be 250 milliseconds.

Defining the notes' frequencies (on the left), and "performing" them (on the right).

Last, to make the piece louder, I added a voltage regulator and switched to a 240 ohms resistor with a 100 ohms.

Yonatan Ha'Kattan

Next up, we have a live performance of the famous children's song Little Yonatan (Yonatan Ha'Kattan).

"Conducting" the piece included creating an array of notes (C4, D4, E4, F4, and G4). Then, I used a "for" loop and assigned and mapped the digital pins 3-7 to the values 0-4 (to match the array).

Servo Motor & Telekinesis

What's more fun than moving things using buttons? Using telekinesis!! (also known as phototransistor).

To move the servo motor, I mapped the values of the phototransistor with the angles of the motor. Then, I "wrote" these values to the servo motor. It also worked with other analog sensors.

Recent Posts

Peer-to-peer nose interaction

By Joann Myung and Dror Margalit In this project, we attempted to increase our online presence and create a feeling of proximity. Using PoseNet, we made users control their position on the screen base


bottom of page