Arduino MIDI Controller: Part 1 - Potentiometers

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

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

  • @Bruceanddenise
    @Bruceanddenise 2 года назад +3

    Man, I can't tell you how valuable ALL of your videos are! I appreciate how orderly your breadboard work is. It makes it much, much, much easier to follow and copy. It soothes the OCD in me. Wanted to say thanks!

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

      Thank you Bruce!

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

      I'm looking fwd to watching this episode and more after this comment!"

  • @Lugubrisimo
    @Lugubrisimo 9 месяцев назад +1

    Upon finishing the Arduino MIDI project, I have it without the MIDI connector; it's directly connected via the USB cable from the Arduino for the connection. It provides the values that are reflected, but in the DAW Reaper that I use, it doesn't recognize them for assignment, as turning the potentiometer doesn't assign a value.

  • @grittyforest1379
    @grittyforest1379 7 лет назад +5

    Your tutorials are SO on point! Thanks! I took a mini course about arduino and I felt in love with it and I'm willing to buy my first kit in the next few weeks. Your channel is a gold mine to people who are primaly interest in music things and want to give the first steps without being overwhelmed in the beginning by all the electronic and eletric stuff that fill tons of pages in manuals!
    I saw some cool ideas about sequencers, but being a totally dummie in arduinos, the videos that I saw didn't covered with such details as yours. I'm just suggesting that would be awesome if you made some project that can sequence samples, or even synth sounds.
    Thanks for sharing your knowledge!

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

      Thanks Forest! That means a lot :) I'll make a note of your suggestion. Stay tuned

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

    Arduino -> Pure Data -> Loop MIDI -> MIDI OX -> You got it ! :d
    *edit* The arduino patch that is needed is the "Standard Firmata", you can find it in the core libraries

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

    Best tutorial on RUclips, I'll make a mod and pitch wheel for my old Casio keyboard.

  • @andrelenz405
    @andrelenz405 8 лет назад +14

    You just convinced me to going in arduino diy project. Perfect videos, even a noob as me now can try :)

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

      Thanks Andre! Good luck with your build

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

    Man this vid is a life saver ,upload the push button part asap ,gotta finish up a midi controller which i have waited through out my entire life ..............................PLEASE NOTES AND VOLTS UPLOAD THE PUSH BUTTON TUTORIAL ASAP

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

    This is really helpful, I might make something like this to add some more knobs to my microkorg

  • @bhajkiewicz
    @bhajkiewicz Год назад +2

    Hi, could you explain the difference between using 10k and for example 100k potentiometers. I mean what effect will I get using the 100k potentiometer and what 10k. What is the best resistance for potentiometers in midi controllers. Thanks in advance. Good job!

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

    Hi, Great video.
    I have tried this project, but the Arduino nano's TX led is continuously lights up. When I use a button on pin 2 to send note on/off messages it works fine, and the TX led is only lights up on pressing and releasing button, my midi Synth also playing the note, but with potentiometer there is no change.
    I have tested analogue read program to see if there is noise in adc reading but the readings are stable. I have changed the analogue pins from A0 to A7 but the result is the same?
    Please help me to sort this out, please give me a reply.

  • @FlightSim2703
    @FlightSim2703 5 месяцев назад +1

    Well done, thanks so much, I will get started as soon as my part orders delivered, thanks for sharing 🥰👍

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

    wow , man...youre sooo clear and simple to explain , its impossible dont understand, thank you so much and congratulations.

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

    Awesome stuff thanks Dave. I had trouble getting this working, pots working fine, tested them separately. I went to the MIDI output tutorial and in that one you recommend to disconnect the wire coming from the TX pin on the Arduino while uploading the code. I was leaving it connected before and I guess that was the problem because now it works great.

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

    What a great video! Thank you for your attention to very clear and concise details, with no extraneous static - a gem!

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

    This is exactly what I was looking for. Planning to adapt this into a eurorack module.

  • @corvokenway.
    @corvokenway. 4 года назад +1

    Is there any way to change the midi socket to a USB printer socket?

  • @josh.graham
    @josh.graham 8 лет назад +6

    Thanks mate! Fantastic tut, really clear and well explained. Fun project!

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

    Beautiful tutorial! This is a master class on making electronic controllers and midi instruments. Thank you!

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

    The best Arduino/MIDI tut. Thanks!

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

    What's the maximum number of pots that can be used?

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

    5:58 - 6:29 you saved my life:)

  • @araguet
    @araguet 3 месяца назад

    Hi, this video is marvelous and the way you explain is perfect, and I want to try but I'm new with Arduino. I know that this was in 2016 and I want to know if there are an updated version, or I can use the Arduino One that is available today. Saludos desde Buenos Aires.

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

    Great tutorial - anyway to turn this into a midi out on
    USB?

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

    Should the potentiometers still be connected the same if I don't use a midi jack?

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

    The pot works until it is left alone for 2seconds; it stops sending any midi, unitl the unit is reset.. Any ideas?

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

    FANTASTIC for a MiniMoog (Arturia) MIDI control... many Thanks

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

      Glad you like it!

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

      @@NotesAndVolts Would it be possible to use the Arduino's USB socket instead of the 5-pole socket to control a Synth through a DAW? many thanks.

  • @JanKowalski-nm1jh
    @JanKowalski-nm1jh 3 года назад

    Absolutely great video - very informative for non-professionals - thank you very much.

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

    Fantastic tutorial Dave ...Very well presented and clear descriptions of the process.....Well done mate :)

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

    Do you have a favorite model of rotary and linear potentiometers for midi controllers?

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

    Another great video from notesandvolts; love your work man

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

      +Brendan McCloskey Awesome! Thanks Brendan

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

      +Notes and Volts Srsly; very professionally put together, great delivery. Esp the Arduino stuff, check out my builds. I must give the Audiuno a go, looks amazing. Looking forward to many more in-depth Arduino builds.

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

    Love your tutorials on the builds, got some stuff on the way to make me a diy midi to go along with some of my other projects, but would I be able to make the diy controller Bluetooth?

  • @johndouglas4039
    @johndouglas4039 5 месяцев назад

    Fantastic, would this work on a Tinsee 2?

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

    Hi, What about banks with pots or buttons in this code.

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

    Could I possibly build this kind of thing but for 1 single pot that I can install on a guitar?

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

    I have two pots set up, PO1 and PO2. I have tried them on different pins, A0 thru A5) but no matter how I connect it, one pot will trigger both control changes at once. no matter which pot I use, or even if I only wire one of them up. Any idea what to look for?

  • @JamesSBaker-de6sd
    @JamesSBaker-de6sd 8 лет назад

    Thanks Dave, your Arduino - Midi videos are very informative !

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

      +James S. Baker Thanks James! Glad you like them.

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

    what is that midi jack for when there is a usb port?

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

    How many potentiometers can you have with Arduino UNO? only 6?

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

    can i use more than 40 faders and pots

  • @ruhsuzat9291
    @ruhsuzat9291 6 лет назад +11

    Can not I use the usb port instead of the midi jack?

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

      i wonder that too

    • @antoinemay6587
      @antoinemay6587 5 лет назад +2

      @@OREMETOSMusic you have to upgrade the firmware of the ATmega16U2. find a way here: www.instructables.com/id/Custom-Arduino-MIDI-Controller/?fbclid=IwAR1FBU34DJCuBUKMIysFRGIWrwnbeWJHJgp_lR2hldM959bS7eZHUCwGj3w

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

      You can. Google hiduino

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

    If i want a 32 knobs midi controller the procedure Is the same?

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

    Hi your project is very nice and instracable, i try your project but when complle coad gatting error "update button was not declard in this scope".what is problem.pless can halp me.

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

    It may be a basic question/answer, but why do we attach the 220Ohm resistor between the transmit on the Arduion and Pin 5 on the MIDI port?
    Is this similar to adding the 4.7K between Pin 7 on the 6N138 to help discharge capacitive charges?

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

      This is part of the MIDI hardware interface specification. The signal will drive an optocoupler.

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

    Awesome!!! I was able to create a multi-channel 3-D MIDI control using joysticks to control the 3-D pan of live surround sound systems! Thanks a lot for your work, programming isn't my strength!

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

      how did you get the code for this program it dosen't exist in github

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

      @@ghada2235 Video description...

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

    the red connector is midi to usb connector right ?

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

    Great! How can I use these potentiometers to send MIDI Sysex?

  • @kewlbns69
    @kewlbns69 7 лет назад +3

    hey man just wanted to say thanx for this. i built a midi controlled wah with this that i can run with my hand cuz i got 2 bum legs and can't work a traditional one...now i just need to figure out how to get all this stuff in a lil box that i can put on my guitar. :D

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

      Thant's awesome KB! Sounds like a really cool project.

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

      still working on it. i had it working set up the way you do it but when i tried to install the pot into an extra enclosure suddenly it didn't work. i used a couple TRS plugs and TRS cable to connect the two...i think my soldering job is just garbage and i need to redo it lol.

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

    Hi. Excelent tutorials. Thanks for the information. Im working on this controller but I have 160 ohm resistors. This could work or I need 220ohms? Thanks. Cheers from Buenos Aires

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

    Does the tolerence of the resistors matter in this build?

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

    Hi. I am a beginner. Can somebody say me whats the examen name of the "midi module" for buy it ? Thanks.

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

    This video is perfect!
    Is there any way we can send pitch bend message through pots? I am trying to make a control surface using MCU protocol, and it requires pitch bend messages to be sent for controlling faders in the DAW.

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

    Don't you want a small value capacitor to decouple the midi jack? Some midi devices don't play nicely and could burn out the uno.

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

    I tried this and used just two pots, the pots are used at foot expression pedals (10k Linear each) when it's set to just one it works perfectly but when I add the second pot the midi info in OX just keeps scrolling, even when the foot pedal is not even plugged in. Also if it is just set to use one pot and I plug the foot controller into the second pot socket it still recognises something is plugged in and keeps scrolling, what's going on here then?!

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

    Great! Thanks!
    What about encoders (infinite pots) and motorized faders? Would be great to have such video.
    I started (and already freezed) a project couple months ago making something like Mackie MCU (or any other control surface) with Arduino. Their price is very high and it would be great to have such video on this subject as everybody would want to make something similar at home for their home studio.
    Thanks again for such useful video.

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

    Firstly, great video! Extremely helpful and clear. Secondly, has anyone tried using different potentiometer values such as 100k? Are there any significant changes and do you need to adjust the code?

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

      Of course the values will be different, the potentiometer will go from a minimum of 0 to a maximum of 100k, so you need to divide the analog signal by 70 instead of 7 in order to make it work as the same, otherwise the potentiometer will reach the midi limit value 127 really soon and it will not work for the rest of the potentiometer spin

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

    Great video thank you, i would like to take example for a flight simulator application. What is the limit of potentiometers and buttons that can be added to an arduino?
    thank you so much.
    Marco

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

    in my case it works perfect until I put the potentiometer number 4, it sends constantly midi signals although I do not want, could someone help me ?.

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

    it is sooooooo well explained it is mindblowing

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

    Hey! I wonder why do you have to make these signals MIDI CC? Wouldnt it also be recognized by DAWs if you connect the circuit with the Arduino via USB?

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

    hello, can you give me a simple way to code CC midi on a potentiometer, I have tried various methods but have not succeeded, please.
    thank you

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

    hi...
    I saw some midi instruments have 2 midi jacks, and this one has one midi jack.
    can I use only one jack,
    can you explain why ,or suggest a yt video for me, can you?
    also your tutorial videos are nice

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

    but can't we use the (127./1023.)*potval for a super accurate answer instead of 1023/8.
    potval is the value coming from potentiometers
    (127./1023.)*1023 = 127
    (127./1023.)*511.5 = 63.5
    (127./1023.)*0 = 0

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

    Buenas, muy buenos los videos, me vienen bien para un proyecto que estoy haciendo. Hago una consulta, como podría agregar un encoder rotativo? En la misma librería. Ya que lo que necesito es usar, botones, faders y unnoar de encoders

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

    Interesting. I've neve had the guts to try and make a MIDI controller. How different would be to make a controller with only faders? Thanks for the video.

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

    I need a MIDI CC expression controller in a foot pedal - I searched eBay and Google high and low, nothing. I do however have an Arduino and an old wah pedal, hmmm...

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

    can you do the same with an arduino duemilanove?

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

    Hi, having trouble with this one. Still not transmitting any data. Compiling and uploading fine, Triple checked wiring, midi jack sends data to PC with a regular midi keyboard, but not from the arduino.... A bit stumped...

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

    Este código también sirve para Arduino MEGA?

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

    hi notes and volts. i am working with this proyect in my school, but do not make work a rotary encoder as pitch bend or scratch in virtual dj, else work in traktor dj pro, my problem is with program the rotary encoder, can you helpme please? im using your code, i want finish this work, tanks for share this video

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

    can I control the sound of windows? games, discord and music?

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

    Is it possible to change the code to control the volume and mute the reaper?

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

    Great video! I have a specific question: is it possible to build a midi contrroller with several voltage outputs? I have an obolete duophonic analog synth and I can't control it using any contoller or computer. The only controller possible is using many hands to turn knobs and smash keys. I've seen some DIY projects but my synth has unusual design and it can't be upgraded using standart midi converters. It needs something customized.

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

    Hello! This might not be the best place to ask for support but I've started having problems with this project recently. I've updated my system recently and have now found that the midi controller built with this code doesn't work anymore. My computer and DAW recognise the USB midi cable coming from the project and the light indicating that there is CC going through the cable is blinking when I turn controls yet none are reaching my DAW. I have also tried switching cables but I just came to the same result. Have there been any cases like this before? I haven't tried reuploading the code yet but that shouldn't really affect anything since nothing changes in the code right? Worked amazing before though and the code has sparked some really great projects for me.

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

    why midi jack .. can we use it as DAW controller without the midi jack ...

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

    Can I have false readings with arduino supplying low amount of current to handle 8 pots?

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

    From where the circuit gets 5 V power. There is no separate power source shown in the circuit

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

    No opto isolator?

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

    can this code be adjusted for an arduino due, and setup for all midi to transfer out the native usb of the due?

  • @LuisTorres-qz5kr
    @LuisTorres-qz5kr 3 года назад

    Thank you very much for theses videos. I have learnt a significant amount and have watched many of your videos. How does one go about adding a switch to this project to enable the ability to swap MIDI channels? (specifically, using an external Arduino like the older model - Dueminalove)

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

    This is input or output

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

    Thanks for this very helpful info. How to make this arduino uno send wirelessly via bluetooth?

  • @5678hardcore
    @5678hardcore 7 лет назад

    where do you buy that thing for the potentiometers=

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

    Sweet vid mate, thanks.. Question...
    What would I do if I wanted say 20 pots?

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

      Hi Padlock. You can add a 16 channel multiplexer to one of the analog inputs and connect the other 4 pots directly to the board. Watch this video: ruclips.net/video/NmxoBdEJG28/видео.html

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

    Hello Dave,
    1) what if I want to send SYSEX messages instead of CC?
    My main problem seems to be that I dont know that the MIDI lib says, in other words what Arduino will understand.
    Here a example (Yamaha TX81z)
    NAME SYSEX MESSAGE RANGE(the conversion to 99 instead of 127 will be no issue)
    Operator
    level
    OP1 F04310 12 31 DVF7 0-99
    OP2 F04310 12 17 DVF7 0-99
    OP3 F04310 12 24 DVF7 0-99
    OP4 F04310 12 0A DVF7 0-99
    2) Additionaly it would be great if you could show a MIDI to CV. This could be using a RC (Low pass) a r2r or a D/A.
    I think there are many Werkstatt, Monotron and other users who would appreciate your assistance as the Keyboard is not realy nice.
    Thank you

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

    8:50 With the software I downloaded from Notes & Volts the line of code you highlight is commented out, gotta delete the "//"

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

    Hello! I followed your step by step throughout. By the way, very good parabens.
    My problem is that in the end I have no signal coming out of midi jack, what can it be? Sorry because I am Brazilian and I do not speak English, but if you can help me, I thank you.

  • @bio303
    @bio303 8 лет назад +13

    Can you do Midi and CV (or just CV) tutorial with Arduino? :D!!!!

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

      +biologik yeah that would be awesome

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

    Why do you connect two resistors?

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

    great video! can someone teach me how to increase the amount of potentionometers? i am looking to add a piece of connection to the Arduino that allows me to create a box of at least 60 potentionometer knobs for music software midi controls. finally, would it be best to use higher value knobs, or the value for the one in this video is enough? advises plz, thanks.

  • @MérőszobaGNSZ
    @MérőszobaGNSZ Год назад

    Is there a way to controll more than one CC with one potentiometer?

    • @MérőszobaGNSZ
      @MérőszobaGNSZ Год назад

      Oh, yes. I just figured it out. PO1 and PO2 can have the same analog input but controll different CCs or even different channels. :) Cool. Thank you so much for your work. It was really helpful.

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

    Is this thing okay with a 328p chip or does it have to be Uno?

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

    5:46 you can use the MAP() function which takes 5 parameters exemple: (myPot, 0,1023, 0 , 127)

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

    after program upload in when i use pot seial monitor show ?????????????????;;???``// something like this what i can to do?

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

    Are min jack Nassary . Are used usb at place it..

  • @FlightSim2703
    @FlightSim2703 5 месяцев назад

    The main requirement to make it work is the data, which we need to upload in to Arduino, I wish you provided the exact link 😉

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

    How can i get more than 6 potentiometers?? can I?

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

    thank you for the tutorial, i would like to build a project like this but with 8 pots, i have an arduino uno like yours, how can i do it?

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

      you have to use a multiplexer, i'm doing the same project myself right now. Notes and Volts has a few vinds on it. go see the ones with 'multiplexer' in the title!

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

    Hello, this mod worked better for me, since it works on any track selected, I have 8 sliders and had assigned them to 1-8, but can’t do anything to tracks 8 and over, I thought it could move like scenes, 1-8, 9-16, 17-24 etc, but couldn’t make it work, any suggestions? Thanks.

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

    Can you please do a video with rotary encoder instead of potentiometer?

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

    I'm really struggling with the last part of this. When I adjust the pots or push a button the tx LED only lights up if I have the usb connected as well as the MIDI. I am not getting any MIDI signal into my MIDI monitor. I have connected my components exactly as they are in the video and I've tried two different USB-MIDI interfaces. Any ideas would be hugely appreciated!