DIY breath controller with Arduino

Sdílet
Vložit
  • čas přidán 16. 02. 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...
  • Hudba

Komentáře • 56

  • @jasonhoffman6642
    @jasonhoffman6642 Před 6 lety +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.

  • @ignis_32
    @ignis_32 Před 4 lety +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.

  • @Andrea-ww7kj
    @Andrea-ww7kj Před 4 lety

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

  • @mvismara
    @mvismara Před 2 lety +6

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

    • @MrAkpla
      @MrAkpla  Před 2 lety +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 Před 2 lety

      How to creat?

    • @mvismara
      @mvismara Před 2 lety

      @@MrAkpla Here it is: czcams.com/video/rEJR9Xdo96M/video.html

    • @reynaldofernandez8266
      @reynaldofernandez8266 Před rokem

      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

  • @CraigHissett
    @CraigHissett Před 6 lety +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 Před 4 lety

      I would like watching your project.

  • @swatforce3309
    @swatforce3309 Před rokem +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🙏

  • @darrenerickson1288
    @darrenerickson1288 Před 4 lety

    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! 🤓👍

  • @ThelleKristensen
    @ThelleKristensen Před 6 lety

    cool project!

  • @shroomatic
    @shroomatic Před 3 lety

    Yaas.

  • @digitaljawa1145
    @digitaljawa1145 Před 5 lety

    Wao

  • @rodrigofiss7900
    @rodrigofiss7900 Před 3 lety +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  Před 3 lety

      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 Před 3 lety

      @@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.

  • @decaystar
    @decaystar Před 6 lety

    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  Před 6 lety +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 Před 6 lety

      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 Před 6 lety

      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

  • @ghigolaylachannel7802
    @ghigolaylachannel7802 Před 5 lety

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

    • @MrAkpla
      @MrAkpla  Před 5 lety +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 Před 6 lety

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

    • @MrAkpla
      @MrAkpla  Před 6 lety

      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 Před 6 lety

      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  Před 6 lety

      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 Před 6 lety

      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.

  • @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

  • @user-hj9fu5hg7d
    @user-hj9fu5hg7d Před 4 lety

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

  • @akinciaydin
    @akinciaydin Před 5 lety

    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  Před 5 lety +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 Před 5 lety

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

    • @ignis_32
      @ignis_32 Před 4 lety

      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 Před rokem

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

  • @minka866
    @minka866 Před 4 lety

    And the humidity?

  • @TheStudio49
    @TheStudio49 Před 10 měsíci

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

  • @FrankGegna
    @FrankGegna Před 4 lety +1

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

    • @user-hj9fu5hg7d
      @user-hj9fu5hg7d Před 4 lety

      🤣🤣🤣🤣

    • @user-hj9fu5hg7d
      @user-hj9fu5hg7d Před 4 lety

      Good question hehehe

    • @coffeebeatsofficial1349
      @coffeebeatsofficial1349 Před 4 lety +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

  • @minasmash
    @minasmash Před rokem

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

    • @MrAkpla
      @MrAkpla  Před rokem +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.

  • @normietwiceremoved
    @normietwiceremoved Před 5 měsíci

    How much cheaper is this than buying one?

  • @pgtpt
    @pgtpt Před 2 lety

    what the specific chip he says the arduino should have?

    • @MrAkpla
      @MrAkpla  Před 2 lety +1

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

  • @timchan8630
    @timchan8630 Před 5 lety

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

    • @MrAkpla
      @MrAkpla  Před 5 lety

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

    • @wd25a
      @wd25a Před 3 lety

      @@MrAkpla How are you going to be able to reproduce this then?:
      czcams.com/video/CH7JBgIHWjs/video.html

  • @TheStudio49
    @TheStudio49 Před 6 lety

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

    • @MrAkpla
      @MrAkpla  Před 6 lety

      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.

  • @d4eh075
    @d4eh075 Před 3 lety

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

  • @hiroshgilmar
    @hiroshgilmar Před 5 lety

    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 Před 5 lety +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 Před 3 lety

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