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.

主站蜘蛛池模板: 有专无码视频| 天堂av高清一区二区三区| 波多野结衣亚洲一区| 91av国产在线| 亚洲男人的天堂在线| 久久人体视频| 99久久国产精品无码| 亚洲第一成年人网站| 精品伊人久久久香线蕉| 日韩区欧美区| 国产精品第5页| 91在线免费公开视频| 免费aa毛片| 亚洲香蕉久久| 国产嫖妓91东北老熟女久久一| 玖玖精品视频在线观看| 国产区在线观看视频| 岛国精品一区免费视频在线观看| 亚洲AV一二三区无码AV蜜桃| 免费A∨中文乱码专区| 亚洲欧美成人综合| 秘书高跟黑色丝袜国产91在线| 香蕉综合在线视频91| 99免费在线观看视频| 毛片免费在线视频| 亚洲熟女偷拍| 国产福利影院在线观看| 亚洲色图综合在线| 香蕉视频在线观看www| 日本欧美午夜| 成人日韩精品| 欧洲高清无码在线| 亚洲欧美在线综合一区二区三区| 日韩中文欧美| 国产福利拍拍拍| 中文字幕丝袜一区二区| 国产福利免费视频| 伊人色在线视频| 亚洲国产天堂在线观看| 国产门事件在线| 欧美激情视频二区| 一级片免费网站| 午夜视频日本| 欧美精品啪啪一区二区三区| 思思99热精品在线| 很黄的网站在线观看| 国产一二三区视频| 日韩美一区二区| 视频一本大道香蕉久在线播放| 日韩国产一区二区三区无码| 亚洲性视频网站| 亚洲精品日产AⅤ| 日韩A∨精品日韩精品无码| 青青热久麻豆精品视频在线观看| 亚洲αv毛片| 国产成人区在线观看视频| 久久久无码人妻精品无码| 黄色网址免费在线| 91系列在线观看| 99久久精品免费看国产电影| 男女精品视频| 999国产精品永久免费视频精品久久| 91久久国产成人免费观看| 18禁色诱爆乳网站| 欧美三级日韩三级| 天堂成人av| av大片在线无码免费| 人妻21p大胆| 精品无码一区二区三区电影| 四虎永久免费地址| 色噜噜狠狠狠综合曰曰曰| 成人福利在线观看| 少妇极品熟妇人妻专区视频| 国产色偷丝袜婷婷无码麻豆制服| 1024国产在线| 久久77777| 国产大片黄在线观看| 欧美yw精品日本国产精品| 亚洲欧美另类中文字幕| 在线精品亚洲一区二区古装| 三级欧美在线| 精品一区二区三区无码视频无码|