So today I finally put everything together and tried running the code.
Note to self: Don't do it on your bed...it is flammable. So I found out the voltage used for my power is WAYYYY too much and caused it to smoke and smell like burning plastic. So I did take a bit of a break to re-think my decisions on this project and why I decided to do this one my bed.
0 Comments
I have at last have the materials needed for my idea. Using my Yr9 knowledge of circuits, I knew I had to create a parallel circuit which will be how the notes will be played. This was the rough schematics I was following. Basically D2 is the initial pin and then the other pins are the receiving pins. Using capacitive sensors on the Arduino, if it sense any change in the flow of current within the parallel circuits then it will hypothetically play a sound.
So today I deiced to have an attempt at block coding my idea. Honestly it was literally all guessing and hoping once I run it and put it together it somewhat made sense. I used Blockly@rduino to code my idea. I chose to use block coding because it was a lot easier to see and understand, also it mitigates the need to learn c++ or python language. As you can see it is very colourful and pretty but I still don't know if it will run. So It is time to get all the materials and see if these efforts have paid off!
So here begins my journey through of coding.
Why did I have to choose such difficult project...idk...brain But nevertheless we begin on this journey. I started of with Mr. Google and typed "Why is coding scary"...hehehe kidding but I searched up "arduino" and "music" to see what I could use as inspiration. Honestly everything looked hard. Like I didn't understand what anything said. So I said scrap that, and decided to do what I know. After the presentation by Rowena and Renee, I remembered I roughly know how to Block code properly and I did have a scaffold on how to code notes. So put two and two together you get an Arduino paper piano. This idea is probably gonna be the death of me but we will see how it goes! |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |