Seven-segment display seems to draw little current

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
17
down vote

favorite












I bought a 1.8-inch seven-segment common cathode LED display from AliExpress. So no datasheet available.



I used a 1 kΩ resistor and a 5 V source, as to put a max 5 mA in the LED. I measured 1.6 V for the decimal dot, and 3.5 V for each segment. The measured current draw for one segment was 1.5 mA.



Now, I expected each LED to be quite dim at 1.5 mA, but it was the opposite, I could put a 4 kΩ resistor and still has a usable display.



I intended to drive the display using an ATmega328P and a MAX7219 (which would have been OK up to 500 mA per segment).



Does this measurement seem correct, and if so, I can drop the MAX7219 and drive the segment directly (with current limiting resistors) with the ATmega?










share|improve this question























  • A modern single digit is easy to drive directly from a micro. If you need to drive multiple digits it gets more difficult. The digit drivers will be that DC segment current * n * 8 for n digits.
    – Spehro Pefhany
    Aug 21 at 12:09











  • @SpehroPefhany I need to drive 2 digits, but I have plenty of spare IO on my atmega328p ;) I could use this as an opportunity to multiplex.
    – mathieu
    Aug 21 at 12:13










  • I've found that modern LEDs are a lot brighter than I think. I use 10k at 5V when breadboarding stuff and it's still plenty bright as an indicator (indoors, anyway). Except for yellow ones for some reason.
    – immibis
    Aug 22 at 2:40










  • Note that max current draw for Microcontrollers typically is two specs: per pin and total current limit. And, typically, total != npins*max_per_pin
    – crasic
    Aug 22 at 6:12















up vote
17
down vote

favorite












I bought a 1.8-inch seven-segment common cathode LED display from AliExpress. So no datasheet available.



I used a 1 kΩ resistor and a 5 V source, as to put a max 5 mA in the LED. I measured 1.6 V for the decimal dot, and 3.5 V for each segment. The measured current draw for one segment was 1.5 mA.



Now, I expected each LED to be quite dim at 1.5 mA, but it was the opposite, I could put a 4 kΩ resistor and still has a usable display.



I intended to drive the display using an ATmega328P and a MAX7219 (which would have been OK up to 500 mA per segment).



Does this measurement seem correct, and if so, I can drop the MAX7219 and drive the segment directly (with current limiting resistors) with the ATmega?










share|improve this question























  • A modern single digit is easy to drive directly from a micro. If you need to drive multiple digits it gets more difficult. The digit drivers will be that DC segment current * n * 8 for n digits.
    – Spehro Pefhany
    Aug 21 at 12:09











  • @SpehroPefhany I need to drive 2 digits, but I have plenty of spare IO on my atmega328p ;) I could use this as an opportunity to multiplex.
    – mathieu
    Aug 21 at 12:13










  • I've found that modern LEDs are a lot brighter than I think. I use 10k at 5V when breadboarding stuff and it's still plenty bright as an indicator (indoors, anyway). Except for yellow ones for some reason.
    – immibis
    Aug 22 at 2:40










  • Note that max current draw for Microcontrollers typically is two specs: per pin and total current limit. And, typically, total != npins*max_per_pin
    – crasic
    Aug 22 at 6:12













up vote
17
down vote

favorite









up vote
17
down vote

favorite











I bought a 1.8-inch seven-segment common cathode LED display from AliExpress. So no datasheet available.



I used a 1 kΩ resistor and a 5 V source, as to put a max 5 mA in the LED. I measured 1.6 V for the decimal dot, and 3.5 V for each segment. The measured current draw for one segment was 1.5 mA.



Now, I expected each LED to be quite dim at 1.5 mA, but it was the opposite, I could put a 4 kΩ resistor and still has a usable display.



I intended to drive the display using an ATmega328P and a MAX7219 (which would have been OK up to 500 mA per segment).



Does this measurement seem correct, and if so, I can drop the MAX7219 and drive the segment directly (with current limiting resistors) with the ATmega?










share|improve this question















I bought a 1.8-inch seven-segment common cathode LED display from AliExpress. So no datasheet available.



I used a 1 kΩ resistor and a 5 V source, as to put a max 5 mA in the LED. I measured 1.6 V for the decimal dot, and 3.5 V for each segment. The measured current draw for one segment was 1.5 mA.



Now, I expected each LED to be quite dim at 1.5 mA, but it was the opposite, I could put a 4 kΩ resistor and still has a usable display.



I intended to drive the display using an ATmega328P and a MAX7219 (which would have been OK up to 500 mA per segment).



Does this measurement seem correct, and if so, I can drop the MAX7219 and drive the segment directly (with current limiting resistors) with the ATmega?







current-measurement 7segmentdisplay atmega328p






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 24 at 0:56









Peter Mortensen

1,56131422




1,56131422










asked Aug 21 at 11:19









mathieu

1888




