999精品在线视频,手机成人午夜在线视频,久久不卡国产精品无码,中日无码在线观看,成人av手机在线观看,日韩精品亚洲一区中文字幕,亚洲av无码人妻,四虎国产在线观看 ?

Technology and musical instrument—Air drum with Arduino Uno

2018-05-14 11:47:32吳宸愷
留學(xué) 2018年17期

吳宸愷

How I started this project?

As a drummer myself, I think it??s quite necessary to practice some rudiments on the drum kit. Whenever I go to places other than my home, a whole set of drum kit seems not accessible. This inconvenient situation triggered my thought. I was thinking that if I could make something portable for my daily practicing and even rehearsal.

The whole process of updating this air drum

Before I have decided to use any software or hardware for my project, I spent much time building the basic structure of how this ??drum machine?? work.

*The final idea is like this:

1.collect data.(distance, gravity, pressure light, etc.)

2.computer read these data

3.data changes, then program start to play sound from the computer

After I decided to work with this basic idea, my first challenge is to find a proper way to collect data from the real world. Since I want to make a low-cost product for practicing, I looked at all the sensors that were accessible to me and had a long period experimenting with different kinds of sensors to test their sensitivity as a trigger. The first part of the drum machine is hand-triggered I took a look of all the sensors I have, and make a list of sensors which may be helpful for our project: Tracking sensor, shock sensor, avoidance sensor, ultrasonic sensor. Since I am not sure about the exact function of some sensors, so I did many experiments to test each sensor. Basically, I plugged in the sensor in my Arduino and write a brief code to get the data. The first one I have tried is tracking sensor, the problem is that it has a quite long delay. Shock sensor didn??t appear in my final project because it required an intense shock to return some data. In comparison, the ultrasonic sensor is much more responsive than those.

I have done lots of coding in Arduino and finally succeeded in collecting the correct distance between the ultrasonic sensor and the moving object(my hands, for example). Then I wrote a program to play the sound file on my computer: if the distance between the moving object and the sensor is smaller than 12, the sound will be played. This is my first version areodrum?? a simple machine to simulate the hi-hat and snare drum.

My next step is to work on the part for my feet. In order to make a tool that is effective for practicing drum, I should at least put 2 triggers on the ground. One acts as the pedal of the bass drum, the other one is for the pedal of the hi-hat. At first, I used two buttons which were put in the middle of a breadboard, but when I actually tested them, I found it is almost impossible to tap that with the foot while not breaking the wires and the resisters. Then I move onto the ??soft spot?? pressure sensor that I had never used before. However, I found it seems not to be so helpful. Using the distance to trigger the sound is not so difficult with a few ??if?? statement, but the detailed method to deal with the data from pressure censor took me a while to figure out.

For instance, what I got from the serial monitor is not the intensity of my force, rather, is just number represent the place of that sensor which seems not so helpful. After lots search about the mechanical of drum pedal, I realized that I have to catch the movement when my foot leaves the sensor and tap on the sensor. I changed my way to program that: one trigger is ??when the number changes from 0 to nonzero?? the other is ??from nonzero to 0??, with this new code, my final program is able to capture this move.

What will this product be like in the future?

I have spent more time than I expected on this project, and at the end of my making this air drum, I was actually thinking that whether I can update this simple drum machine to meet the manufacturer??s standard. Within 5 years, I think all the alternatives and calculations I??ve done on the computer would seem easy in a small chip. The materials of all the pressure sensors and the sensitivity of ultra-sonic censors will be improved a lot. That improvement may make this product meet the standard of a real concert.

主站蜘蛛池模板: 亚洲国内精品自在自线官| 2021国产精品自产拍在线观看| 在线精品视频成人网| 欧美一级黄色影院| 亚洲欧洲综合| 不卡视频国产| a色毛片免费视频| 久久亚洲国产最新网站| 国产日韩久久久久无码精品| 国产丰满大乳无码免费播放| 熟女成人国产精品视频| 亚洲精品黄| 国产一区亚洲一区| 亚洲有无码中文网| 久久久亚洲色| 亚洲第一精品福利| 亚洲无码精品在线播放 | 99青青青精品视频在线| 国产成人精品综合| 亚洲系列无码专区偷窥无码| 日本成人一区| 亚洲欧美不卡中文字幕| 亚洲VA中文字幕| 免费无码网站| 亚洲欧美日韩精品专区| 欧美亚洲一区二区三区导航| 99热这里只有免费国产精品| 天堂成人在线| 亚洲日本在线免费观看| 日日噜噜夜夜狠狠视频| 欧亚日韩Av| 国产91全国探花系列在线播放| 狠狠色综合久久狠狠色综合| 美女扒开下面流白浆在线试听 | 亚洲男女在线| 欧美另类图片视频无弹跳第一页| 69av免费视频| 一区二区影院| 成人午夜视频在线| 好久久免费视频高清| 国产区人妖精品人妖精品视频| 在线看片国产| 亚洲AV无码一区二区三区牲色| 狠狠色丁香婷婷| 亚洲 欧美 偷自乱 图片| 欧美精品在线免费| 亚洲精品午夜天堂网页| 婷婷午夜影院| 欧美日韩国产在线观看一区二区三区| 久久精品中文无码资源站| 国产精品永久不卡免费视频| 小说 亚洲 无码 精品| 久久精品午夜视频| 内射人妻无码色AV天堂| 久热99这里只有精品视频6| 天堂中文在线资源| 国产好痛疼轻点好爽的视频| 亚洲成a人片在线观看88| 波多野结衣久久精品| 91精品福利自产拍在线观看| 欧美成人精品高清在线下载| 欧美人人干| 国产精品页| 成人日韩视频| 国产超碰一区二区三区| 99久久精品美女高潮喷水| 日韩一区二区三免费高清| 天堂成人在线| 永久免费无码日韩视频| 久久精品只有这里有| 亚洲欧美日本国产综合在线| 亚洲国产精品日韩欧美一区| 午夜少妇精品视频小电影| 亚洲美女久久| 日韩乱码免费一区二区三区| 婷婷激情亚洲| 亚洲欧美综合精品久久成人网| 欧美日本在线一区二区三区| 一级一级一片免费| 国产真实自在自线免费精品| 国产乱论视频| 中文成人在线视频|