Pimp My Potentiometer!

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • Do you like video? Please consider buying me coffee, thanks! www.buymeacoff...
    Part 2 Video: • Pimp My Potentiometer ...
    LED ring light: s.click.aliexp...
    Source files: github.com/upi...
    WOKWI sketch multiplexing: wokwi.com/proj...
    ------------------------------------------------------
    Learn how to control the LED ring light that should be placed around the Rotary Encoder or Potentiometer, and has 32 small yellow LEDs - 31 tickmarks and one dot. Since Arduino UNO only has 14 digital pins, we need to use multiplexing to controll all 32 LEDs. Those LEDs are connected as 4 groups with common cathodes, so we will use 8+4=12 wires, and 12 digital pins on Arduino UNO.
    ------------------------------------------------------
    Links from the video:
    LED ring light: s.click.aliexp...
    Arduino UNO: s.click.aliexp...
    Arduino prototyping shield: s.click.aliexp...
    Breadboard wires: s.click.aliexp...
    Related videos with Arduino UNO:
    • Arduino Projects
    ------------------------------------------------------
    Do you have any questions? Suggestions for the next video? Please put those down in the comment section. I try to answer as many questions as I can. Thank you for watching, reading the video description and I hope to see you next time. Good luck with your projects!
    ------------------------------------------------------
    #arduino #diy #LED
    ------------------------------------------------------

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

  • @upir_upir
    @upir_upir  8 หลายเดือนก่อน +1

    Do you want to make this project cheaper? Here is an answer - th-cam.com/video/Bot865qmdsM/w-d-xo.html

  • @nkronert
    @nkronert 10 หลายเดือนก่อน +151

    EUR 23 for two of these rings doesn't stimulate building something with a lot of potentiometers on it 😮

    • @brylozketrzyn
      @brylozketrzyn 10 หลายเดือนก่อน +29

      I'd probably just lay LEDs around pot myself. Mask can be ordered relatively cheap

    • @gaborballa8566
      @gaborballa8566 10 หลายเดือนก่อน +10

      Way too expensive!

    • @mattsadventureswithart5764
      @mattsadventureswithart5764 10 หลายเดือนก่อน +5

      ​@@brylozketrzynmask could be cut from a milk carton with some care, meaning its a minimal cost.

    • @brylozketrzyn
      @brylozketrzyn 10 หลายเดือนก่อน

      @@mattsadventureswithart5764 if you are doing such fancy stuff you will probably order PCB for your panel. You can use blank PCB as frame and that will be cheap (around 2$ including taxes), precise and convenient. This is exactly how I made my own masks. Owners of 3D printers can go for black PLA with added benefit - rivets. Of course PCB makers these days can print it for you and it will still be cheaper and will look better

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +31

      I´m sure that if you design a project that uses hundreds of those, you will get some significant discount.

  • @rrowhe4d
    @rrowhe4d 10 หลายเดือนก่อน +66

    A tutorial I didn't know I needed. Very cool. The AutoCad example with multiplexing was super helpful.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Feel free to see my other videos as well, perhaps you will find more tutorials that you don´t need and watch them anyway :) Thank you for your comment.

  • @gartmorn
    @gartmorn 10 หลายเดือนก่อน +41

    I see lots of great ideas to do the same or similar using less pins but I think they are missing the point, that beginners, like myself, need to understand the fundamentals which you explain clearly before they can move forward! Looking forward to your future development of this project!

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +6

      Thank you for your comment, I´m glad it was helpful and I´m glad someone understands that connecting LED ring light to Arduino UNO this way makes no sense other than learning how it´s done and how it works, so you can use a proper multiplexing chip later on.

    • @mad0scientist
      @mad0scientist 10 หลายเดือนก่อน +2

      Very few beginners understand that they are missing the basics. You will go far.

  • @StuTubed
    @StuTubed 10 หลายเดือนก่อน +13

    I'm glad you mentioned that it's not the best way to do this at the end, but the video is still useful because it nicely covers the basics of multiplexing.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      Thank you for your nice words, I´m glad you like it and understand the purpose of this video!

  • @tom95076
    @tom95076 10 หลายเดือนก่อน +13

    Great job on this.. I love how you make your thought process known... an array etc.. That also looked tricky to get the pot inside the light ring... awesome work!

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      Thank you for your nice words, I’m glad you like it. With a proper custom PCB, fitting the potentiometer inside would be much simpler, but for my prototyping stage, it was kind of challenging.

  • @xFuaZe
    @xFuaZe 10 หลายเดือนก่อน +2

    Your comment at 14:30 is flawed.
    If you make your code non-blocking, use state machines and millis, you can effectively multitask and it should not cause noticeable problems.
    And in fact, it does make sense to drive them directly, because you're saving the costs/space of an extra IC.
    This may not be worth the effort for a one-off project, but micro controllers are commonly used in mass-produced appliances, so in these cases it may be well worth it.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Fair enough. For most of the applications, it would still be simpler to use dedicated multiplexing chip, or perhaps a different chip than the one used in Arduino UNO, since having only 2 digital pins left would be most likely a challenge.

  • @sg0_o
    @sg0_o 10 หลายเดือนก่อน +2

    omg :o
    and what about the absolute maximum ratings, .. reverse voltage for instance ?

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Yes, once you understand the basics, you can move on and worry about all those details.

  • @danratsnapnames
    @danratsnapnames 10 หลายเดือนก่อน +4

    little suggestion that will help that blinking ALLOT. ONLY write the changes to the pins. dont always right. do a comparison from the last time the loop occured to now, and look to see if the pin values are going change, then only write the changed pin value and not all of them. you would ask why because high = high, nothing will change, but the fact is, it takes TIME to process a digitalwrite function. by only doing a digitalwrite only on the changed pins, you save time.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      That’s an interesting idea, have you tried it? You can try it in Wokwi too see if that approach works or not.

  • @Pulsar_Live
    @Pulsar_Live 10 หลายเดือนก่อน +3

    missing a little resistor with this led at 2:00 ;)

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      I like to live on the edge and not use resistors :)

    • @vaclavtrpisovsky
      @vaclavtrpisovsky 10 หลายเดือนก่อน

      @@upir_upir This will not only eventually destroy the LED, but also the pin driving it, the max current is 20 mA....

  • @joeblow229
    @joeblow229 10 หลายเดือนก่อน +7

    Great video! I commented that it could be accomplished in a better way using something like I2C, but at the very end of the video you mentioned that you will be showing how to use a multiplexing chip later :)

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +2

      Thank you, I’m glad you like it. Yes, exploring the multiplexer chips is my task for the next video. Stay tuned.

    • @jlucasound
      @jlucasound 10 หลายเดือนก่อน

      @@upir_upir That is what made me Sub! I need to stay connected.
      Thanks!! Looking forward to that video. 🙂

  • @rattslayer
    @rattslayer 10 หลายเดือนก่อน +5

    Always wanted to make a USBC PPS style... err, programable power supply.
    With the PPS you can request voltages in 50mV steppes, perfect for playing with projects. Would love a potentiometers like this to control it!

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      I would say go for it! If you include any kind of fancy potentiometer, I would be the first one to buy it :)

  • @pavelino17
    @pavelino17 10 หลายเดือนก่อน +6

    Man I love your videos. Cool and useful ideas, clear instructions and good programming :)

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      Thank you, I´m glad you like them! Good luck with your projects.

  • @guardiao_das_riquezas
    @guardiao_das_riquezas 10 หลายเดือนก่อน +2

    Very expensive for a simple monochromatic LED bar that instead of being in a straight line is just in a circle, that's absurd...

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      Perhaps there is a gap on the market? If someone can actually produce it 10x cheaper, I’m sure many people would buy it.

    • @guardiao_das_riquezas
      @guardiao_das_riquezas 10 หลายเดือนก่อน +1

      @@upir_upir Exactly, I myself would be a buyer of this LED circular bargraph if it had a minimally reasonable cost, it would make my projects that use potentiometers much more beautiful !!!

  • @indian.techsupport
    @indian.techsupport 10 หลายเดือนก่อน +3

    Might be more usefull with rotary encoders

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Agreed. Should be a simple swap instead of the potentiometer.

  • @mahmoud2622
    @mahmoud2622 10 หลายเดือนก่อน +2

    what does you mean by multiplexing LEDs

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Multiplexing LED is a technique used to connect LEDs in a matrix of addressable rows and columns. The advantage is simplification of hardware due to the reduced number of pins required.

  • @davey2k12
    @davey2k12 10 หลายเดือนก่อน +2

    Maybe cud use a chip like max7219eng only does 7x7 tho 😅
    And control it with 2 data connection

    • @someguy4915
      @someguy4915 10 หลายเดือนก่อน +3

      MAX7219 does 8x8?... 8 segment pins and 8 digit pins, allowing 8 '7 segment' displays with their decimal point being the 8th segment. Or 64 leds in an 8x8 array.

    • @davey2k12
      @davey2k12 10 หลายเดือนก่อน +1

      @@someguy4915 I ay played with it for ages TBF don't no why I thought 7x7 lol
      I made a clock with it few year back, 😁

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Yes, the MAX7219 is the one that I will use in my next video. Since it can drive 8x8 LEDs, I can actually use one chip to controll two LED rings.

  • @MaxSMoke777
    @MaxSMoke777 10 หลายเดือนก่อน +1

    Thanks, just watched the whole video to learn at the end that you shouldn't build this and it won't work with any project. Cool.... :[

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      It will work, but it’s not recommended to do it this way, because you use too many pins and too much processing power compared to using a dedicated chip like for example MAX7219. That said, it’s very beneficial how multiplexing works, as you will have much easier time when using multiplexing chips, so the time definitely wasn’t wasted.

  • @olacolega7067
    @olacolega7067 10 หลายเดือนก่อน +1

    That's so cool! I just don't understando how the variable "show_value" works on this example. Why it has to be equal to i*8+j on that if and what exactly is it's purpose?

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      Thank you. Perhaps I should have used a better variable names instead of just "i" and "j". The LEDs are arraged in "grid", or perhaps in 4 separate groups - those groups have common cathode. So variable "i" is for those groups (groups of 8), and variable "j" is the LED inside that group. Pretty much just translating 2D position in a grid to a 1D position so I can access the correct LED.

  • @Rockets0896
    @Rockets0896 10 หลายเดือนก่อน +1

    "Thank you for watching. Oh and by the way, this was all pointless and there's IC chips specifically for this"

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      It should have been - Thank you for watching, now you know how multiplexing chips works, and it should be much easier for you to use one if you decide to.

  • @Stabby666
    @Stabby666 10 หลายเดือนก่อน +1

    Has this guy never heard of current limiting resistors?! Two minutes into this and I couldn’t watch this bad information any more.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      They are not used in the simulation to make it quicker and cleaner, but I surely do use them in the real thing later in the video.

  • @BoostedVr5
    @BoostedVr5 8 หลายเดือนก่อน +1

    I got everything working with my first Arduino project 😇 but only the last led is flickering can i change something in the code to fix this?

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

      That´s great to hear! Try lowering the range of the potentiometer, perhaps it´s having hard time reaching the 1023 value, so only go up to 1020 or even 1010?

  • @mysticmarble94
    @mysticmarble94 10 หลายเดือนก่อน +3

    Can't wait for the next video on the multiplexing LED chips.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      Since you can get chip to drive 64 LEDs, I’m hoping that I can you just one to control two LED rings, but let’s see how it goes..

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

    Do you like this video? Please consider buying me a coffee, thank you! www.buymeacoffee.com/upir

  • @mac1mike
    @mac1mike 6 หลายเดือนก่อน +1

    Thx. NOw I understand all those linear round gauges with linear LEDs.
    The Cathodes are in seperate groups.

    • @upir_upir
      @upir_upir  6 หลายเดือนก่อน

      That´s great to hear that it was helpful!

  • @ms2649
    @ms2649 10 หลายเดือนก่อน +1

    Hi there, can you make a example how to do this with switches instead of led's?
    Possibly with multiple switches switched at once

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Yes, that´s an interesting idea, and technically very close to driving multiple LEDs, since it also uses multiplexing. I might record a video about that soon.

  • @upir_upir
    @upir_upir  10 หลายเดือนก่อน +18

    All the source files are on GitHub: github.com/upiir/potentiometer_led_ring_light

    • @Klote3241
      @Klote3241 10 หลายเดือนก่อน

      Hi nice video, tip your audio feed is clipping probably because to much bass/deep voice. maybe lower output volume for your mic a bit.

    • @omegacz5212
      @omegacz5212 9 หลายเดือนก่อน +1

      hey upir I just had a question if you were czech because you really sound like a czechman and if so, DAMN DUDE that english be almost clear
      ale jinak nice

    • @upir_upir
      @upir_upir  9 หลายเดือนก่อน

      @@omegacz5212 That´s right, I need to work on my English skills a little bit more :)

  • @skoovee
    @skoovee 4 หลายเดือนก่อน +1

    i wish past me realised that you need to use persistence of vision to make things like diagonal lines with multiplexing

    • @upir_upir
      @upir_upir  4 หลายเดือนก่อน

      Yeah... I wish past me realized a lot of other things as well... much sooner. But I guess it´s never too late to learn something new :)

  • @b43xoit
    @b43xoit 10 หลายเดือนก่อน +1

    Every time I have gotten hold of some product that has a potentiometer, said pot has gone bad, so it doesn't make good contact anymore.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      That’s strange, potentiometers are usually bulletproof.

  • @clayton2347
    @clayton2347 9 หลายเดือนก่อน +1

    I don't know what the fuck a potentiometer is but I like your funny words magic man

    • @upir_upir
      @upir_upir  9 หลายเดือนก่อน

      That´s surely an interesting approach to electronic projects, but hopefully it would spark some interest at least this way :)

  • @JarecFR
    @JarecFR 10 หลายเดือนก่อน +2

    Nice find; I was looking for an LED ring like this for a project just a few weeks ago. I decided I'd DIY something; maybe still will with the price, but it's a great reference.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Thank you. Could you share more details about your project and why you needed the ring light?

  • @AttilaAsztalos
    @AttilaAsztalos 10 หลายเดือนก่อน +1

    Yeah well the problem is that you can have an RFID-enabled rotary knob with touch sense and a friggin' LCD in the center for about 35$ - it's called the "M5Stack Dial"; and other similar products in the same price range exist. So with what they are asking for this, it's a complete, utter, ludicrous fail.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Last time I checked on AliExpress, this led ring module was at 9$. I agree that it’s not cheap, but 9$ and 35$ is still quite a difference.

    • @AttilaAsztalos
      @AttilaAsztalos 10 หลายเดือนก่อน

      @@upir_upir Fair enough; last time I looked I was under the impression that the majority of comments mentioned something like $20+ as price, which would have been comparable. $9 is not ~that~ bad.

  • @souldoc123
    @souldoc123 10 หลายเดือนก่อน +1

    is it interesting-yes,is it worse to do-no,using high quality alps or similar for hi fi is best choise

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Do you have a link or at least a product name of the alps potentiometer with led light? I wasn’t able to find one. Thank you!

  • @VictorLarsen-fy9ls
    @VictorLarsen-fy9ls 10 หลายเดือนก่อน +1

    The link to the product on Ali does not work. Write the full name of the product.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Please try opening the GitHub link and click the AliExpress link there.

  • @megaheadbanger
    @megaheadbanger 10 หลายเดือนก่อน +1

    Aliexpress link invalid. And I can't find this LED ring.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Please open the GitHub page and open the link there. Somehow it’s not always working directly for TH-cam link. I’m sorry for the inconvenience.

  • @ThisRandomUsername
    @ThisRandomUsername 10 หลายเดือนก่อน +1

    Driving the LEDs directly from the Arduino pins is quite a no-no. The Atmega328 itself becomes the current limiting resistor and you can overdrive the pin above the 40mA limit. It really should have a resistor. Your code just needs to be able to put on more LED segments at a time. That's not difficult.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Don´t worry, I have used the current limiting resistors later in the video with the real Arduino board. It was just simpler/quicker to not use them in the simulation.

    • @ThisRandomUsername
      @ThisRandomUsername 10 หลายเดือนก่อน

      @@upir_upir You really should warn people of this in the video though. You don't address it once. People are going to destroy their Arduinos.

  • @slahsamet8722
    @slahsamet8722 10 หลายเดือนก่อน +1

    excellent ! but the price for the LED ring is ...... HOT !

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      It´s very specific product, so it´s expected that the price will be somehow higher compared to let´s say a single LED. I will try to create my own version in the next video to see how much cheaper it could get if I create it on my own.

  • @mohamad_w_abdallah
    @mohamad_w_abdallah 10 หลายเดือนก่อน +1

    How do you know how to connect the LEDs so that they can do the function you want?
    And how did you know how many wires you'll need?
    Like for the 9 LEDs at first you can think about it, but let's say you're dealing with much much more....

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      It´s a number of columns X the number of rows. It´s easy to visualize with a grid-like pattern, but obviously harder with something like the LED ring light, where all the LEDs are in one line. Usually multiplexing chips like the MAX7219 can drive 8x8 LEDs, i.e. 64 LEDs in total. How many LED do you want to control?

    • @mohamad_w_abdallah
      @mohamad_w_abdallah 10 หลายเดือนก่อน

      ​@@upir_upirbut you for the 3×3 grid you used 6 wires
      Is it 3+3?
      So like column + row

  • @ciprian-florinifrim1928
    @ciprian-florinifrim1928 10 หลายเดือนก่อน +1

    Do you know if there's a similar one but for linear potentiometers?

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      I believe the same company also has some for sliders. There are pre-made modules with X number of LEDs, but most of the time, those are much smaller than the slider.

  • @johnpenner5182
    @johnpenner5182 10 หลายเดือนก่อน +1

    make it a VU meter - with the VU maxing to the point at which the volume is set! ✨

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      Thank you for the suggestion, that´s a very interesting idea. I might try it!

  • @planker
    @planker 9 หลายเดือนก่อน +1

    Super cool. Super expensive. However, when the potentiometer cost more than the toroidal transformer, it's time to rethink the bling.

    • @upir_upir
      @upir_upir  9 หลายเดือนก่อน +1

      When I bought it the last time, it was about $9 a piece; it looks like it´s getting more expensive, as it now costs around $11 a piece. I wonder how much it would cost if you made it by yourself.

    • @planker
      @planker 9 หลายเดือนก่อน

      @@upir_upir still cheaper to buy this one, It's a nice piece of work, it would be difficult to diy.

  • @legendstorm6855
    @legendstorm6855 10 หลายเดือนก่อน +1

    Aren't you from Czech Republic?

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Maybe..

  • @Mtaalas
    @Mtaalas 10 หลายเดือนก่อน +1

    uuuh... too expensive... 23€ for ONE :D

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      I believe the price is for 2 units, so it (slightly) cheaper ..

  • @Taras195
    @Taras195 10 หลายเดือนก่อน +2

    You could use a shift register and just two pins from the arduino to multiplex and drive those leds with common cathode. A bit more math to do (compile time) though, but less clutter and LESS USED PINS

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Shift registers are surely possible, but I believe you would need two of those. I think a better solution is to use something like MAX7219. That´s the one that I actually plan to use in the next video.

    • @Taras195
      @Taras195 10 หลายเดือนก่อน

      ​@upir_upir, that's better, but consider how cheap these two are (especially comparing to $20 led module).
      Also seems like max7219 just uses shift registers to multiplex internally, and just takes command data via spi, so you're just proposing higher level task, omitting basics.

  • @ITSALLELECTRONICS
    @ITSALLELECTRONICS 10 หลายเดือนก่อน +1

    Awesome 😎
    Always love your vids❤
    keep up!

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Thank you, I really appreciate it!

  • @JeremyCook
    @JeremyCook 10 หลายเดือนก่อน +2

    Nice explanation of how an LED matrix works.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Glad it was helpful!

  • @andymouse
    @andymouse 10 หลายเดือนก่อน +2

    You always find this awesome stuff ! can't wait for the next one....cheers.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      Thank you, I spend way too much on AliExpress, so I have a plenty of modules to play with :) Stay tuned!

  • @tomashubelbauer
    @tomashubelbauer 10 หลายเดือนก่อน +3

    Exquisite explanation of multiplexing!

    • @BlixemBlixem
      @BlixemBlixem 10 หลายเดือนก่อน +1

      Agreed. Best video I have seen yet!

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      Thank you both! I really appreciate your nice comments.

  • @mr.nimbus4902
    @mr.nimbus4902 10 หลายเดือนก่อน +2

    Brilliant. Just brilliant. Can't wait to try it out. Thank you

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      Thank you for your nice words and good luck with your project!

  • @systemG3000
    @systemG3000 10 หลายเดือนก่อน +1

    huh, if it was i2c i'd be on that quick

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      Please wait for the next video, that´s exactly what I plan to do :)

  • @feynthefallen
    @feynthefallen 10 หลายเดือนก่อน +2

    Nice explanation, very educational. Good demonstration of how matrix LEDs are driven. If however I did this for real, I'd want an LED matrix driver chip, if only because I don't think the AVR would survive for long if you kept driving its pins at these power levels.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Thank you for your comment. I cannot answer your question about the lifespan, but I don´t think that it would make any big difference, after all, those "power levels" are pretty low. However, as mentioned in the video, you spend way too much cycles updating the LEDs, since you need to do this all the time. If you use multiplexing chip, you only need to send new data when the content should change, and the multiplexing chip takes care of that. I have recently recorded a video with some Chinese chip that you can get for 0.2 dollars and it can drive 128 LEDs - i.e. 4 of those ring lights. I think in that case, using external chip makes a lot of sense.

    • @nikthefix8918
      @nikthefix8918 10 หลายเดือนก่อน +1

      Not so bad when you're running your multiplex at speed but in the experimental stages, the lack of current limit resistors could be risky - especially for this relatively expensive ring. I bought some of the Alps led ring integrated encoders and was paranoid enough to place current limits on all possible paths - but it was messy. I agree that a constant current matrix driver is a better choice. ISSI perhaps.

    • @feynthefallen
      @feynthefallen 10 หลายเดือนก่อน

      @@nikthefix8918 Honestly I'd fear more for the output driver logic of the MCU than for the LED. A LED can take quite a bit of overcurrent for quite a while before it dies, but the output drivers of uCs are much less forgiving. The AVRs are among the sturdier ones, if you tried the same with a motorola or pic, you'd go through a lot of chips. That's why you should always put an impedance converter between your output pin and your load.

  • @iznasen
    @iznasen 9 หลายเดือนก่อน +1

    in 2001 i have asked my teacher two questions "How to make an led blink"
    ... 23 years later still never done it!
    FYK, making an led blink was a dream of mine

    • @upir_upir
      @upir_upir  9 หลายเดือนก่อน

      Well, maybe it´s finally time to make an LED blink :)

  • @stanneh1978
    @stanneh1978 10 หลายเดือนก่อน +2

    Wow the price! LOL!!

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      As many has commented before, with enough knowledge, you might be able to create your own version for a fraction of a price - at least that´s what they said.

    • @stanneh1978
      @stanneh1978 10 หลายเดือนก่อน +1

      @@upir_upir of course it's just a couple of led's triggered by the reading of the potentiometer value.

  • @makstex
    @makstex 10 หลายเดือนก่อน +1

    All right!
    Now let's motorize it!

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Good idea!

  • @JustPlainRob
    @JustPlainRob 10 หลายเดือนก่อน +1

    And here I thought I was being fancy with my 7-addressable-LED pot rings... I wish these werent so expensive if not just so mixing consoles that use them weren't thousands of dollars.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Do you have a photo? I would love to see it, it must be pretty cool as well!

  • @furankusama
    @furankusama 10 หลายเดือนก่อน +1

    Brother.
    I came for the potentiometer pimp - I stayed for the multiplexing tutorial.
    Thank you.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      That´s great to hear!

  • @shokdj1
    @shokdj1 10 หลายเดือนก่อน +2

    I didn't think low would set it to ground, but actually makes sense it would because unused pins on an ice tend to be set to ground

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +2

      It depends. If you don´t set the pinmode to output, the pin could be any value, i.e. it´s in the "floating" state. Once you set the pinmode to output, it´s either low (ground) or high (5V in case of Arduino UNO).

    • @shokdj1
      @shokdj1 10 หลายเดือนก่อน

      @@upir_upir thanks mate I’ve been using arduinos for the past couple months so still pretty fresh I didn’t even realise I was learning a variant of c++ at 1st lol

  • @nugravityzm
    @nugravityzm 10 หลายเดือนก่อน +2

    broken link LED ring light :(

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      That´s strange, I have just clicked the link and it works. Anyway, try googling this and hopefully you will be able to find it
      "31 LED linear array, arc 300 ° suitable for audio equipment display device"

    • @VjZee13
      @VjZee13 10 หลายเดือนก่อน

      Same thing here, link doesn't work for me

    • @StahLHerZRocK
      @StahLHerZRocK 10 หลายเดือนก่อน

      @@upir_upir may be its some geo restrictions. i cant find by this words direct ali, but i see result in google.

  • @mitchellstrobbe7779
    @mitchellstrobbe7779 10 หลายเดือนก่อน +2

    This but smd, RGB, and a full circle for rotary encoders

    • @auden_builds
      @auden_builds 10 หลายเดือนก่อน +2

      they make really small smd addressable neopixels that would only require 3 wires (power, data,grnd) and would have rgb and take up waaaay less io

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      I agree that using small SMD neopixels would be probably the best solution.

  • @Smashachu
    @Smashachu 10 หลายเดือนก่อน +1

    He's a hard worker, i just wish he would see his own potential.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      What is my potential? It´s hard to tell...

    • @Smashachu
      @Smashachu 10 หลายเดือนก่อน

      Potentionmeter,

  • @BANGINGINSTRUMENTALS
    @BANGINGINSTRUMENTALS 10 หลายเดือนก่อน +1

    I do this with Neopixel rings

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      And I plan to use neopixels for the next version as well. It´s a good idea, but I don´t think it would be any cheaper.

  • @BitSmythe
    @BitSmythe 10 หลายเดือนก่อน +1

    0:44. Using “gwackoway” or *WHAT???*

    • @baxbanni2226
      @baxbanni2226 10 หลายเดือนก่อน +1

      Wokwi - the Arduino simulator. 😂😂

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      WOKWI. I don´t know what is a proper way to pronounce it :/

  • @GaryMcKinnonUFO
    @GaryMcKinnonUFO 10 หลายเดือนก่อน +1

    Super Sexy Pot !!! :)

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      I should have used this name instead!

    • @GaryMcKinnonUFO
      @GaryMcKinnonUFO 10 หลายเดือนก่อน

      :)@@upir_upir

  • @pn8902
    @pn8902 10 หลายเดือนก่อน +1

    definitely in need of a driver chip and i2c then this would be really powerful and I would include it everywhere that I have a potentiometer. Nice work!

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      Thank you. I do plan to record a second part of the video with the multiplexer chip to drive the LEDs. Please check back later.

  • @gazehound
    @gazehound 10 หลายเดือนก่อน +1

    I think I understand why you used map, but that 0->1023 to 0->31 mapping definitely could be accomplished in fewer clock cycles with a right bitshift

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      That’s a very good point, but later on I have realized that my potentiometer works better in a slightly narrower range, so I have tweaked the values.

  • @tiziplays3239
    @tiziplays3239 10 หลายเดือนก่อน +1

    I knew all of this already, don't really know why i watched it... It was just so well thought out that it was satisfying to watch, perfectly explained!

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      In any case, I’m glad you have enjoyed it! Thank you.

  • @ixoidyougo7113
    @ixoidyougo7113 10 หลายเดือนก่อน +1

    I pressed on this video randomly to watch something while eating, and now i understand how a led matrix works and what's the real difference between high and low pins

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      That´s great to hear. You also now understand how pretty much any display works, because multiplexing is the way displays are updated.

  • @Rubacava_
    @Rubacava_ 10 หลายเดือนก่อน +1

    It is better if have directly accessed registers instead of digitalWrite but still good as is. I would prefer I2C IO expanders though as they are pretty cheap.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Agree with registers, but since the tutorial was aimed to beginners, using digitalWrite made more sense since it´s more understandable.

  • @Benqo
    @Benqo 10 หลายเดือนก่อน +1

    Cool. Only if the potentiometer was not so expensive. The led ring module with driver by Mayhew Labs was cheaper. It´s sad that it is no more available.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Thank you for the suggestion about the Mayhew Labs. It would make a cool addon to this video, too bad you cannot buy it anymore.

  • @nastyx5476
    @nastyx5476 9 หลายเดือนก่อน +1

    Good video and content👍👍
    jsem si říkal, že zníte jako čech a je to pravda😂 musím říct, že dobrá angličtina

    • @upir_upir
      @upir_upir  9 หลายเดือนก่อน

      Díky, ale pokud to jde poznat, tak to znamená že na angličtině musím ještě trochu zapracovat 😀

    • @nastyx5476
      @nastyx5476 9 หลายเดือนก่อน

      já to nejvíce poznal na přízvuku než na výslovnosti 😀

  • @vex9596
    @vex9596 10 หลายเดือนก่อน +2

    Very cool! Obscenely expensive though :X

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Thank you, I´m glad you like it. It´s not super cheap, but that´s mainly because it´s quite specialized product I guess. As other has noted already, it should be simple to build something similar..

    • @vex9596
      @vex9596 10 หลายเดือนก่อน

      @@upir_upir True! It's probably a bit costly because it's somewhat niche for now, not mass-produced just yet. But looks really nice and I can see it being useful in a lot of projects, might try to make one. Cheers!

  • @teutorider
    @teutorider 10 หลายเดือนก่อน +1

    Nettes Teil, allerdings wäre ein Mono Potentiometer für den Arduino belegt. Da müsste man sich ein Stereo Potentiometer anschließen um die eigentliche analoge Schaltung auch zu bedienen.
    Um Ports zu sparen wären Schieberegister direkt auf dem LED Board praktisch gewesen und der Preis wäre ein Stückchen gerechtfertigt gewesen. Beste Grüße ✌️😊👍

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      Agreed, I will use shift registers in my next video.

  • @theskrript_
    @theskrript_ 10 หลายเดือนก่อน +1

    Thanks so much for the video, it was pleasure for me to watch such good content! Keep up the same, dude!

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Thank you for your nice comment, that´s great to hear! I just need to find out why this particular video was so much more popular compared to my other videos.. and try to repeat the process.

  • @ChadDoebelin
    @ChadDoebelin 10 หลายเดือนก่อน +1

    This was a very good explanation. I enjoyed watching it.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Thank you!

  • @TomSmith-eq1vr
    @TomSmith-eq1vr 10 หลายเดือนก่อน +1

    Upir, how do I get in contact with you?

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      My email address should be visible when you go to the about section of this channel, but I know that sometimes it only shows on desktop and not on mobile.

    • @TomSmith-eq1vr
      @TomSmith-eq1vr 10 หลายเดือนก่อน

      @@upir_upir I will try viewing via my desktop 👍 explains why I can't see it.

  • @Эдуард-л1э4т
    @Эдуард-л1э4т 10 หลายเดือนก่อน +1

    please actual link LED ring light

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Please open the GitHub page and open the link there. Somehow it’s not always working directly for TH-cam link. I’m sorry for the inconvenience.

    • @Эдуард-л1э4т
      @Эдуард-л1э4т 10 หลายเดือนก่อน

      @@upir_upir Arduino UNO: link-ok
      Arduino prototyping shield: link-ok
      Breadboard wires: link-ok
      LED ring light: link-bad
      LED ring light(GitHub): link-bad

  • @101blog
    @101blog 10 หลายเดือนก่อน +2

    Nice LED Ring but at 16 quid a pop you may be better rolling your own for a couple of quid a each

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      I have just checked and it looks like you can get 100 SMD LEDs for just a few dollars. However, that would probably not be the biggest expense, you also need pcb and pcb stencil. Might be an interesting idea for a next project- diy led ring light.

    • @101blog
      @101blog 10 หลายเดือนก่อน +1

      @@upir_upir absolutely the LED's on a reel of 2K are about 0.3-1 cent a piece and a prototype PCB even 10cm square is about 2-5$ for 10 so yeah you could build 50 for the price of 1 if you designed it your self

    • @jnharton
      @jnharton 10 หลายเดือนก่อน +1

      @@101blogArguably, when you buy from a company you are paying for the labor and material cost expense of designing and manufacturing it plus the convenience cost of being able to just buy one (or even a couple units).
      The "savings" from doing it yourself and making say 50+ largely come from discounting the cost of your own time and effort.

    • @101blog
      @101blog 10 หลายเดือนก่อน +1

      @@jnharton Absolutely but since its a hobby where you make things then making them is the fun thing not just buying them. The whole hobby thing is a price time fun tradeoff

    • @someguy4915
      @someguy4915 10 หลายเดือนก่อน

      @@jnhartonBut those savings are significant and with companies like JLCPCB and PCBWay for example that offer PCB production as well as assembly you could design a little PCB and have them build the entire thing for something like $50 for 100 of them or so...
      At which point they're $0.50 each... Heck they will usually even be built, assembled and shipped to you faster than a normal aliexpress purchase...

  • @Mavi222
    @Mavi222 10 หลายเดือนก่อน +1

    Love your video. I tried doing something with arduino a few times and I am a coding noob so I didn't really understand the whole coding part but I love the video. Might come back to it once I figure things out. You explain this really well!

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Glad it helped! Feel free to check my other videos, I have a lot of them with Arduino for beginners..

  • @baxbanni2226
    @baxbanni2226 10 หลายเดือนก่อน +1

    Nice project. It brings me to the idea how to use it with a rotary encoder. 🤔👍

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Cool! What are you going to use this for?

  • @H2Oredfirefox
    @H2Oredfirefox 10 หลายเดือนก่อน +1

    so that's how they make high-end Volume displays looks pretty neat

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      Yep, I have always admired those!

  • @8BitNaptime
    @8BitNaptime 10 หลายเดือนก่อน +1

    très chic, i like it

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Thank you!

  • @JulianMakes
    @JulianMakes 10 หลายเดือนก่อน +1

    This is SO brilliantly described thank you!

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      You are welcome, thank you for your comment!

  • @Tapperje16
    @Tapperje16 10 หลายเดือนก่อน +5

    Learned more from this video about arduino coding then i've ever found before, just clear and simple, not fussing around, thanks!

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Thank you, that´s great to hear!

  • @Bajran_
    @Bajran_ 10 หลายเดือนก่อน +1

    Fajne, dzięki ;)

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      You are welcome!

  • @upir_upir
    @upir_upir  9 หลายเดือนก่อน

    Part 2 of "Pimp My Potentiometer" series is here: th-cam.com/video/sE3LSYoCqLQ/w-d-xo.html

  • @jb14_99
    @jb14_99 10 หลายเดือนก่อน +1

    very slick!

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Thank you!

  • @jacquesb5248
    @jacquesb5248 10 หลายเดือนก่อน +1

    very interesting

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Thank you!

  • @t7732155980
    @t7732155980 10 หลายเดือนก่อน +1

    Very simply design, yet the results are impressive. I like it!

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Thank you!

  • @Boon_Tobias237
    @Boon_Tobias237 10 หลายเดือนก่อน +1

    Led ring light link doesn't work 😢

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Please try it now.

    • @Boon_Tobias237
      @Boon_Tobias237 10 หลายเดือนก่อน

      ​@@upir_upirI tried, when open the link in video description : AliExpress page is "this page doesn't exist"

    • @StahLHerZRocK
      @StahLHerZRocK 10 หลายเดือนก่อน

      ​@@upir_upir still doesnt work. can you say word by word name of lot?

  • @ethanrandall3005
    @ethanrandall3005 10 หลายเดือนก่อน +1

    You don't need to light each LED individually. Light the LEDs in groups for each CA/CC. Instead of iterating 32 times, you only need to iterate 4 times.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Yes, but with this approach, you will have hard time getting a consistent brightness. If you light up 1 of 8 LEDs in one group, and 8 of 8 LEDs in second group, the one LED in first group would be much brighter.

    • @zerker2000
      @zerker2000 9 หลายเดือนก่อน

      @@upir_upir A compromise I could see is switching half a bank at once, then you'd only need to figure out on-times for 1/2/3/4 looking even. measure the brightness objectively with a camera, as long as you switch them fast enough it should all get accumulated into the same frame - or just eyeball it off the measured voltages honestly

  • @mrdan2898
    @mrdan2898 10 หลายเดือนก่อน +1

    Yes, I like!

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Thank you!

  • @kape5105
    @kape5105 10 หลายเดือนก่อน +1

    That's neat!

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Thank you!

  • @mitchellstrobbe7779
    @mitchellstrobbe7779 10 หลายเดือนก่อน +2

    This channel never misses

    • @mitchellstrobbe7779
      @mitchellstrobbe7779 10 หลายเดือนก่อน +1

      Honestly would love to go into business with this guy making electronics kits

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Thank you for your nice words! I really appreciate it.

  • @anfinndanielsen4156
    @anfinndanielsen4156 10 หลายเดือนก่อน +1

    Awesome video 🤘 this is the content i am looking for, very informitive ❤️ thanks sub from me, love the style of how you explain 👌

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Thank you for your nice comment, I´m glad it was helpful. Please feel free to check my other videos as well, I have a few more covering similar topics..

    • @anfinndanielsen4156
      @anfinndanielsen4156 10 หลายเดือนก่อน

      @@upir_upir no problems 😁 love these type of videos 😁 arduino esp32 and such, love tinkring myself and build stuff and watch your videos make it fun also 😁 keep up the good work 👌

  • @tuff_lover
    @tuff_lover 10 หลายเดือนก่อน +1

    Marco Reps sent me here.

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      How?

    • @tuff_lover
      @tuff_lover 10 หลายเดือนก่อน

      @@upir_upir He's got his means and ways.

  • @NavySturmGewehr
    @NavySturmGewehr 10 หลายเดือนก่อน +1

    Is it hard to add custom components to wowki?

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Depends how you define “hard”. It’s definitely hard for me, but it would be not that hard for someone who understands programming a little bit more. There are many examples for custom components in WOKWI documentation, if your component is similar to any of those, it would be easier.

  • @ahmethakansengul6779
    @ahmethakansengul6779 10 หลายเดือนก่อน +1

    what does pimp mean?

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      It’s a reference to the old TV show “pimp my ride”. You should watch it, it’s very entertaining.

    • @ahmethakansengul6779
      @ahmethakansengul6779 10 หลายเดือนก่อน

      @@upir_upir thanks bro

  • @kelzagoodman
    @kelzagoodman 10 หลายเดือนก่อน +1

    BADASS

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      Thanks!

  • @bimokayoba
    @bimokayoba 10 หลายเดือนก่อน +2

    Amazing !

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน +1

      Thank you, I’m glad you like it!

  • @awocrf
    @awocrf 10 หลายเดือนก่อน +2

    cool but expensive

    • @upir_upir
      @upir_upir  10 หลายเดือนก่อน

      I´m sure if you order thousands of those, you will get some discount. Or - as someone has proposed, perhaps you can design your own...

    • @awocrf
      @awocrf 10 หลายเดือนก่อน

      @@upir_upir Thousands of those would only make sense if it would be included in some kind of commercial product. For personal projects unless there is some cheaper thingy simmilar to this, placing a couple of SMD LEDs on a PCB with 3d printed light guide or something is propably better