1888











  • A modern single digit is easy to drive directly from a micro. If you need to drive multiple digits it gets more difficult. The digit drivers will be that DC segment current * n * 8 for n digits.
    – Spehro Pefhany
    Aug 21 at 12:09











  • @SpehroPefhany I need to drive 2 digits, but I have plenty of spare IO on my atmega328p ;) I could use this as an opportunity to multiplex.
    – mathieu
    Aug 21 at 12:13










  • I've found that modern LEDs are a lot brighter than I think. I use 10k at 5V when breadboarding stuff and it's still plenty bright as an indicator (indoors, anyway). Except for yellow ones for some reason.
    – immibis
    Aug 22 at 2:40










  • Note that max current draw for Microcontrollers typically is two specs: per pin and total current limit. And, typically, total != npins*max_per_pin
    – crasic
    Aug 22 at 6:12

















  • A modern single digit is easy to drive directly from a micro. If you need to drive multiple digits it gets more difficult. The digit drivers will be that DC segment current * n * 8 for n digits.
    – Spehro Pefhany
    Aug 21 at 12:09











  • @SpehroPefhany I need to drive 2 digits, but I have plenty of spare IO on my atmega328p ;) I could use this as an opportunity to multiplex.
    – mathieu
    Aug 21 at 12:13










  • I've found that modern LEDs are a lot brighter than I think. I use 10k at 5V when breadboarding stuff and it's still plenty bright as an indicator (indoors, anyway). Except for yellow ones for some reason.
    – immibis
    Aug 22 at 2:40










  • Note that max current draw for Microcontrollers typically is two specs: per pin and total current limit. And, typically, total != npins*max_per_pin
    – crasic
    Aug 22 at 6:12
















A modern single digit is easy to drive directly from a micro. If you need to drive multiple digits it gets more difficult. The digit drivers will be that DC segment current * n * 8 for n digits.
– Spehro Pefhany
Aug 21 at 12:09





A modern single digit is easy to drive directly from a micro. If you need to drive multiple digits it gets more difficult. The digit drivers will be that DC segment current * n * 8 for n digits.
– Spehro Pefhany
Aug 21 at 12:09













@SpehroPefhany I need to drive 2 digits, but I have plenty of spare IO on my atmega328p ;) I could use this as an opportunity to multiplex.
– mathieu
Aug 21 at 12:13




@SpehroPefhany I need to drive 2 digits, but I have plenty of spare IO on my atmega328p ;) I could use this as an opportunity to multiplex.
– mathieu
Aug 21 at 12:13












I've found that modern LEDs are a lot brighter than I think. I use 10k at 5V when breadboarding stuff and it's still plenty bright as an indicator (indoors, anyway). Except for yellow ones for some reason.
– immibis
Aug 22 at 2:40




I've found that modern LEDs are a lot brighter than I think. I use 10k at 5V when breadboarding stuff and it's still plenty bright as an indicator (indoors, anyway). Except for yellow ones for some reason.
– immibis
Aug 22 at 2:40












Note that max current draw for Microcontrollers typically is two specs: per pin and total current limit. And, typically, total != npins*max_per_pin
– crasic
Aug 22 at 6:12





Note that max current draw for Microcontrollers typically is two specs: per pin and total current limit. And, typically, total != npins*max_per_pin
– crasic
Aug 22 at 6:12











2 Answers
2






active

oldest

votes

















up vote
19
down vote



accepted










First of all +1 for measuring your display. Too often we get questions here about "I saved money by buying cheap from Alibaba but it don't work. Now please spend you valuable time helping me out".



These days LED's are very efficient. They no longer need the 20mA the first generation required. 1mA or less is not uncommon.



So, yes, you drive these straight from an atmega328.






share|improve this answer
















  • 3




    Thanks. A lot of the fun is learning of this works, and comparing expected vs real values with the multimeter. Now, I have some ripup to do in Eagle ;)
    – mathieu
    Aug 21 at 11:44






  • 9




    It also depends on the surrounding lighting, in daylight you are going to need to drive them harder to literally outperform the sun, in the dark you only need enough to be glowing at all.
    – ratchet freak
    Aug 21 at 12:48

















up vote
0
down vote













Use current limit resistors. You can get by with 1 if you are multplexing the display (only turning on 1 segment at a time), or use 7 if you are driving all 7 at once. The advantage of the MAX7219 is that takes cares of the multiplexing for you, and can drive up to 8 digits with just 3 outputs from the Atmega328P.






