DIY breath controller with Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.พ. 2018
  • LINKS:
    Midi library:
    github.com/FortySevenEffects/...
    HIDUINO
    github.com/ddiakopoulos/hidui...
    Arduino code
    github.com/andreykramer/MIDIB...
    Sensor datasheet
    www.nxp.com/docs/en/data-shee...
    Blogs that helped me during my research:
    gordophone.blogspot.com.es/201...
    mitxela.com/projects/breath_c...
  • เพลง

ความคิดเห็น • 56

  • @Andrea-ww7kj
    @Andrea-ww7kj 4 ปีที่แล้ว

    Nice work, your video has helped me a lot, Im going to subscribe :)
    Greetings and love from Spain !!!

  • @jasonhoffman6642
    @jasonhoffman6642 5 ปีที่แล้ว +2

    Go figure, I wanted to compliment you on how much I liked this project and your video, and good old @Craig Hisset beat me to it! Great work, great explanation, great product and great video! Thanks for sharing.

  • @swatforce3309
    @swatforce3309 ปีที่แล้ว +1

    THANKS a lot! Now I can build my own breath controller and don't have to spend 300£ on a product and 100£ on shipping!! Thanks🙏

  • @ignis_32
    @ignis_32 4 ปีที่แล้ว +5

    Hah. looks like I was making my own arduino breath controller using MPX5010GP at the some time, more or less.
    I am too bad with electronics, so I've ended using calculated moving average math to smooth out the readings. (As far as I understand, you have condenser for that instead).
    Nice to see similar project, found something to learn), thank you.
    From my side I would suggest trying to add some kind of a pass-through, allowing some air going freely. This air leak helps to mimic actual wind instrument playing in a little bit more natural way, but still will create pressure on the sensor.

  • @mvismara
    @mvismara 2 ปีที่แล้ว +6

    Hey, I did the controller exactly as you suggested and it works perfectly!
    Thank you very much!

    • @MrAkpla
      @MrAkpla  2 ปีที่แล้ว +2

      Very glad to hear! Send me the link if you ever upload a video using it, will love to watch it

    • @hari-hi6bn
      @hari-hi6bn 2 ปีที่แล้ว

      How to creat?

    • @mvismara
      @mvismara 2 ปีที่แล้ว

      @@MrAkpla Here it is: th-cam.com/video/rEJR9Xdo96M/w-d-xo.html

    • @reynaldofernandez8266
      @reynaldofernandez8266 ปีที่แล้ว

      can you help me im having some issues my midi see when i blow in but nothing happens ? can can you please send me some instruction? thank you in advance

  • @ThelleKristensen
    @ThelleKristensen 6 ปีที่แล้ว

    cool project!

  • @CraigHissett
    @CraigHissett 5 ปีที่แล้ว +2

    I love this!
    I'm currently working on a Digital Trombone type device using a pressure sensor and ultrasonic sensor to produce the trombone-like control.
    The plan is to mount it to my trombone, along with an Android tablet running FluidSynth and a small amp and speaker for output.
    Ive got the arduino/android part working but have struggled to think of a good way of getting sensor data into the arduino.
    I'd love to take some notes from your video and make a pressure sensor shield for my Pro Micro, with inputs to add the ultrasonic sensor for pitch and also to attach a few buttons for stepping up/down through ranges :-)

    • @minka866
      @minka866 4 ปีที่แล้ว

      I would like watching your project.

  • @darrenerickson1288
    @darrenerickson1288 4 ปีที่แล้ว

    Your first piece in the video.... the sax solo that TunTun played in Mad Max: Beyond Thunderdome? Or on second listen was it Baker Street... thinking Rick and Morty? Either way if so, ten Internets endorsements on your Geek Card, sir. To go with the 50 for doing this and 100 for posting this on YT. Kudos! 🤓👍

  • @shroomatic
    @shroomatic 3 ปีที่แล้ว

    Yaas.

  • @digitaljawa1145
    @digitaljawa1145 5 ปีที่แล้ว

    Wao

  • @minka866
    @minka866 4 ปีที่แล้ว

    And the humidity?

  • @decaystar
    @decaystar 6 ปีที่แล้ว

    This is for controlling software over USB.
    Would it be possible to make such breathcontroller which has midi-out, so you could use it
    to control a hardware synthesizer?

    • @MrAkpla
      @MrAkpla  6 ปีที่แล้ว +1

      Andreas Marco Haven't looked into it but I'm 90% sure you can by hooking some midi module or cable to the arduino. You wouldn't even need to worry about flashing the serial chip if done that way.

    • @decaystar
      @decaystar 6 ปีที่แล้ว

      Thank you for the reply.
      I actually have a Yamaha VL-70-M, which has a breath-controller input and it could be interesting to use a breath-controller with it to get use of its full potential.

    • @manskarnekull8649
      @manskarnekull8649 5 ปีที่แล้ว

      MIDI out from an arduino is really easy, you find the circuit in this tutorial, www.arduino.cc/en/Tutorial/Midi it's just two resistors and it works with the same code

  • @reynaldofernandez8266
    @reynaldofernandez8266 ปีที่แล้ว

    can you help me im having some issues my midi see when i blow in but nothing happens ? can can you please send me some instruction? thank you in advance

  • @ghigolaylachannel7802
    @ghigolaylachannel7802 5 ปีที่แล้ว

    hello! very good project :-) do you have list of components for pcb? more details? tks a lot

    • @MrAkpla
      @MrAkpla  5 ปีที่แล้ว +1

      Hi! Thank you very much. The detailed schematics of the decoupling circuit is on page 5 of the sensor datasheet linked in the description (figure 3) but as I state in the video I wouldn't bother assembling it and just hook up the sensor and the pins on the pcb. Midi protocol is only 7 bits, that is a resolution too low for the decoupling circuit to make any difference.

  • @robman80808
    @robman80808 6 ปีที่แล้ว

    Excellent project! Would it work with an Arduino Nano instead of a Mega/Uno? Thanks

    • @MrAkpla
      @MrAkpla  6 ปีที่แล้ว

      Thank you :) Unfortunately it won't work with a Nano as its USB-to-serial chip isn't compatible with Hiduino, Nano never comes with an atmega 8u2/16u2

    • @robman80808
      @robman80808 6 ปีที่แล้ว

      Thanks. I've got it working with a Nano and serial->MIDI bridge (Hairless MIDI) for a bit of fun. I've just got a Teensy 3.2 so I might try it on that.

    • @MrAkpla
      @MrAkpla  6 ปีที่แล้ว

      robman80808 Well yes, that's an option, I did use hairless midi when prototyping but the degree of usability isn't nearly as high. With hairless midi bridge it's not plug-and-play as it is with hiduino and the multiple software layers add to the latency.

    • @CraigHissett
      @CraigHissett 5 ปีที่แล้ว

      robman80808 hey buddy, an Arduino Pro Micro or a Leonardo would work, with a bit of editing of the code.
      The ATMega32u4 chips used on those boards can be recognised as a HID device natively.

  • @user-hj9fu5hg7d
    @user-hj9fu5hg7d 4 ปีที่แล้ว

    Hi everyone
    ThaT is work good ???
    I want to build one

  • @akinciaydin
    @akinciaydin 5 ปีที่แล้ว

    Hi thanks for your video,I was wondering is it possible to use MPS20B0040-D0-40kPa instead of the other sensor,i can find only this sensor in my country.

    • @MrAkpla
      @MrAkpla  5 ปีที่แล้ว +1

      Hi, if its range goes from 0 to 40kPa (assuming that from the part name) I'm afraid it's not going to be precise enough for this task. Can't you get the one on the video shipped from RS-online?

    • @akinciaydin
      @akinciaydin 5 ปีที่แล้ว

      @@MrAkpla hi thanx for the real quick response i will try it again thank you very much

    • @ignis_32
      @ignis_32 4 ปีที่แล้ว

      I had used MPX5010GP with only 10kPa max pressure, and was not able to blow out the whole range. (only about ~800 of 1024 in arduino reading numbers). It is even with all air going directly to sensor, without any leak, and it was hurting my ears.
      Maybe a pro trumpet player has more mighty lungs, but I do not think blowing so hard into a sealed up pipe worth it, and I believe that 10kPa is an absolute maxium you may need here, and is already an overkill. 6kPa that MrAkpla had used covers all the actually usable range, and probably is even better choice than my sensor.
      Also if you use only part of the range - you loose resolution, Therefore, I do not think that using 40kPa sensor would be a good idea. (roughly, if you blow only 5kPa from a 40kPa sensor, you will have readings from 1 to 255, getting 4 times worse accuracy, compared to 5kPa sensor that will give you 1-1024 range of readings. In reality it is going to be even worse)
      Sorry for necroposting)

    • @yayayavuzseseselim
      @yayayavuzseseselim ปีที่แล้ว

      hocam ne yaptın sende vazgecenlerdenmısın :)((

  • @rodrigofiss7900
    @rodrigofiss7900 3 ปีที่แล้ว +1

    Hello
    is it possible to make a sensor just like the breath controller, with a sound sensor, volume sensor ??
    let's say, playing with a real acoustic instrument saxophone, and with the saxophone microphone volume signal, generate the volume signal to control the sample??
    is it possible???

    • @MrAkpla
      @MrAkpla  3 ปีที่แล้ว

      Sure but you would still need something to control the pitch of the sampled instrument. Maybe you could perform volume + pitch detection from a microphone and use this as input.

    • @rodrigofiss7900
      @rodrigofiss7900 3 ปีที่แล้ว

      @@MrAkpla Yes.
      the idea would be to play in two people one with a real saxophone acoustic instrument and the other with a control keyboard, with saxophone tones to play in pairs or trumpet and trombone
      the idea of the volume controller would be just to control the sample volume to play in pairs only for more real partners.

  • @timchan8630
    @timchan8630 4 ปีที่แล้ว

    Would this sensor work with inhalation? I want to be able to play by both inhaling and exhaling.

    • @MrAkpla
      @MrAkpla  4 ปีที่แล้ว

      No, this particular one doesn't work with negative pressure

    • @wd25a
      @wd25a 3 ปีที่แล้ว

      @@MrAkpla How are you going to be able to reproduce this then?:
      th-cam.com/video/CH7JBgIHWjs/w-d-xo.html

  • @normietwiceremoved
    @normietwiceremoved 3 หลายเดือนก่อน

    How much cheaper is this than buying one?

  • @d4eh075
    @d4eh075 2 ปีที่แล้ว

    Hello, I want to make that, so I want to ask you in detail. Do you have a contact information?

  • @TheStudio49
    @TheStudio49 8 หลายเดือนก่อน

    Hi would you be able to build a Breath controller for me?

  • @Blooduke
    @Blooduke 2 ปีที่แล้ว

    what the specific chip he says the arduino should have?

    • @MrAkpla
      @MrAkpla  2 ปีที่แล้ว +1

      16U2 or 8U2 chip. You can check more details in the project page I have in hackaday
      hackaday.io/project/161678/components

  • @minasmash
    @minasmash ปีที่แล้ว

    can i use Pressure Sensor MPS-2108-100GC ?

    • @MrAkpla
      @MrAkpla  ปีที่แล้ว +1

      If the PSI more or less matches the human range and the form factor is good for using it with a hose, I don't think there would be any problem.

  • @FrankGegna
    @FrankGegna 4 ปีที่แล้ว +1

    the water into the breath (condensation)will broke the arduino (short circuit )

    • @user-hj9fu5hg7d
      @user-hj9fu5hg7d 4 ปีที่แล้ว

      🤣🤣🤣🤣

    • @user-hj9fu5hg7d
      @user-hj9fu5hg7d 4 ปีที่แล้ว

      Good question hehehe

    • @coffeebeatsofficial1349
      @coffeebeatsofficial1349 4 ปีที่แล้ว +1

      I had my leonardo kept outside in rain somehow ... and it's still working perfect -_-
      I got my Uno dirty from mice excreta and washed it with detergent and it works just perfectly

  • @hiroshgilmar
    @hiroshgilmar 5 ปีที่แล้ว

    Excuse me, Andrey, would you please pass the specs on the three capacitors? Here in Brazil there are capacitors with different voltages. For example, the 470pF exists for 50v, 500v, 2kv or 3kv. The of 0,0uF exists of 630v, 250v, 35v. And the 1.0uF has 400v, 50v and 25v. What is the exact voltage of each capacitor I should try to buy? Thanks for the attention and congratulations for the work !!!

    • @Pianoman-cb6yz
      @Pianoman-cb6yz 5 ปีที่แล้ว +1

      Voltage of a capacitor means the maximum allowed voltage applied to the capacitor. If one doesn't know the basics of electrical components and basics of electronics one shouldn't play around with it. However, go free with the lowest values from your list.

    • @ruimigueis5997
      @ruimigueis5997 3 ปีที่แล้ว

      HI,
      Where do the pins from the sensor connect on the analog inputs of the board? A1, A2,...? Thanks! Awesome project!!

  • @TheStudio49
    @TheStudio49 6 ปีที่แล้ว

    Hi can you make one me and how much ???? GREAT VIDEO

    • @MrAkpla
      @MrAkpla  6 ปีที่แล้ว

      Thank you :) Well if I had to make you one I'd have to make some orders to China, and it would take for it to arrive up to two months. I could buy a new melodica hose/mouthpiece for hygienic reasons and send you my breath controller and then build another one for myself, but for it being effort-worthy I'd have to charge you around 100 euros + shipping, if you're up to it we have a deal. But to be honest I'm not trying to make a business on it but to teach everyone how they can make one at their homes for cheap. You can buy a commercial breath controller (tecontroll's) sold for 120€ + shipping and you'll probably be better off with that than with mine.