How to use LED seven segment display and calculate its resistors value

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

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

  • @3sgtecelica
    @3sgtecelica 6 лет назад +6

    I've watched about 10 videos about these types of displays. Others just tell you what to connect where with little explanation. This is the best video I've seen by far. You actually explained it instead of just telling me what to do with no explanation. Thanks.
    You are a god among men.

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

      You are welcome. I am please to be helpful. You are a good-hearted person.

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

    Before watching this video, I already roasted two of my 7-seg displays 🤣 Thank God I now understand how it works in practice 😌.
    Thank you. You're a good teacher 💯

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

    Thank you for taking the time to explain how 7 segment display functions.

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

      you are welcome. :-)

  • @WispYart
    @WispYart 4 месяца назад +1

    Ah! Exactly what I am looking for! Thanks :)

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

      Glad I could help!

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

    At 20ma per segment, you don't want to light too many segments at a time if you are using an arduino, since the maximum current that can be drawn from an output pin is only 40ma. If you want to control these from an arduino either power the display from an external power supply or multiplex all of the segments such that only one segment is on at any given time.

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

      each segment is connected to single pin so there is no issue with that. And yes external power is the best option.

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

      ​@@robojax That's true in your example, but if you want to create a working two digit display with an arduino this way, you would need 16 digital pins, but the arduino only has 14. So practically speaking, that's a problem. For multi digit 7 segment displays, It's typical to connect each digit's common to a unique I/O pin to select the digit. Also each segment of the digits are wired together (e.g. digit 1's "a" segment is wired to digit 2's "a" segment and so on...). Then 8 additional I/O pins are uniquely connected to the segments a-g, and dp. The pin count is now at 10 (still quite a few, but workable). Of course one could reduce pins further by multiplexing the I/O (e.g. via shift register), but in any case, once you build a practical circuit, it is then possible to turn on multiple leds and run into problems which is a trap beginner's can fall into. Hopefully, my point is clear. Thanks.

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

      Here is a solution for that ruclips.net/video/k-f6lwwUTAs/видео.html or this ruclips.net/video/R5ste5UHmQk/видео.html

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

    The best explanation and demonstration.

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

      I am glad you like it. Thanks.

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

    Really helpful
    But how to understand a 7 segment is cathod common or anode common ?
    and How we can find that pin out of 7 segment ??
    I couldn't find a thing same as that on net too

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

      Thank you. I believe in explained this in the video. Watch it again.

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

    Awesome video!! Thank you for your time and experience .

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

    I would like to understand at the beginning of your video you have use the led of segments without the resistance and by the end you say that each segment led need resistance .Could you explain me please ?

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

      I mentioned that seven segment display needs about 2V to turn ON. yes you don't need resistor if you connect directly 2V to the segments. We use resistor to divide (reduce) the voltage. There is another video on Seven Segment here ruclips.net/video/BPDbU4pBSvs/видео.html

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

    Thanks brother this was very very very helpful. THANK YOU!!!!

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

      You are welcome.

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

    thank you, was very helpful.

  • @سهيلابرهيم
    @سهيلابرهيم 3 года назад

    تشكر على هذا المجهود

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

    very useful, thanks for the information

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

      You are welcome.

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

    Thanks your a blessing!

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

      You are welcome. I am pleased you found it useful.

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

    thank u very much sir
    truly it was helpful for a beginner like me.....................
    thank u very much...................

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

      you are welcome. I am glad you found it useful.

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

    is port 3 and 8 connected? so if I put a battery on 3 and 2, 'D' would light up? and same if i connected to 8 and 2? (i have a common cathode display)
    One more thing, is there a formula to get the resistor value? (sry didn't really understand how you calculate it)

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

      Yes 3 and 2 or 8 and 2 will turn the D . for your second question ,with 100s of videos, I had to watch to answer your question and Sure enough, I have answered your question in the video for formula. You must have escaped. I have explained so you fully understand how to calculate the resistor. Thanks

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

    Thank you! This helped a lot

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

      you are welcome.

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

    this is a very clear explaination but I need more from two digits because my has 18 pins.

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

      How many digits it has? would you please send the text or model written on it?.

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

      HXO4231BBW-02

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

      I searched it online and got zero result. Where did you buy it. Send me a link of the store.

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

      I have one of those too, mine is common anode so there are two leads on the top where you connect the positive, they are next to each other I think it's pin 13 and 14

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

    How do you display two different numbers on the 2-digit one where the pins are shared? Same numbers are easy like 33, but how do you display 45 for example? Thank you for this video!

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

      Hi, it seems you missed the most important part. Each display has its own common. you turn on common 1 to display 33 and then common 2 to display 76. please watch this video again.

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

      @@robojax But the 2 digits share the same A-G pins, which means that they cannot be on at the same time to display 2 different digits.
      One RUclips video said that you have to turn each digit on and off fast enough to fool the eye in seeing both digits at the same time. Is that correct? I think it makes sense. It is a compromise between less pins but more circuitry. Your video did not explain that so I didn't know.
      Thank you for your reply and the details in your videos. They are great. Keep up the great work and have fun!

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

      I have the same issue. I don't know how to display different numbers, like 41

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

    I want to make a 5v 10k pot where the 2 digit 7 segment LED tells the voltage that's being resisted by the pot. Do you know of any good tuts on this? I'll be using a LM317 as well.

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

      Do you want to make voltmeter to show the AC/DC voltage?

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

    Please teach some cnc coding
    Thankyou

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

    thank you very much for your help and one question how much volts do i need with green because mine it doesnt work with 2.40 volts

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

      2.4V is already maximum. put a resister in series and revers the polarity. you might have connected it in reverse.

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

      @@robojax thank you for your help and your quick answer i will try it and i will answer.

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

      It works it was my first time that i use 7-segment display thank you for your help

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

    I wonder why I can't use one resistor in the common, that way you save yourself a bunch of resistors :)

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

      because one resistor will create voltage reduction that is enough for one segment. We have 7 segment and each will be ON or OFF independently. If they were all on like showing the digit 8, then we could use one resistor. But because the display is to show different digits, it must have separate resistor in order to lit properly. You could use one resistor, but at different digits, you would get different brightness which is not good.

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

      Right, that makes lots of sense :)

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

    Can these LEDs be controlled by a potentiometer to display voltage allowed to pass through the "Pot" and into the circuit?

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

      so you want them to be voltmeter? Not by itself but if you use an IC or Arduino, then you can send number to display. Here is how to use seven segment display with Arduino: ruclips.net/video/f3GqRMQ8jYs/видео.html

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

    Following your explanation I am wondering how you display a two-digit number where oner and tener differ from each other on the 7-segment display with two digits. So numbers not like 22, 55, but like 27 or 64? Do you use a clock and switch between the digits with a speed where the eye is not able to notice the on and off of the digits?

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

      It requires separate tutorial which I have plan to do but not sure when as I am busy with school doing my master's degree and a full time job.

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

      @@robojax thanks for the reply. I just need something like a hint at the moment, no detailed tutorial or long technical answer. And your answer seems to show that you know how its done and what the concept is. Am I wrong with the second part of my initial comment (switching very fast between the two digits) or is it done another way (all just in terms of basic approach/concept, as I said)? Thank you!

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

      that is called multiplexing and yes that is exactly how it is done and you are right.

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

    Good information

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

    Very Nice...
    Subscribed

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

      Thank you very much. Thank you for not skipping the ads and keep watching them. This will help me a lot.

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

    great vedio @robojax i have a doubt how to show the temp and humidity value in the 5 digit 7segment display. 3 digit for temp and 2 for humidity can u help me plz thanks in advance

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

      You are welcome. You will need some kind of driver or chip or arduino. This is your best Option is TM1637 using Arduino which I have a video on it: ruclips.net/video/DuamjlstOKM/видео.html and here all my videos that I used this TM1637 chip with 4 digit display ruclips.net/user/robojaxTVsearch?query=TM1637

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

    Nice video keep it up

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

    Thanks

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

      You are welcome.

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

    Can this 7 segment display be connected to PLC and if so how?

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

      Here I have shown how to use it with microcontroller such as Arduino ruclips.net/video/BPDbU4pBSvs/видео.html this video is part of my Arduino Step by Step course

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

    Thinking about building a calculator, how do I do a multiple didget display using a decoder chip?

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

      For calcualator better option would be LCD1602 ruclips.net/video/q9YC_GVHy5A/видео.html or LCD2004 but you can do it with LED display TM1637 ruclips.net/video/F5rhnFX3_w8/видео.html and you will need a keypad ruclips.net/video/qIDzzG2LUtg/видео.html or this ruclips.net/video/d4bs8A8iMJ0/видео.html

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

    do the 7 segment displays have to be hooked up to ground?

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

      at 01:15 I have mentioned that we have either command Anode which will be connected to + or VCC and then each pint for the a, b,c,d,e,f,g will be connected to - or Ground or GND. If we have common Cathode, then the Cathode will be ONE pin and it will be connected to Ground or GND. But the each anode of pins a, b, c,d,e,f,g will be connected to +.

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

    What is input voltage to this circuit?

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

      voltage is 2V you can see it at 04:16

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

    I want to make a 3 digit 7 segment display voltage generator with a voltage indicator. but I want the display to be from 1-5VDC being 1VDC be 0% and 5VDC be 100% anybody know how to go about or they could link me an article?

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

      This might help you. ruclips.net/video/DuamjlstOKM/видео.html and for voltage measurement, use this video ruclips.net/video/TbLdAQpE4jE/видео.html

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

    Forgive my newbiness, but is there no way to display two separate digits simultaneously on the 2-channel display? The segments on each digit share an anode, so I can't see a way you could pass current through one and not the other unless you alternated quickly or something which seems really inconvenient.

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

      @Jason Gould, Yes you . we have separate cathodes. see the page from data sheet snag.gy/h7NQ1Y.jpg you can turn on each digit sepearately

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

      Thank you! Mihail Stefanov Multiplexing is something I'm aware of in computer monitors, but didn't know was done on such a small scale as this. What I get from this is if you were to make a 0-99 counter with a couple of 4026, you would not want to use this particular display because you'd need something between the 4026s and the display to get it to display properly.

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

      Robojax This is not the device in the video though, no? This one has 18 pins and would operate as though it were two separate single digit, 7 segment displays next to each other.

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

    How to show 2 separate digit on 2digit display working

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

      Here is the counter and you can make two of it ruclips.net/video/f3GqRMQ8jYs/видео.html or use this 2 digit module: ruclips.net/video/k-f6lwwUTAs/видео.html

  • @williama-d6
    @williama-d6 5 лет назад

    How do you make it count down with out the Arduino?

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

      without Arduino, you will need a lot of ICs to do it. You can do it with PIC16F84 chip or 89C2051 chip.

    • @williama-d6
      @williama-d6 5 лет назад

      @@robojax thanks I just say a video with a chip tutorial have you got a schematic that you can send me with it?

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

      I don't have any schematic. You can search it google or Bing and you will find.

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

    yAR CODE TO NAHI HA

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

      नमस्ते, यह वीडियो 7-सेगमेंट डिस्प्ले का उपयोग कैसे करता है नहीं कोड या arduino यह एक सामान्य परिचय है मैं इस डिस्प्ले का उपयोग करते हुए एक और वीडियो पोस्ट करूंगा। धन्यवाद।

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

    can't hear you - don't you realize that?????

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

      I just checked it, the sound level is not loud but you can hear. Just increase the volume. I will see if I can increase the volume of audio in the clip.

  • @Adiledit2.0
    @Adiledit2.0 5 лет назад

    Very bad tech experience