Hardware Design This personal hardware project can simulate bass playing. See the Youtube demo video below to qucikly get how it works:
Music is an integral part of our daily life, but for most ordinary people, having a stringed instrument such as a guitar or a bass and taking the time to play it is a luxury. Therefore, we hope to design and build an air bass based on ultrasonic distance measurement, so that people can play the bass easily and practically with less cost and enjoy the music. Compared to a real bass, the features of this selection are as follows.
- detachable, variable handle length, easy to carry
- controllable volume, not disturbing the public
- low production price
- using ultrasonic distance measurement, playing without wear and tear on the fingers, no effort
Compared with the software website of analog bass, the features of this selection are as follows.
- with keys, playing experience is more realistic
- Self-programming, more customizable parts and flexible
- Using ultrasonic distance measurement, more interesting to play
There are five modules involved in this system:
- the MCU module: the Atemega328P chip is chosen as the core of this design, which accepts the data from the ultrasonic range module and the keypad module, sends them to the serial communication module, and then processes them in the software. The processed data is received from the serial communication module and sent to the display module.
- the serial communication module: CH340G chip is selected to realize USB to serial port or USB to print port.
- the keypad module: the TTP224 chip is selected to send the status of the four capacitive keys to the Atmega328P.
- the ultrasonic distance measurement module: the off-the-shelf HC-SR04 ultrasonic distance measurement module is used to measure the distance from the obstacle to the ultrasonic wave and send the data to the Atmega328P.
- the display module: an off-the-shelf 0.96-inch OLED module with a built-in chip SSD1306 is used to display the number of strings pressed by the current user.
The schematic of this board:
The PCB design and outcome of this board: