Can the ARDUINO NANO handle 64 potentiometers?

Поділитися
Вставка
  • Опубліковано 27 гру 2024

КОМЕНТАРІ • 166

  • @BlackDuke235
    @BlackDuke235 Рік тому +50

    This project has so much potential.

    • @NotesAndVolts
      @NotesAndVolts  Рік тому +2

      Thanks BlackDuke!

    • @johnsaunders6510
      @johnsaunders6510 Рік тому +5

      Very funny.

    • @NemonicanatLarge
      @NemonicanatLarge Рік тому +1

      Lol

    • @NotesAndVolts
      @NotesAndVolts  Рік тому +8

      OMG I just got the joke LoL!

    • @iamdigilog
      @iamdigilog Рік тому +2

      @@NotesAndVolts when you turn 2 pots do they work simultaneously? Meaning we can trigger two different parameters at the same time? Or just one at a time?

  • @3Dfuntastic
    @3Dfuntastic Місяць тому

    Thank you for providing me with all the required info to start building myself a programmer for the DX7

  • @GAMWTOAPOERL
    @GAMWTOAPOERL Рік тому +4

    😮 Omg thats the project i am on to right now. Just finished the design of the pcb yesterday. You just made my day watching this work. Keep up the good work. Really good videos.

    • @NotesAndVolts
      @NotesAndVolts  Рік тому

      Thanks so much marios!

    • @DanTechGA
      @DanTechGA 9 місяців тому

      How did you design the PCB? Do you have a file you would be willing to share?

  • @TomAlmy
    @TomAlmy Рік тому +9

    As long as the leakage currents aren't too great, you can connect the 4 COM outputs together and to a single analog pin on the Nano. And then use the Enable inputs of the four multiplexers to enable a single multiplexer at a time. Then you can have the 64 pots on a single analog pin. With 8 pins (and 8 of the lots-o-pots boards) you could have 512 pots!

  • @thepcman
    @thepcman Рік тому +9

    You should check the linearity of the cc outputs. The analog mux does not cut the line completely but its disconnected pins become "Hi Z", making its connection to the COM ın the order of Megaohms. On the other hand adc input is low impedance, loading the source. If you use high resistance pots, it is possible that combination of pot positions may affech each other.
    Solution 1: use 10k or lower potentiometer, add a 4 to 16 decoder and connect same select signals to decoder input. Feed each output to the corresponding pot and energize only the pot that is being read.
    Solution 2: add buffer amplifier to mux output so that it can drive the adc without impedance effect.

    • @NotesAndVolts
      @NotesAndVolts  Рік тому +1

      Thanks for this info! I'll look into it.

    • @har234908234
      @har234908234 Рік тому

      Any idea why I thought 74HC were buffered?

  • @BingoBongoBengo
    @BingoBongoBengo Рік тому +3

    Really information rich, great video!

  • @jungleb
    @jungleb Рік тому +3

    you are amazing. i learnt so much in this video

  • @smert_okupantam
    @smert_okupantam 7 місяців тому

    6:45 64x 10k pots have common resistance of 156.25 Ohms, at 5 volts current will be 32 mA; total power = 0.16W. Plus consumption of 4 multiplexers of course.

    • @smert_okupantam
      @smert_okupantam 7 місяців тому

      this will drawn from +5V line, not from arduino.

  • @col8981
    @col8981 Рік тому +2

    Super job, however @thepcman is correct 10k pots @ 30mA is a better choice, the lower the source impedance the better, I think100k might be a bit high depending on the difference between 2 successive ADC samples. The ADC in the Atmel 328P uses an 8 channel multiplexer with a sample and hold capacitor so, with a high impedance source (100K worst case ) there might not be enough time to charge/discharge the the S/H capacitor properly, possibly leading to some strange readings. Below is a extract from the 328P datasheet page 212:
    "The ADC is optimized for analog signals with an output impedance of approximately 10k or less. If such a source is used,
    the sampling time will be negligible. If a source with higher impedance is used, the sampling time will depend on how long
    time the source needs to charge the S/H capacitor, with can vary widely. The user is recommended to only use low
    impedance sources with slowly varying signals, since this minimizes the required charge transfer to the S/H capacitor"

    • @NotesAndVolts
      @NotesAndVolts  Рік тому +1

      Thanks for the info! I'll didn't notice any ill effects but I'll definitely look into it.

    • @chrisw1462
      @chrisw1462 Рік тому

      A trick used by ADC circuit designers is to use diodes to drop the voltage across the variable resistor. You'd have less usable ADC range, but could lower the value of the pots without excessive current draw. Two diodes would still give over 3/4 of the 1024 range. Since the voltage drop across diodes doesn't change, current draw won't affect your readings. A bonus is that if your ADC has non-linearity issues, you can put one diode on the + side and one on the ground, and the range ends (usually where non-linearity is worst) won't even be used.

  • @starlevelmusic1599
    @starlevelmusic1599 Рік тому +1

    To find the resistance in a situation like this where you have the same resistor in parallel, you just need to take the resistance of the resistor (100K) and divide it by the number of resistors (64). The answer would be 1.5, but that would be 1.5K, so if you times that by 1000 you get just the ohm amount.

  • @els1f
    @els1f Рік тому +2

    That traffic flow analogy is maybe the best one I've heard lol

  • @justinejacks0n
    @justinejacks0n Рік тому +1

    You're a legend, Dave!

    • @NotesAndVolts
      @NotesAndVolts  Рік тому

      Thank you!

    • @whatamievendoing
      @whatamievendoing Рік тому

      ​​@@NotesAndVolts have you ever done anything on the Arduino with DMX? Would love to see how to wire an analog 5-pin and/or 3-pin DMX port to an Arduino. I presume it's similar to the way you wired the MIDI port here?

  • @gonzinigonz
    @gonzinigonz Рік тому +2

    Love this channel, very inspiring :)

  • @kmyllou95
    @kmyllou95 5 місяців тому

    Amazing project !!! i don't find the code 1.4 on your website (only the 1.2 is available). Could you please share the code and the PCB conception file? you don't talk about the mux lib in your video, this is works with MCD74HC4067 also?

  • @Sound-Sight-Sense
    @Sound-Sight-Sense 10 місяців тому +1

    Interesting 🤔What happens when 2 or more pots are adjusted at the same time? Which gets preference? Does it work as a polyphonic input?

    • @MoritzLuzner
      @MoritzLuzner 9 місяців тому +1

      i want to know this too

    • @dubsnip1636
      @dubsnip1636 9 місяців тому

      @@MoritzLuznerthe Messages are send so fast that you won’t notice they are processed sequentially. It always works like that with midi streams. 1 by 1 at blazing speed

    • @MoritzLuzner
      @MoritzLuzner 9 місяців тому

      ok thank you!

  • @tde04014
    @tde04014 Рік тому +1

    all depends on what refresh rate you want, the ATmega328p datasheet specifies the adc max rate to 15000 reads/sec, so if u only need a refresh rate of for example 30 you just divide 15000/30=500 so the number of pots you can connect in that case is 500, to do this you can cascade the 16to1 analog mux with 16 others witch would give 16x16 = 256 and then use two analog inputs of the nano for a max number of inputs to 512

  • @Krzychu-bh4rl
    @Krzychu-bh4rl Рік тому +3

    Nice video! Personally I struggled with unstable pots readings, but finally I was able to write class for handling potentiometer, which used hysteresis to get rid of bad readings. Moreover, I added callbacks to be able to react to a certain events (e.g. value change, going up, going down etc.)

    • @NotesAndVolts
      @NotesAndVolts  Рік тому

      Very nice!

    • @raphanunu6912
      @raphanunu6912 5 днів тому

      Did you publish somewhere ? That's very interesting.

    • @Krzychu-bh4rl
      @Krzychu-bh4rl 5 днів тому

      @@raphanunu6912 Sure! Here you have it, just written in C:
      uint32_t AD_RES_BUFFER[2];
      struct HysteresisPot{
      int16_t margin;
      int16_t prevVal;
      int16_t currVal;
      int16_t upperBoundary, lowerBoundary;
      int change;
      };
      void POT_InitStruct(struct HysteresisPot *instance){
      instance->margin = 31;
      instance->prevVal = 0;
      instance->currVal = 0;
      instance->change = 0;
      }
      int16_t POT_Process(struct HysteresisPot *instance, int16_t input){
      instance->upperBoundary = instance->currVal + instance->margin;
      instance->lowerBoundary = instance->currVal - instance->margin;
      if (input < instance->lowerBoundary || input > instance->upperBoundary) {
      instance->prevVal = instance->currVal;
      instance->currVal = input;
      instance->change = 1;
      }
      else {
      instance->change = 0;
      }
      return instance->currVal;
      }
      struct HysteresisPot pot[POTS];

    • @raphanunu6912
      @raphanunu6912 5 днів тому

      @@Krzychu-bh4rl I'll have a glance, cheers.

  • @beachsidetech
    @beachsidetech Рік тому +2

    Shortcut calc for identical parallel resistors is value divided by number of resistors. 👍

  • @djgathox
    @djgathox Рік тому +1

    the resistor part of this video blow my mind , thanks

  • @iamdigilog
    @iamdigilog Рік тому +1

    Can arduino read multiple pots at the same time? i.e. if you turn 2 at the same time will the DAW get signal from all at the same time or one after the other?

    • @whatamievendoing
      @whatamievendoing Рік тому +1

      This is what I was wondering! What happens if you turn two or more pots on the same multiplexer? I might have to build this thing to see

    • @romeolz
      @romeolz 7 місяців тому +1

      I haven't seen the code to kkow for sure, but the midi signals can't be sent concurrently anyway because there's only one data wire, but the time difference is practically nonexistent

    • @iamdigilog
      @iamdigilog 7 місяців тому

      @@romeolz thanks for that. This is interesting, so technically the signal would go one after another and not simultaneously, but the time between them would be a fraction of a second (or millisecond) and almost unnoticable if I understand correctly?

    • @romeolz
      @romeolz 7 місяців тому +1

      @@iamdigilog the arduino runs so quickly that the time difference could be in the microsecond range, midi messages are only a few bytes

  • @DannyMote-dg9ue
    @DannyMote-dg9ue 9 місяців тому

    Would you ve able to provide a list of what footprints you used for each component? Noob to KiCad and could use some direction on selecting the right components.

  • @TehSyneS
    @TehSyneS 11 місяців тому

    Im still curious how many knobs can you use at the same time? Amazing project thanks for sharing!

    • @MoritzLuzner
      @MoritzLuzner 9 місяців тому

      i want to know this too!

    • @rolab280
      @rolab280 9 місяців тому +2

      Since it is a multiplexer you should be able to use all 64 pots at the same time. They are read in succession, not on interrupt. BUT: the bottleneck would be the transmission speed of the MIDI signals, which is 31.25 b/s. The MIDI packets are 8 bits. That means you can send 31250/8 =3906.25 messages per second on one MIDI channel. That is about 61 cc msg/knob 🙂.In theory.
      I bet there are other factors that I don't know about or did take into calculation. But roughly it should be in the right ballpark at least 🙂
      OR! It is a trick question... He can only use two knobs since he only have two hands? ;-)

  • @markgreco1962
    @markgreco1962 Рік тому

    Nice work pal Dave. Like that multiplexer chip.

  • @patrickd9551
    @patrickd9551 Рік тому

    The nano actually has 8 analog inputs :) A6 and A7 are analog only pins, as where A0-A5 are multi use.
    Most tutorials ignore these pins because they have extra rules if it where.
    Anyway. I would say not 96, but 128 pots without resorting to other tricks like multiplexing the multiplexers with chip select pins.

  • @reverend11-dmeow89
    @reverend11-dmeow89 7 місяців тому

    just curious. What is the overhead time in case I grow 64 pairs of fingers and twiddle all of them at once? ;-)
    also, how difficult would it be to have some sort of 'learning patterns of behaviour' algorithms built-on in order to match certain POB so the individual pot has the appearance of being there all the time by the controlee?
    Thanks!

    • @NotesAndVolts
      @NotesAndVolts  7 місяців тому

      On all controllers, the pots are read one at a time. The microcontroller can scan them so quickly that it seems like they are all active at once.

    • @gguitarwilly
      @gguitarwilly 6 місяців тому

      @@NotesAndVolts does that mean that if I'd substitute the pots with pressure sensitive resistors I'd have a 64 key keyboard with velocity and aftertouch capability? that would be something!

  • @jmatonis
    @jmatonis 8 місяців тому

    Thank you for this awesome video! I am trying to build an interface for the BP synth and thought I use the code from this for a midi controller to the BP synth. I notice there is a difference between the code you supply in the notes and on the video. Would it be possible to get version 1.4? Thanks again for the great videos.

    • @hastyman
      @hastyman 5 місяців тому

      Ive adapted his sketch for a BP synth based on the controls I'd want to use (32 potentiometers and 6 switches). Just trying to figure out the best way to insert it between my serial MIDI keyboard and the BP synth. Not sure if I can include a MIDI.read statement or possibly a MIDI thru to the existing sketch from this video, or if I need to build a separate MIDI host/hub that will accept two MIDI in and one MIDI out.

  • @rivitheadlab2523
    @rivitheadlab2523 Рік тому +2

    Do you have the code for that? I am using an Arduino Micro with four 74HC40512 Multiplexers. It's USB MIDI compliant. So I don't have to use the MIDI Din adapter. I have followed you since the first controller video. I appreciate all you do!

    • @edwinnieuwenhuis1930
      @edwinnieuwenhuis1930 Рік тому

      yeah me to i want the code for usbmidi plaese

    • @NotesAndVolts
      @NotesAndVolts  Рік тому +1

      The code link is in the video description. This program uses direct port mapping for the Uno/Nano so it would need modification for other models. Plus you would need to replace the Midi library code with the USBMidi library.

    • @rivitheadlab2523
      @rivitheadlab2523 Рік тому

      @@NotesAndVolts Thank you very much. I am working on it today. :)

    • @dubsnip1636
      @dubsnip1636 9 місяців тому +1

      I have built a midicontoller a couple of years back based on this code (already with 4 multiplexers on a Uno) Im planning to migrate it to USB midi coming weeks with some code adjustments.

    • @MoritzLuzner
      @MoritzLuzner 9 місяців тому

      Hey guys, I have an arduino micro here and I would love to do the same stuff with USB MIDI. Can you please let me know, when you have some code? I am quite new to this and would very much appreciate some code I can learn from!

  • @11219tt
    @11219tt 6 місяців тому +1

    I am under the impression you can only read one pot at a time with a mux. This means you can't turn two pots at the same time and get them to send data. Is this correct?

    • @flashgordon4558
      @flashgordon4558 Місяць тому

      I have the same question. Do you have a answer?

    • @11219tt
      @11219tt Місяць тому

      @ sort of. You can't send more than one data point at a time, but apparently it's happening so fast it doesn't really matter. Or that's what people say. And I built a test with 8 pots and it seems to be ok.
      From what I can't tell it's only one piece of data that is sent per check, but the code loops run so many times per second that it's checking everything within milliseconds.

    • @raphanunu6912
      @raphanunu6912 5 днів тому

      You gave yourselves the answer !

  • @dralikg6885
    @dralikg6885 Рік тому

    Thanks for the awesome videos, which Arduino is capable of handling MIDI usb also with LCD and sd card? I am doing a midi controller project that open MIDI file from SD, play it back on MIDI usb out, while receiving some controls from MIDI in and shows some info on LCD, what do you suggest for hardware/software?

  • @juliev123
    @juliev123 Рік тому

    Great video thanks Dave!

  • @ynschannel_
    @ynschannel_ Рік тому +1

    How many pots (message) of them can you use at the same time?

  • @eatmorecrab
    @eatmorecrab 2 місяці тому

    You are super inspiring!!

  • @angelovintelservis
    @angelovintelservis Рік тому

    Hello! Where can I download - gerber files - for this wonderful project of yours, so that I can collect it from your Video?

  • @marinkojukic6498
    @marinkojukic6498 7 місяців тому

    Would all this muxing work with FSRs? and what about latency? Is it possible to avoid it and have real time readings and conversion to midi?
    I am planning on building fsr matrix with around 64 inputs, converting it to midi. So far i've bought arduino and make 5 of fsr work on analog inputs. Struggled as it is my first project ever, but it was a good day!

  • @smert_okupantam
    @smert_okupantam 7 місяців тому

    13:16 wrong. if you not powers Lots-o-Pots 5V from output pins of µC you will not exceed 200mA limitation. You project is powered from USB or from AC/DC adapter, so Atmega chip limitation is not involved at all.

    • @raphanunu6912
      @raphanunu6912 5 днів тому

      The 5V comes from the Nano regulated output, so...

    • @smert_okupantam
      @smert_okupantam 5 днів тому

      @@raphanunu6912 wrong. bc for regulated output need Vin to be attached to 7-15V source. in this case whole circuit should not exceed 100mA, the maximum power of regulator. of course by using USB as source this regulator is omitted and then Atmega chip limitation is not involved at all.

    • @raphanunu6912
      @raphanunu6912 4 дні тому

      If you say it...

    • @smert_okupantam
      @smert_okupantam 3 дні тому

      @@raphanunu6912 you must not trust only my words, bc it is not my invention or product. look on schematic. if you not able to read it yet, ask on arduino forum.

  • @pileofstuff
    @pileofstuff Рік тому

    I do like an overkill project.
    Now to map all the pots to different things in your rig!

    • @NotesAndVolts
      @NotesAndVolts  Рік тому +1

      Imagine mixing a 64 track song on this. LoL!

  • @charlottewilliamcover3568
    @charlottewilliamcover3568 2 місяці тому

    Where can we find the V1.4 code please ?

  • @edwinnieuwenhuis1930
    @edwinnieuwenhuis1930 Рік тому +1

    can you make this with a pro micro atmega 32u4

    • @NotesAndVolts
      @NotesAndVolts  Рік тому +1

      You can, but the program I use for this example uses direct port mapping to speed up the mux pin changes. This works on the Uno/Nano but might need to be modified for other models.

    • @edwinnieuwenhuis1930
      @edwinnieuwenhuis1930 Рік тому +1

      @@NotesAndVolts can you write the code for midiusb please

    • @edwinnieuwenhuis1930
      @edwinnieuwenhuis1930 Рік тому

      @@NotesAndVolts but can you White the program voor midiusb please

    • @kaki33a
      @kaki33a Рік тому +1

      @@edwinnieuwenhuis1930 I asked Chat GPT and he wrote me the code, but it needs to be corrected :))

    • @raphanunu6912
      @raphanunu6912 5 днів тому

      @@kaki33a Chat GPT is a cheater !

  • @GAMWTOAPOERL
    @GAMWTOAPOERL Рік тому

    Just made one with 32 pots. One of the 2 mux circuits behaves as it should. The other its very strange and unstable. When you turn a pot the pots next to it get voltage change whith result erratic midi signals...cant find solution yet. Maybe bad pcb design? 😢

  • @KristerNielsen
    @KristerNielsen 10 місяців тому

    There are so many Nano versions so I don't understand which one to get? Live in Sweden.

  • @dundizzle93
    @dundizzle93 10 місяців тому

    The code you linked goes to an older blog post that contains V1.2 of the controller - in this video you're using V1.4. Is there a difference when using the Nano? The code in V1.2 says it is for the UNO only. Thanks.

  • @mikhailshmidt47
    @mikhailshmidt47 Місяць тому

    Hi mate. Can’t to see code in link.😢

  • @MrCompdan
    @MrCompdan 9 місяців тому

    Does anyone know how this is possible without using MUX? Wanting to be able to turn multiple pots at once

    • @NotesAndVolts
      @NotesAndVolts  9 місяців тому +1

      The mux doesn't matter. The Arduino only ever reads one input at a time. It just does it so fast that it seems like it is reading all the pots at once.

    • @MrCompdan
      @MrCompdan 9 місяців тому

      @@NotesAndVolts Thank you mate! I'm a complete beiginner - realised this a couple days after commenting. Thanks buddy:)

  • @djptrvch
    @djptrvch 2 місяці тому

    The sketch only works when connected via MIDI? If I want to connect Arduino via USB, will it work?

  • @riksteen4933
    @riksteen4933 Рік тому

    Is everything the same wire and code when using faders instead of pot meters. Thank you

  • @goochtwain
    @goochtwain Рік тому

    Good stuff! Thanks!

  • @HazeAnderson
    @HazeAnderson Рік тому +2

    One really needs to get about 31 friends so everyone can grab two pots and twist at the same time ...

  • @kavtech_midi
    @kavtech_midi Рік тому

    how about reliability handle analog input with multiplexer, is there any problem or is as good as using direct analog pin (A0,A1...etc)

    • @raphanunu6912
      @raphanunu6912 5 днів тому

      It's reliable, products from Korg or Roland work like this.

  • @michaelgraff6978
    @michaelgraff6978 Рік тому +3

    Or, you can just use 5 / 100000 * 64 to find the current directly.

  • @Baxton_USA
    @Baxton_USA Рік тому

    Can you make customize sound on this?

  • @TehSyneS
    @TehSyneS Рік тому

    how many knobs can you use at the same time?

  • @reverend11-dmeow89
    @reverend11-dmeow89 7 місяців тому

    Thank You for 'doing the math' on this territory.

  • @skrie
    @skrie 9 місяців тому

    You are a prince amongst men.

  • @charlottewilliamcover3568
    @charlottewilliamcover3568 Рік тому

    Hello. The link to the code shows a file with description to be V1.2 only arduino uno. Is it still OK with Pro micro ?

  • @cheetahkid
    @cheetahkid Рік тому +2

    you can add another 64 pots because there is 8 anolog inputs on the nano. Mind blows.

  • @RenzoOrlandini
    @RenzoOrlandini Рік тому

    I get this error:
    Compilation error: 'POTS' was not declared in this scope
    Any help?

  • @dexterslab_23
    @dexterslab_23 Рік тому

    Great Midi controller for Ableton Live!

  • @skrie
    @skrie 8 місяців тому

    I've done the math as you taught it (but for 50K pots), and I ended with a total of 781.2 Ohm of resistance (for 64x 50K pots) , which would result in a total current draw of 0.0064A.
    But... did I do the calculations right? I got no one around me to ask. (I couldn't find the 100K faders I liked. But there's nice 50K faders on Alie-express)

    • @NotesAndVolts
      @NotesAndVolts  8 місяців тому +1

      Your calculation is correct at 6.4mA of current. 50K pots will work fine.

    • @skrie
      @skrie 8 місяців тому

      @@NotesAndVolts Thank you so much.

  • @pascaljean2333
    @pascaljean2333 6 місяців тому

    Thanks man, some folks want to charge big bucks for this info

  • @ArchetypalCat
    @ArchetypalCat Рік тому +3

    Thank goodness, the nano didn't create a local black hole and suck in the universe!

    • @NotesAndVolts
      @NotesAndVolts  Рік тому +1

      Yet...

    • @ArchetypalCat
      @ArchetypalCat Рік тому +2

      @@NotesAndVolts "OMG! Why are things spiraling in towards the nano?! "
      Breaking News: Notes and Volts' lab creates the first electronic singularity ...

  • @Marc_Wolfe
    @Marc_Wolfe 11 місяців тому

    And I thought he'd be extra smart about it and just setup a key matrix. 8 analog inputs, 8 strobed outputs.

  • @gabrielrojas8911
    @gabrielrojas8911 Рік тому

    I came for a midi controller and I'm leaving with a time machine

  • @nikilvernongoveas8371
    @nikilvernongoveas8371 Рік тому

    how do i convert serial to midi .Hairless midi isn't available for windows 10 anymore does anyone know how to make a midi controller using a nano ,uno or a mega. (i have these lying around . too broke to buy zero, due or leonardo🥺)

  • @LikeDotAudio
    @LikeDotAudio 9 місяців тому

    Very very cool

  • @JonMcPhalen
    @JonMcPhalen Рік тому

    When parallel resistors are the same size, you can simply divide a single resistor value by the number of parallel resistors. Again, this only works when all resistors are the same size.

    • @raphanunu6912
      @raphanunu6912 5 днів тому +1

      As you like precision, you'd better say the same value, not size.

    • @JonMcPhalen
      @JonMcPhalen 5 днів тому

      @@raphanunu6912 Indeed. Thank you.

  • @ixilom
    @ixilom 8 місяців тому

    But.... did any of the chickens get hurt?

  • @genzomamaja
    @genzomamaja Рік тому

    Godd! Thanks!
    (But the I= U/R )😉

  • @smert_okupantam
    @smert_okupantam 7 місяців тому

    2:12 WRONG! Arduino Nano has 8 analog input pins.

    • @raphanunu6912
      @raphanunu6912 5 днів тому

      One in fact but multiplexed

    • @smert_okupantam
      @smert_okupantam 5 днів тому

      @@raphanunu6912 wrong. ADC is not the same thing as Analog Input Pin.

    • @raphanunu6912
      @raphanunu6912 4 дні тому

      @@smert_okupantam This is not what I wrote ! There's only ONE converter.

    • @smert_okupantam
      @smert_okupantam 3 дні тому

      @@raphanunu6912 my original comment is not refered to your answer on my comment, but in video statement is 2:12 "The Arduino Nano have six analog inputs" which is definitely wrong. You wriote about 1 ADC in the chip functionality which have 1 input, its true but change nothing in my "Arduino Nano has 8 analog input pins." comment.

  • @Goo2869
    @Goo2869 5 місяців тому

    64 pots 1 cup

  • @reverend11-dmeow89
    @reverend11-dmeow89 7 місяців тому

    Are any of the "dual axis rotary encoders" my search patterns have managed to generate for me on some of the sales sites actually real?
    64 of these from Alpine Alps is going to run me almo0st a thousand bucks from Digikey or Mouser, but maybe that is just the reality I dove into.
    64 pots is not far behind for long-lasting ones.
    it is for a matrix mixer project, thanks
    I am thinking 1/10th of that budget into a redesign using touch screen may be the ticket out, but (conjuring the "I Like Turtles" kid.
    "I LIKE FONDLING KNOBS" ;0

    • @NotesAndVolts
      @NotesAndVolts  7 місяців тому

      This won't work with rotary encoders, only potentiometers. And you shouldn't be paying more than $64 for 64 pots! You can get them cheaper.

  • @andrejladislavsmith
    @andrejladislavsmith Рік тому

    17:50 there is a better way to create 64 potentiometer array...

    • @raphanunu6912
      @raphanunu6912 5 днів тому

      Certainly, there's always a better way to make things, provided things are made...

  • @davidh1187
    @davidh1187 Рік тому +3

    Problem - if all pots are set to minimum you get almost a short and will likely blow the Arduino. Solution - 1 x 270ohm Resistor in series to ensure no more than 20mA flows regardless of pot settings.

    • @NotesAndVolts
      @NotesAndVolts  Рік тому +4

      Sorry this is not true. The wipers of the pots are connected to the Arduinos analog inputs which have a high resistance. They will never be grounded.

    • @raphanunu6912
      @raphanunu6912 5 днів тому

      Not at all. The cursor place doesn't change the whole value !

  • @eraldylli
    @eraldylli 3 місяці тому

    Wonderful stuff.

  • @DanTechGA
    @DanTechGA 9 місяців тому

    I could use your help! I entered this code into the IDE and keep getting an error message. Any Idea?
    ERROR:
    error: 'MP01' was not declared in this scope
    Pot *MUXPOTS[] {&MP01, &MP02, &MP03, &MP04, &MP05, &MP06, &MP07, &MP08, &MP09, &MP010, &MP011, &MP012, &MP013, &MP014, &MP015, &MP016, &MP017, &MP018, &MP019, &MP020, &MP021, &MP022, &MP023,&MP024, &MP025, &MP026, &MP027, &MP028, &MP029, &MP030, &MP031, &MP032, &MP033, &MP034, &MP035, &MP036, &MP037, &MP038, &MP039, &MP040, &MP041, &MP042, &MP043, &MP044, &MP045, &MP046, &MP047, &MP048, &MP049, &MP050, &MP051, &MP052, &MP053, &MP054, &MP055, &MP056, &MP057, &MP058, &MP059, &MP060, &MP061, &MP062, &MP063, &MP064
    ^~~~
    This something about a suggested alternative. Any help would be appreciated greatly!