MIDI for the Arduino - Circuit Analysis

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2014
  • A detailed analysis of a Midi Input and Output circuit for the Arduino
    Like my videos? Please consider supporting Notes and Volts on Patreon / notesandvolts
    Read more at www.notesandvolts.com/2014/11/...
    Want to purchase the gear I use? Check out my Amazon Influencer Page: www.amazon.com/shop/notesandv...
  • ХоббиХобби

Комментарии • 210

  • @sandrocavali9810
    @sandrocavali9810 4 месяца назад +4

    Congratulations! 9 years and this video is still superb

  • @mikecarroll757
    @mikecarroll757 8 лет назад +76

    Such a great and rare video to find. It gives a beginner and an advanced lesson all in one. Well done!

  • @sennabullet
    @sennabullet 4 года назад +1

    I just want to thank you very much for making this video. I'd shake your hand if I could! I don't think I have ever seen someone explain a concept quite as well as you did in this video. Beautifully presented. Exceptionally well explained.

  • @Sumida2
    @Sumida2 8 лет назад +7

    Good job. While it will work fine and not damage anything, the schematic in the video is slightly wrong compared to the actual MIDI standard. It is missing one 220 ohm resistor on the TX pin on output side. That will add up to the correct 660 ohms in series when driven from 5V, and not 440 ohms. The current also drops to more like 5 mA, which is the proper value.

    • @xxx7917
      @xxx7917 5 лет назад +1

      HidekiSamba that is correct

  • @SL-jm4rt
    @SL-jm4rt 7 лет назад +7

    This is one of the most clear tutorials I've ever watched. Thank you for the time, detail and clarity. +1 sub.

  • @tinagolph
    @tinagolph 8 лет назад +7

    Your video is very enjoyable to watch. the explanations are easy to understand and for someone whose English is not the native language, your English is perfect.
    thank you

  • @G8tr1522
    @G8tr1522 9 лет назад +6

    This taught me so much more than what I was wanting to know. Great tutorial!!!!!

  • @RabbitRobit
    @RabbitRobit 8 лет назад +10

    This is a clear, clean, informative video.
    I kept thinking about making a "well, actually..." type comment about the performance of a component, then you would say what I would've said.
    Great visuals, great information. Again, great job.

    • @NotesAndVolts
      @NotesAndVolts  8 лет назад +3

      +RabbitRobit9876 Thanks RR! Glad you liked it

  • @matcarpes
    @matcarpes 7 лет назад +1

    I'm amazed by how well you explained everything! Seriously, thanks a lot!

  • @neail5466
    @neail5466 6 лет назад +1

    What can i say you are the best teacher ever i have seen you do not assume that anyone "must or should know this or that" you do it from grass roots...... Exceptional, wish the videos help all. Even those having no background could get all of this....thank you

  • @analytical_computer
    @analytical_computer 7 лет назад +2

    IT WORKED!!! After months trying, I got it working!!! I love you, dude!!! I used an Arduino Uno (clone) and a 4n35 optocoupler to use my old Casio keyboard as a controller in LMMS (a DAW like Ableton, FL Studio...). All it takes are different resistor values and different coding (100 ohms at opto LED, 1K ohms at collector to 5v, and using SoftwareSerial as input pin instead of main RX pin).

  • @vikinglord7252
    @vikinglord7252 6 лет назад

    Epic video! I'm about to start building a midi sequencer for my microcontrollers class and this was a great overview! Now on to some more of your vids!

  • @playinmyblues
    @playinmyblues 7 лет назад

    Great video. I have been wanting to learn about MIDI for a while. It made some things very clear and look for more videos like this.

  • @schrotti788
    @schrotti788 4 года назад +1

    Thank you! I never have seen a video with such detailed explanation. Great!!!

  • @lopyus
    @lopyus 8 лет назад +11

    Nicely explained! You earned a subscriber

  • @andyq2829
    @andyq2829 2 года назад

    Thank you very much . You have opened a door for me to enter into the world of MIDI & Arduino . Very much appreciated .

  • @nickzambrano
    @nickzambrano 8 лет назад +19

    This video is of supreme quality. Subscribed.

  • @sennabullet
    @sennabullet 7 месяцев назад

    What an excellent video! Clear explanations with great graphics! Thank you for sharing your knowledge.

  • @konstanzification
    @konstanzification 3 года назад

    Thank you so much for all the midi videos, I've been watching midi videos for the past few days and yours are the best!!!! Thank you!!!!!!!!!!

  • @t4ttyt3ddyr0ck3r
    @t4ttyt3ddyr0ck3r 5 лет назад

    So glad I found this channel. I've been looking for some examples of how to use the Arduino as a midi controller, but with full explanations, not just images and codes.
    I am wanting to use my Arduino with Multiplexers to make something similar to the massive Midi Box 64 controllers, to build a controller for a VST Midi Modular!

  • @TangoMikePapa
    @TangoMikePapa Год назад +1

    Excellent and well produced video!

  • @eirikolsnes
    @eirikolsnes 7 лет назад +1

    Very nicely done!
    Looking forward to watching the rest right away : )

  • @marvinmatter1501
    @marvinmatter1501 Год назад

    man, you're explaining this in such a great way. the visualisation helps a ton, you taking it step by step makes it so easy to follow. big thanks!

    • @NotesAndVolts
      @NotesAndVolts  Год назад +1

      Glad you liked it!

    • @marvinmatter1501
      @marvinmatter1501 Год назад

      @@NotesAndVolts absolutely. Your guide actually made it possible to build our PolyTape-O-Tron in class. Its 4 Casette players with tape loops, whos motor speed is controlled via an arduino that receives MIDI from DAWs.
      This makes it a 4-voice polyphonic synthesizer. Big fun!

  • @ltlfrari
    @ltlfrari 8 лет назад +1

    THE best explanation of the MIDI interface. Saved my neck already!

  • @erichimmelblau877
    @erichimmelblau877 8 лет назад +1

    Wow, very well explained. I rarely like videos, but this one definitely deserves one.

  • @marcuhrich3784
    @marcuhrich3784 6 лет назад

    This is the best video I've seen on the topic. Nice work and thanks!

  • @markfdesimone
    @markfdesimone 5 лет назад

    This video was excellent! I rarely find resources that do such a good job of demystifying something.

  • @UpcycleElectronics
    @UpcycleElectronics 7 лет назад +12

    Awesome production quality. A very clear, easily understood, and well articulated explanation.
    This was my first encounter with Notes and Volts. (Liked/Subscribed/Commented/Saved to personal projects playlist)

    • @NotesAndVolts
      @NotesAndVolts  7 лет назад +1

      Thanks Jake and welcome to the channel!

  • @kostaschousianiths6076
    @kostaschousianiths6076 Год назад

    Currently studying electronics engineering, attempting a homebrewed project, I can't express enough how clear your explanation of the circuit is. Congratulations for real!!! (instant sub)

  • @thetanil3702
    @thetanil3702 7 лет назад +1

    this is one of the best things i've ever seen on youtube. great work.

  • @litalienvisual
    @litalienvisual 11 месяцев назад

    Great explanations, it really helpsunderstanding the MIDI In circuitry based on the 6N138

  • @boatloan3543
    @boatloan3543 2 года назад

    hey, pal Dave -- thanks so much for this! I was struggling with really erratic signals from my optocoupter but as soon as I added the 4.7K drain resistor, it was rock-solid. Your diagrams and explanations are top-notch.

  • @davidecarollo70
    @davidecarollo70 11 месяцев назад

    The best midi explanation on yt! Great!👏👏👏

  • @tehedx
    @tehedx 2 года назад +1

    Thanks a lot for explaining every component and its purpose in the circuit! This really helped refreshing my memory (20+ years ago). Currently building a MIDI-thru box as a warmup project :)

  • @sv1onk
    @sv1onk 2 года назад

    The most well documented video I ever watched. Congratulations.

  • @wackojacko1997
    @wackojacko1997 8 месяцев назад

    Super helpful video. Very well done -- direct and to the point. Nothing wasted and very clear. Thank you.

  • @cruepprich
    @cruepprich Год назад

    Beat and clearest explanation I’ve seen on electronics period! Thanks!

  • @sambanks2996
    @sambanks2996 2 года назад

    Excellent tutorial thanks!

  • @squarefrog
    @squarefrog 8 лет назад

    Came here looking for why you need the optocoupler on the midi in. Now I know how that entire circuit works. Excellent video, keep them coming!

  • @improziv
    @improziv 8 лет назад +2

    Excellent tutorial!!

  • @EBJ0
    @EBJ0 4 года назад

    Excellent work. It is great to find a well done explanation of this circuit. Thank you!

  • @Johnzoful
    @Johnzoful 8 лет назад

    Fantastic video, I'm just getting into all this stuff and this kind of circuit-first approach is super helpful. Thanks so much!

    • @NotesAndVolts
      @NotesAndVolts  8 лет назад

      +Johnzoful Thanks Johnzoful! Glad it helped.

  • @TATO10892
    @TATO10892 9 лет назад

    What a magnificent explanation. You've earned an Argentine subscriber. Nice work.

  • @HRSCourses
    @HRSCourses 4 года назад

    Thanks for this really clear explanation. Never knew this, now I know.

  • @pekkagronfors7304
    @pekkagronfors7304 7 лет назад

    Revisited this video again. This is really god stuff.

  • @lucaguglielmetti3806
    @lucaguglielmetti3806 3 года назад

    this tutorial is amazing!
    congratulation for the channel

  • @StevenFAllen
    @StevenFAllen 8 лет назад

    Very good series. Tahnks

  • @the_rabbit
    @the_rabbit Год назад

    This is amazing. I'm building an Arduinoboy and this just helped me understand what the hell I am actually doing.

  • @bubuElec
    @bubuElec 2 месяца назад

    Amazing video !! ⭐ Thanks man 🙏

  • @autofigure00
    @autofigure00 6 лет назад

    that was extremely informative and helpful

  • @NerchiaFresca
    @NerchiaFresca 6 лет назад

    amazing video. good job!

  • @Boxcow45
    @Boxcow45 7 лет назад

    Great tutorial. Love this channel!

  • @VasaMusic438
    @VasaMusic438 9 лет назад

    What a Great Tutorial !!!
    The best I ever met !!!
    Thanks

  • @cbmeeks
    @cbmeeks 9 лет назад +1

    That was awesome!

  • @Colin_Ames
    @Colin_Ames 8 месяцев назад

    What an excellent tutorial. You could not have made it any clearer!

  • @motelflamingo
    @motelflamingo 8 лет назад

    Great videos, man! Thanks, I'm stunned.

    • @NotesAndVolts
      @NotesAndVolts  8 лет назад

      +Guilherme Barros Thanks Guilherme! Glad you like them

  • @snugglepuff33
    @snugglepuff33 6 лет назад

    This is just an amazing channel.

  • @pionyir
    @pionyir 4 года назад

    great tutorial! thanks for sharing

  • @DeathmetalSaiyan
    @DeathmetalSaiyan 7 лет назад

    Perfect explanation!! Keep doing your thing man :)

  • @nathanbotts2498
    @nathanbotts2498 6 лет назад

    Awesome explanation! Many thanks!

  • @BohicaJones22
    @BohicaJones22 7 лет назад

    Thank you for this playlist :)

  • @zaidhussain5206
    @zaidhussain5206 7 лет назад

    Thank you so much for details , very informative

  • @ignaciodelvillararce4925
    @ignaciodelvillararce4925 6 лет назад

    Amazing video

  • @els1f
    @els1f 8 лет назад +2

    this is great, you're great... thanks!

  • @ivanex12
    @ivanex12 7 лет назад

    awesome video!

    • @NotesAndVolts
      @NotesAndVolts  7 лет назад

      Thanks Ivan!

    • @ivanex12
      @ivanex12 7 лет назад

      i want to make a footswitch for amplitube with my arduino. what tutorial i need to see for make something like this?

  • @studennison5434
    @studennison5434 6 лет назад

    Superb!

  • @SteveDavidsonGuitar
    @SteveDavidsonGuitar 7 лет назад

    Holy smoke! That was clearer than 8k res.......SUBSCRIBED!

  • @TheEleventeen
    @TheEleventeen 4 года назад

    Wonderful video ! I instantly subscribed ! X🤘🏻X

  • @thierryeymard9259
    @thierryeymard9259 8 лет назад +1

    fantastic,very well explained...thx

  • @caritas3015
    @caritas3015 9 лет назад

    Fantastic tutorial, I love the graphics also. Just the right amount of detail always validated by an example. Well done! I am definitely a subscriber now and cannot wait to see your website. Thanks and keep it up, please?

  • @gismosgadgets8343
    @gismosgadgets8343 7 лет назад

    thank you so much for this video. was just what i was looking for. keep up the good work. ~GG

  • @alkatechnology
    @alkatechnology 10 месяцев назад

    interesting explanation brother, keep spirit to give us good information bro

  • @AlessandroGiancane
    @AlessandroGiancane 3 года назад +1

    Serial transmission (in particular MIDI) begins from the least significant bit up to the most significant bit. So, 10010100 at the beginning of the video actually has to be read as 00101001, which is not a MIDI message. Other than that, GREAT video!

  • @BrunoDiMicco
    @BrunoDiMicco 9 лет назад +2

    awesome, thanks a lot

  • @vibertthio
    @vibertthio 8 лет назад +1

    really great even for student majoring in EE

  • @JamesHumberstone
    @JamesHumberstone 8 лет назад

    Superb video. Wow.

  • @rsrini7
    @rsrini7 6 лет назад

    No Collage / School can teach better than this in 16 mins. Actually i watched this video couple of times to understand it better. Please help to share your knowledge. I am from India and teaching my students. Thanks.

    • @NotesAndVolts
      @NotesAndVolts  6 лет назад

      Thanks Srini! I'm glad you like it. Say hi to your students for me :)

  • @tubeDude48
    @tubeDude48 5 лет назад

    Although I understand all of this and have built a number of Boxes with a number of: IN / OUT / THRU Jacks; your instructions
    are Right-On.

  • @geraldoribeiros
    @geraldoribeiros 6 лет назад

    Excellent video. Please do a tutorial talking about rotary encoders and MIDI controllers.

  • @pockeybearmilk264
    @pockeybearmilk264 7 лет назад

    very very goooood video , thank you .

  • @zsoltnagy2403
    @zsoltnagy2403 5 лет назад

    thank you, thank you & thank you!!! you are awesome

  • @pantalalabs
    @pantalalabs 7 лет назад

    awesome!!! thank you

  • @dasuino
    @dasuino 7 лет назад

    Muito obrigado por compartilhar isso!
    VIREI Fã do canal e do site!

  • @lloydrmc
    @lloydrmc Год назад

    As happens frequently with such things, I knew most of it already. It's always nice to have all the various gaps in my knowledge filled in and integrated.
    Most importantly; the style and manner of your presentation is simply marvelous: perfect pacing, pleasing little animated flourishes, and seamless repetition and summarization.
    RUclips originally served me an episode later in the series, and I'm glad I decided to load the Playlist and watch all of your videos on this subject.

  • @jimscobie6646
    @jimscobie6646 7 лет назад

    you guys make great videos. I still have no idea what you are talking about but you say it well. lol

  • @aleviste19
    @aleviste19 9 лет назад

    This is a great video. It has cleared up lots of my electronic questions about midi. I'm currently working on a project that would take audio clock and translate it to midi clock. Do you think you could make a video that explains how to create the 10 bit streams that allow midi to be entered into the arduino

  • @robfielding8566
    @robfielding8566 8 лет назад

    I'm building a MIDI filter with Arduino Pro Mini, and noticed the odd thing about gnd of MIDI out being connected at one end of the cable. I was able to get the board to come up with power from a MIDI in. It can't use the optocoupler (because it gets power from IN).
    It works (a MIDI IN/OUT filter that can be reprogrammed with Arduino code). The main deviation is that I connect the IN.4 (pin 4 of MIDI IN) straight to regulated power), IN.4 to 220ohms to 5v, IN.2 to ground, IN.5 to rx. Then I think it's OUT.5 to tx, OUT.4 to 220 ohms to vcc.

  • @CrisPlebeu
    @CrisPlebeu Год назад

    Thank You very much for making this precious video! Win a subscripted!

  • @LittlestPetShopEsp
    @LittlestPetShopEsp 9 лет назад

    Excelent!
    Subscribed!
    (Considering being a Patreon)

    • @NotesAndVolts
      @NotesAndVolts  9 лет назад

      LittlestPetShopEsp Welcome aboard! And thank you for your support!

    • @NotesAndVolts
      @NotesAndVolts  9 лет назад

      LittlestPetShopEsp Welcome aboard! And thank you for your support!

  • @TutosIngenieria
    @TutosIngenieria 8 лет назад

    Excellent tutorial, how did you do it?

  • @jeffbeck6501
    @jeffbeck6501 9 лет назад +2

    This is what a perfect video looks and sounds like. It felt like I was getting high.

    • @NotesAndVolts
      @NotesAndVolts  9 лет назад

      Thanks Jeff! I really appreciate the support.

  • @robertrobert5583
    @robertrobert5583 4 года назад

    An excellent video. Thank you for posting it. I wonder if you might consider not using background music though? My type of hearing impairment makes speech harder to follow against background noise. Best wishes.

  • @pratik1213
    @pratik1213 Год назад

    You are awesome

  • @GustavoMM1972
    @GustavoMM1972 4 месяца назад

    Hola, una consulta, el 6n138 solo necesito para la entrada midi? Mi proyecto es enviar comandos CC# a un roland gr-55, necesito poner un 6n138 en el circuito de salida? Gracias

  • @iddeegee
    @iddeegee Год назад

    UPDATE. I could get it to work with 4n35 only (sw serial is not a good idea for midi lots of misses so RX is a way to go). Same diode between 1 and 2, 1 goes to (midi 4) thru R1 (220-330+ Ohm)... (use any you have), 2 goes to (midi 5). 4 goes to GND, 5 goes to RX and thru R2 (800-1.2K) to 5V. That's it. 3 and 6 pins are not used.
    OLD
    I cannot get it to work with 6n136, PC817, 6n138 all of them work separately, but not together with the Atmega328p. Tried 2 different functional midi outs. Tried it with 2 new Arduino Nano, with a standalone atmega328p on a board (with all required components) Rx,tx are workings because I use them to upload code via USB-TTL.
    I've tested the schemes manually by connecting +5v to pin4 and ground to pin5, so i can get LOW signal out of RX, which I can read on any digital or analog inputs, even if connected to rx on arduino. So it works by connecting external VCC. But if I connect to midi outs (tried 2 different 1working with 100% working cables) to this scheme it just does not react at all... It does not read. I've tried Midi input test example, serial software, just serial with baud rate 31250... it just does not work and I don't understand why.

  • @yusun5722
    @yusun5722 6 лет назад +1

    Very good videos. One question I have is that at 10:28: how can the diode has 5V when there are two 220 ohm resisters are connected in serial?

    • @mstergtr
      @mstergtr 5 лет назад

      You're right, it can't be 5 volts. The principle should be the same with the lower voltages amounts I suppose.

  • @bivouacrecording3412
    @bivouacrecording3412 4 года назад

    Do a video on MIDI in out communication via Bluetooth LE to Arduino please!!! What libraries do I use, code tips, etc. That would be very helpful! Thanks!

  • @krzysztofwitkowski6982
    @krzysztofwitkowski6982 9 лет назад +3

    Unfortunately, MIDI out circuit from this video can destroy ATmega IC. (I done it two times ;/)
    You should use transistor to separate microcontroler pin from MIDI out.
    But still very good video, analysing of in and out circuits helped mi to understand how actually MIDI transmission works

    • @abhilashpatel1809
      @abhilashpatel1809 5 лет назад

      can you please give more information on whyATmega IC get failed.

  • @mindseyetechnology4095
    @mindseyetechnology4095 2 года назад

    great video - how about a version with no music track ?

  • @EytanKoch
    @EytanKoch 2 года назад

    Great video! I totally subscribed! I'm confused about one thing, though. Wouldn't there be a voltage drop as the 5 volts goes across the two 220 ohm resistors?