Posts

Week4

Image
 Week 4 This week is the last week of the entire project process, since the main functions of our project have been implemented and basically completed, we mainly focus on finishing and organizing our projects and preparing for the final presentation. In this week, we are going to complete the following tasks: 1. Finish the entire project by achieving the interaction of software and hardware.  2. Perfect and finish the poster production.  3. Discuss the division of labor in presentation and prepare for the next week.  Firstly, considering that the single-frequency signal output is difficult to couple and not beautiful enough, we consider using a Python source library instead.  In the Arduino uno board, burned into the bootloader, it can simulate the hid-usb, which can be controlled with keyboard. The pronunciation principle is to use serial communication and python audio libiray. In the last, we achieve the connection of computer and Aduino uno so that the fancy...

Week 3

Image
Week 3 Based on that the hardware part of the 'piano' is already taking shape, so we focuse this week on code work for the software, and discussions on posters and sustainability reports. This week, we need to complete these tasks shown below: 1. Code to achieve piano playing. 2. Discuss the production of the poster, including templates, modules, and preliminary content. 3. Discuss the content of the sustainability report and clarify a few key points. The 'piano' on computer is shown below: The code about 'piano' controling is updated and evolved constantly. Firstly, we just create a blank interface with suitable size and color using python GUI. Secondly, we are going to add full piano keys on the interface. After that, functions are added including interactive control, sound (using pygame and piano_list), front on the piano and so on. In this version, only one key can be controlled at one time i.e. there is only one sound at one time. Therefore, after updating,...

Week 2

Image
 Week 2 After completing the original version in the first week, we start to add more cool functions to this 'piano', including touch-free playing, multi-scale conversion and so on . In week 2, these main tasks are waiting to be completed: 1. Build and test the photosensitive circuit. 2. Test and optimize the sound of the 'piano'. 3. Optimize the photosensitive resistors, solve the problem of miscontact. 4, Complete the basic circuit of the second order 'keyboard'. Firstly, we build the circuit of the first order 'keyboard' and burn the code into the Arduino Uno board. The figures below shows the circuit diagrams: Then, we judge whether the function of non-touch pure induction is successful by observing whether the output light source emits light. When the hand is placed over the resistors, the output light will light. The video below shows the test prosess: Successful!  After that,  we are going to test the sound by connecting the buzzer into the circui...

Week 1

Image
 Week 1 In the first week of school, we started the operation of our year-2 project "Touch-sensor Piano", which means the user can get different sounds by touching or even not touching directly different keys. The function of this "piano" will continue to expand during the project realization process, and there will be more surprises. In week 1, we are going to complete four main tasks as shown below: 1. Understand the underlying principles of 'piano'.  2. Test the Arduino Uno. 3. Use the running light to understand the function and programming mode.  4. Build the circuit for the fundamental version. Firstly, the principles are explained by our leader, including use of each components, the connection of circuits, code writing and so on. Secondly, we are going to test the  Arduino Uno by using the running light, at the same time,  the function and programming mode can also be understood.  The video below shows the process of the test of Arduino Uno (pro...