How to control 4 digit 7 segment display with MAX7219 module

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

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

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

    Nice video, pls what software do you use for your videos

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

      Wondershare Filmora. It is a one off fee so much cheaper then adobe premiere

  • @rudigerritzberger9161
    @rudigerritzberger9161 Месяц назад

    Hallo, vielen Dank für die tolle Erklärung!!! noch eine frage bitte, kann man den Code 1:1 auch bei Arduino Uno verwenden?
    vielen Dank

    • @marios_ideas
      @marios_ideas  Месяц назад +1

      Arduino Uno and nano are the same . The code would work 1:1 all you need is to compile it on Arduino Uno in Arduino IDE. Consider supporting my channal:)

  • @nuurqomar.
    @nuurqomar. 2 года назад

    if using 7seg common anode, we can use ic tm1637 (can drive 8 digits 7seg too) more simple need 2 control lines DIN and CLK

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

    Excelente trabajo y maravillosa explicación , gracias por tu tiempo...

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

    i tried like this it didn't work
    int RowBits=B1000000;
    lc.setRow(0,data, RowBits);
    RowBits = RowBits >>1;
    lc.setDigit (0,0,data,true);
    delay(delaytime);
    lc.clearDisplay(0);

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

      But this code is to lit individual segments not to display digits. Not sure I understand what you are trying to achieve

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

    I'm wanting to create a small manual button push counting display, button press will increase the value up by 1, but am struggling to find instuctions on how to do this, do you have any insight?

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

      I have something in my old videos that may help you. First you would need to understand how interrupts work. Check this tutorial ruclips.net/video/kMtRmj9DS2I/видео.html , and then look at the project in this video. ruclips.net/video/gUT685Pb-xI/видео.html Start watching at 5:07. It is using the same mechanism as you need for changing index of led to it.

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

    What's are the capacitors for? I'd like to breadboard this with just a shift register, not the whole module. Wondering if I can just leave the caps out.

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

      I presume capacitor is to avoid some glitches that would cause some undesired flickering behaviouu rof leds. MAX7219 is not shift register. I have shift register video ruclips.net/video/QI1IJLB42G8/видео.html as well. It is a completly different concept. If you want to integrate the max7219 module into your custom pcb there are some videos on youtube which would show you how to recreate theat particular module on your PCB so it is built in.

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

    Will this just work for 8 digits (using all 8 rows, instead of 4), no other changes needed?

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

      Correct. At the beginnig I am showing the 8 digits module with build in max7219 chip which you can buy and save you a lot of work. I am doing it this way as I want to control custom build display

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

      @@marios_ideas Yeah, I came across this because I wanted to do something similar (and not be stuck with the form factor of those boards.
      Thinking more though... if I need to attach to another 4-digit-display, I attach more row/digit connections but... do I connect the same column pins to the 2nd 4-digit-display? hmm

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

      @@GrahamReeves Yes To build 8x8 matrix 8 columns and 8 rows

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

    it dosent work you are a lie

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

      I don't even know how to respond to this. My bet is you have the wrong type of display. But what do I know

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

    Thank you for your video. Can I ask how you blank out a digit? For example instead of showing 0001, it will blank out the 3 zeros and only displays the 1, or 99 instead of 0099. How this is done if we want to count-up or countdown. Thank you.

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

      Here is the table in the code that stores all the digits
      int Digits[10]={B01111110, B00110000, B01101101, B01111001,
      B00110011, B01011011, B01011111, B01110000,
      B01111111, B01111011};
      First record B01111110 represents zero. You can either replace it with B00000000 or add one more record so you still can display 0 and also blank sign if you wish.

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

    Hello, how can I replace the 7-segment display, make the segments with a strip of LEDs composed of 3 LEDs connected to 5VDC, can you tell me a schematic connection?

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

      I am working on the clock project with max7219 and leds but not led strips but one color single leds

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

      So you should see something in a week or so. Olso check my word clock video. This should give you a an idea how to create segments based on 28leds from the led strips. But then you do not need max7219

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

    how to use the Max7219 for common anode?

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

      I am sure it is possible but not simple. This part is meant for the use with common cathode

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

      @@marios_ideas thanks for your fast reply :)
      is there any other alternatives to Max7219 to be used with common anode led matrix ?

    • @nuurqomar.
      @nuurqomar. 2 года назад

      @@hamedtaha1 Maybe u can use ic with NOT gate

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

    the link to the code doesn't get me to the project it just opens arduino projects

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

    How can i count without zeros before the numbers?

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

      In the Digits table you need to add one more entry which represents "blank" B00000000 and in the code where you use lc.setrow commands to display the digits you have to introduce if statements which check if "i" is greater smaller then 1000 then istead of displaying dig1 you display blank, next if checks if "i " smaller then a 100 then you replace dig2 with blank, and finaly if "i" is smaller then 10 then dig3 is replaced with blank

  • @Макс-щ2ч1ч
    @Макс-щ2ч1ч Год назад

    Классное видео! Спасибо! Очень эффективное использование драйвера. На одном драйвер можно практически всю верхнюю панель ка-50 осветить

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

    Just what I needed 🤣🤣

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

      Like the video if you found it useful. helps me a lot

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

    Hi sir can i use 74hc595 ic?

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

      Of course you can. But you would need four of these to control 4 digits. I have a video which covers shift regiters:
      ruclips.net/video/QI1IJLB42G8/видео.html
      For me however using Max7219 is simpler , code is more straigt forward. You can independendly change any digit while in daisychained shift register you need to update all four in case of any change. Plus there is much more soldering, and I am not very good at it:)

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

      @@marios_ideas Thank you sir i understood.