share|improve this answer




















    Your Answer




    StackExchange.ifUsing("editor", function ()
    return StackExchange.using("mathjaxEditing", function ()
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["\$", "\$"]]);
    );
    );
    , "mathjax-editing");

    StackExchange.ifUsing("editor", function ()
    return StackExchange.using("schematics", function ()
    StackExchange.schematics.init();
    );
    , "cicuitlab");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "135"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f392036%2fseven-segment-display-seems-to-draw-little-current%23new-answer', 'question_page');

    );

    Post as a guest






























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    19
    down vote



    accepted










    First of all +1 for measuring your display. Too often we get questions here about "I saved money by buying cheap from Alibaba but it don't work. Now please spend you valuable time helping me out".



    These days LED's are very efficient. They no longer need the 20mA the first generation required. 1mA or less is not uncommon.



    So, yes, you drive these straight from an atmega328.






    share|improve this answer
















    • 3




      Thanks. A lot of the fun is learning of this works, and comparing expected vs real values with the multimeter. Now, I have some ripup to do in Eagle ;)
      – mathieu
      Aug 21 at 11:44






    • 9




      It also depends on the surrounding lighting, in daylight you are going to need to drive them harder to literally outperform the sun, in the dark you only need enough to be glowing at all.
      – ratchet freak
      Aug 21 at 12:48














    up vote
    19
    down vote



    accepted










    First of all +1 for measuring your display. Too often we get questions here about "I saved money by buying cheap from Alibaba but it don't work. Now please spend you valuable time helping me out".



    These days LED's are very efficient. They no longer need the 20mA the first generation required. 1mA or less is not uncommon.



    So, yes, you drive these straight from an atmega328.






    share|improve this answer
















    • 3




      Thanks. A lot of the fun is learning of this works, and comparing expected vs real values with the multimeter. Now, I have some ripup to do in Eagle ;)
      – mathieu
      Aug 21 at 11:44






    • 9




      It also depends on the surrounding lighting, in daylight you are going to need to drive them harder to literally outperform the sun, in the dark you only need enough to be glowing at all.
      – ratchet freak
      Aug 21 at 12:48












    up vote
    19
    down vote



    accepted







    up vote
    19
    down vote



    accepted






    First of all +1 for measuring your display. Too often we get questions here about "I saved money by buying cheap from Alibaba but it don't work. Now please spend you valuable time helping me out".



    These days LED's are very efficient. They no longer need the 20mA the first generation required. 1mA or less is not uncommon.



    So, yes, you drive these straight from an atmega328.






    share|improve this answer












    First of all +1 for measuring your display. Too often we get questions here about "I saved money by buying cheap from Alibaba but it don't work. Now please spend you valuable time helping me out".



    These days LED's are very efficient. They no longer need the 20mA the first generation required. 1mA or less is not uncommon.



    So, yes, you drive these straight from an atmega328.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Aug 21 at 11:28









    Oldfart

    7,0732723




    7,0732723







    • 3




      Thanks. A lot of the fun is learning of this works, and comparing expected vs real values with the multimeter. Now, I have some ripup to do in Eagle ;)
      – mathieu
      Aug 21 at 11:44






    • 9




      It also depends on the surrounding lighting, in daylight you are going to need to drive them harder to literally outperform the sun, in the dark you only need enough to be glowing at all.
      – ratchet freak
      Aug 21 at 12:48












    • 3




      Thanks. A lot of the fun is learning of this works, and comparing expected vs real values with the multimeter. Now, I have some ripup to do in Eagle ;)
      – mathieu
      Aug 21 at 11:44






    • 9




      It also depends on the surrounding lighting, in daylight you are going to need to drive them harder to literally outperform the sun, in the dark you only need enough to be glowing at all.
      – ratchet freak
      Aug 21 at 12:48







    3




    3




    Thanks. A lot of the fun is learning of this works, and comparing expected vs real values with the multimeter. Now, I have some ripup to do in Eagle ;)
    – mathieu
    Aug 21 at 11:44




    Thanks. A lot of the fun is learning of this works, and comparing expected vs real values with the multimeter. Now, I have some ripup to do in Eagle ;)
    – mathieu
    Aug 21 at 11:44




    9




    9




    It also depends on the surrounding lighting, in daylight you are going to need to drive them harder to literally outperform the sun, in the dark you only need enough to be glowing at all.
    – ratchet freak
    Aug 21 at 12:48




    It also depends on the surrounding lighting, in daylight you are going to need to drive them harder to literally outperform the sun, in the dark you only need enough to be glowing at all.
    – ratchet freak
    Aug 21 at 12:48












    up vote
    0
    down vote













    Use current limit resistors. You can get by with 1 if you are multplexing the display (only turning on 1 segment at a time), or use 7 if you are driving all 7 at once. The advantage of the MAX7219 is that takes cares of the multiplexing for you, and can drive up to 8 digits with just 3 outputs from the Atmega328P.






    share|improve this answer
























      up vote
      0
      down vote













      Use current limit resistors. You can get by with 1 if you are multplexing the display (only turning on 1 segment at a time), or use 7 if you are driving all 7 at once. The advantage of the MAX7219 is that takes cares of the multiplexing for you, and can drive up to 8 digits with just 3 outputs from the Atmega328P.






      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        Use current limit resistors. You can get by with 1 if you are multplexing the display (only turning on 1 segment at a time), or use 7 if you are driving all 7 at once. The advantage of the MAX7219 is that takes cares of the multiplexing for you, and can drive up to 8 digits with just 3 outputs from the Atmega328P.






        share|improve this answer












        Use current limit resistors. You can get by with 1 if you are multplexing the display (only turning on 1 segment at a time), or use 7 if you are driving all 7 at once. The advantage of the MAX7219 is that takes cares of the multiplexing for you, and can drive up to 8 digits with just 3 outputs from the Atmega328P.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 21 at 16:55









        CrossRoads

        6024




        6024



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f392036%2fseven-segment-display-seems-to-draw-little-current%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?