Week1

In the first week of school, we started the operation of the second-year project 'Sensor-Based Contactless Musical Instrument', which means that users can obtain sound only through induction without directly touching the strings. The functionality of this 'guitar' will be continuously expanded during the project’s implementation.




In the first week, we will complete the following five main tasks:
1. Understand the basic principles of guitar.

2. Test the Arduino Uno.

3. Completed the testing of six IR sensors and ultrasonic sensor.

4. Completed the buzzer and speaker tests.

5. Match the six IR sensors to the different frequencies of the speakers.



First, we test the Arduino Uno through the computer to understand its functions and programming methods.







Connect the six IR sensors to the computer respectively, and judge whether there is an object approaching the IR sensor based on the returned grayscale or distance value.








After completing the six IR sensor tests, the ultrasonic sensor was tested. A median filtering algorithm is added to eliminate the data noise and disturbance of the ultrasonic sensor.










Test the buzzer's sound at different frequencies. The buzzer was found to be less effective at low frequencies. After that, connect the speaker directly to the digital interface and adjust the frequency of the sound wave by controlling the PWM pulse width.









Match the six IR sensors to the different frequencies of the speakers. Different sensors can emit six guitar-like sound waves at the touch of a button.





The final result is shown in the video below.






Next week, we will update and expand more features of 'Guitar', including further changes in sound frequency with ultrasonic distance sensors.
















Comments

Popular posts from this blog

Week4