Concept
For this production assignment, was working with Zaid. We came up with a simple design of making a piano using the keyboard and the buzzer. the idea was to assign notes to each key and have the input form it. We also added the lcd to see which note is being played, and the a potentiometer to control the contrast of the lcd.
Code
https://github.com/MuhammadArhumSraw/IntrotoIM-MuhammadArhumAzeem
The are two files for this assignment labelled as week9file1 and week9file2. The python file is reading input form the keyboard and while the other is Arduino logic. The part I am most proud of is the serial communication at 9600.
try:
arduino = serial.Serial('COM5', 9600, timeout=1)
void setup() {
Serial.begin(9600)
At the moment its a single click piano. I can;t handle multiple keys Pressed at once. This can a be a future improvement.