Arduino and the 4 digit 7 segment led display - Anything Arduino Ep 21

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

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

  • @chernoblyat1901
    @chernoblyat1901 3 года назад +5

    Definitely better than most tutorials on RUclips

  • @leef_me8112
    @leef_me8112 4 года назад +2

    Very nice tutorial, especially explaining that 12 pins of a 4 digit display are the same as those of 4 individual displays.

  • @techsguild
    @techsguild 9 лет назад +10

    Love the video, the explanation was perfect, the speed was perfect, and you're easy to understand. Thank you for taking the time to teach this. Thumbs up!

  • @illyakuzmych7813
    @illyakuzmych7813 2 года назад +2

    Loved the video Kristian! Great help

  • @somegremlin1596
    @somegremlin1596 3 года назад +5

    Don't you need resistors too?

  • @sprink88
    @sprink88 8 лет назад +6

    Thanks Kristian. I have watched a good few of your tutorials, and find them really helpful. You have a great way about you - your teaching method and personality is so relaxed and positive, it's really a pleasure to learn from you.
    It's great you are covering just the right topics and difficulty level for people like me, who are just getting past being total novices, but still need to grasp the basics. Keep going!!

    •  8 лет назад +1

      Thank you very much for your kind words. It means a lot to me, because this is exactly what I try to accomplish :)

  • @remotecoderz
    @remotecoderz 6 лет назад +18

    Nice work. I was able to get the "dot" to light up and alternate between the digits. You never mentioned using Pin 3, and hooking it up to Arduino pin 13. Gave me something to figure out. Thanks for that. #learningArduinoIsFun

  • @godsonshaiju3670
    @godsonshaiju3670 3 года назад +4

    Just awesome. The video was so detailed. It was so easy for me to follow along because of how precise the video was. Thank you so much. Very greatly appreciated! P.S. I subbed!

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

    Very well explained and simple to understand. This is my first working project with arduino. I am also going to repurpose it into a small digital clock. Thank you for the great tutorial.

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

    nice tutorial....... respect from INDIA

  • @guilhermereichardt916
    @guilhermereichardt916 8 лет назад +3

    Pretty nice tutorial. I'm trying to make a watch of this display using arduino and this video just gave me a pretty good start on how to work them. Thank you

  • @irminsul2
    @irminsul2 5 лет назад +7

    great vid! . .thanks - but why do you not use resistors before the LED?!

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

    "It switches very fast" you answered my question. Well explained thank you

  • @AHElectronics
    @AHElectronics 9 лет назад +5

    Great job!!!! You made it so easy for me to understand!! Thanks a lot for the video!!!

    •  9 лет назад +2

      +AH Electronics Thanks for the kind words. Make sure you see the latest episode (22), for how to connect a four digit led display with only three pins... :)

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

    Very nice work. Easy to understand. Thank you

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

    The code on your site is corrupt but I was able to figure out what is going on based on your training! You do man!

  • @vasantj6514
    @vasantj6514 8 лет назад +2

    This was a nice video explaining with pin configuration. Thumbs up !

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

    so nice!!! Fully watched!

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

    Thanks so much sir... Such a nice tutorial... Respect from Bangladesh

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

      Many thanks for your kind words from Sweden. ;)

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

      @ Sir, Can I have your email or any other contact(whatsapp or others)??
      I need to contact you...

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

    Thanks. I am trying to make a video game device like a nintendo game and watch using arduino. I found this very helpful.

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

    Thank you for this tutorial.

  • @LUCKY007725
    @LUCKY007725 9 лет назад +1

    Dear Mr. Kristian,
    I saw so many videos on Arduino projects of different peoples but you are fabulous because of your presenting style, so easy and very different.
    I need your favor regarding one of your previous episode-4 (Temperature & Humidity Controller), from this episode i made an egg incubator by adding two more relays and also display (16X2 LCD). it is working very fine but for incubator we need different temp & humidity at different time, for that i need to add some buttons to change them directly without any editing with programming.
    Please make an episode with connection of episode-4 with addition of buttons & LCD/7-segment LED.
    I am waiting for your valuable response
    Thanks in advance

  • @SickCookie12
    @SickCookie12 2 года назад +1

    hello! this tutorial really helped me build! Is there a place where this code is posted? I wanna test it out with the clock

    •  2 года назад

      I think there is a link in the description?

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

    Can I use such a display without a resistors?

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

      You can but as a majority of the comments suggest it is not adviceable. Resistors make the lifespan of the display a lot longer. Without resistors you will burn out the leds quite fast. I was lazy and didn’t use resistors. Don’t be lazy like me. ;)

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

      @ ok, thanks

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

      also, you can use this link
      wokwi.com/arduino/libraries/SevSeg to play with the simulations without the real board. Please give a like, if you find this useful.

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

    I really liked the way you are making the things simpler but when I have done in the same manner as you showed in the video but it is not getting any output and from where is this 4 in 7 segment getting power as you have not connected any supply to it

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

      hi Niha
      The Module doesn't need an external power supply. Each LEDs are driven using Arduino Pins itself.
      To power on an LED, The Arduino pin connected to the Anode of the LED will be driven high and the Arduino pin connected to the cathode of the display will be driven low. hope you got the idea.
      Please visit:
      wokwi.com/arduino/libraries/SevSeg has an online simulation page of Seven segment display

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

    Thanks for the informative video :)

  • @ChrisMayer-ui1tb
    @ChrisMayer-ui1tb 7 месяцев назад +1

    Just a quick note, as I just did this and wanted to see how others also did it.
    It is better to turn all the digit pins all off before setting the next number's segments. Then set the segments you want before turning on that digit.
    You'll notice a faint 0 bleeding into digit 1, and a faint 1 into digit 2 etc. because you are turning on digit 1 before you set the segments for the 1, and the previous 0 segments are still on for a few microseconds!

  • @guidovlaere
    @guidovlaere 8 лет назад +2

    Great tutorial, good to understand and helpful. Thanks very much!

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

    bro you teached me exactly what i am searching . thanks a lot bro . love from INDIA🇮🇳🇮🇳

  • @andrasparanici5491
    @andrasparanici5491 4 года назад +2

    Thank you very much! What I needed!

  • @arduinomaquinas
    @arduinomaquinas Год назад +1

    Good work friend ❤😉👍👏👏👏👏👏subscribed Brazil

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

    Also works with Atmel 2560 project

  • @AtoPrince
    @AtoPrince Год назад +1

    3 digit 7-segment display circuit and how to connect it on the breadboard to count from 0 to 100

  • @Abdul1774
    @Abdul1774 2 года назад +1

    Kristian this video helped greatly, although I was wondering if you could assist by using this same code, but adding in a way to display numbers that are entered from the serial monitor?

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

    found it extremely helpful in getting started , well explained thanks

  • @dirx59
    @dirx59 6 лет назад +4

    Thanks!!!, you're a great teacher.

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

    Do you need to use dupont wires or can you the normal wires?

    •  5 лет назад

      You can use any wires of course. DuPont wires are just for prototyping and testing.

  • @simonjcacapit629
    @simonjcacapit629 4 года назад +2

    thanks for the video!!!

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

    Do we need to also put capacitors for this display?

  • @grzegorzdabrowski6204
    @grzegorzdabrowski6204 9 лет назад +20

    Hello, Why you don't use resistors between segments and arduino?

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

      The resistance of the segment is high enough so the current will be under 0.04A or 40mA, the max the arduino can handle.

    •  7 лет назад +5

      Lazyness, because I was more interested in the Arduino coding to get it to work. But you are right, that for a correct design resistors should be used.

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

      Sir please create a digital clock code for me....

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

    So cool!! Thanks a lot!!!

  • @ShivamKumar-rp8kr
    @ShivamKumar-rp8kr 4 года назад +2

    Thank you!!! It worked

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

      Hello Shivam,
      Good day
      wokwi.com/arduino/libraries/SevSeg
      you can play with the Arduino simulation here 😀
      You can also tinker with the Arduino code for multiple other interfaces here
      wokwi.com

  • @ernstpaulswens
    @ernstpaulswens 7 лет назад +3

    Great explanation, thanks!

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

    You'r helpful thanks

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

    How would i go about turning this into a digital clock? Yours is the closest i have come to understanding how to do this.

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

    Great video, very helpful. :)

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

    i have a question, why don't you connect any current limiting resistor to the display. The arduino IO pin can only provide up to 20mA and i think a single digit take more current than that (given that all seven segment light up). That is just my personal question, love the great content and experiment that you showed to help us, keep it up mate !

    •  4 года назад +2

      The simple (and bad) answer is that I am lazy... I should have done that, but I was focused on showing the programming and less of good hardware practice. :/ Lesson learned for me too ;)

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

      @ thanks for the reply, that really clear things up for me. You are amazing ! Still replying to question on a 4 year old video, really appreciate it !

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

      hi there.
      you are absolutely right. The resistors will limit the current and must be in place.
      Also, can you try this link:
      wokwi.com/arduino/libraries/SevSeg
      It is an online Arduino simulator link for seven segment display and it is a great addition for the useful tools you have.

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

    so good video. learnt someny things

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

    Thank you very much, a great explanation. you explain well.

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

    Hello Kristian, Excellent videos, very informative and well presented. Question: I want to run six 4 x digit 7 segment displays (each with a resistor of course). Would I need to connect a separate power source so as not to overload the Arduino? If so what voltage would it need to be please?

  • @ronaldobrito1172
    @ronaldobrito1172 8 лет назад +1

    Thanks a lot friend, this video is great!

  • @PerryCodes
    @PerryCodes 8 лет назад +2

    8:00 ... got a little trippy for a second ;)

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

    Thanks for this!

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

    /*
    Showing number 0-9 on a Common Anode 7-segment LED display
    Displays the numbers 0-9 on the display, with one second inbetween.
    A
    ---
    F | | B
    | G |
    ---
    E | | C
    | |
    ---
    D
    This example code is in the public domain.
    */
    // Pin 2-8 is connected to the 7 segments of the display.
    int pinA = 2;
    int pinB = 3;
    int pinC = 4;
    int pinD = 5;
    int pinE = 6;
    int pinF = 7;
    int pinG = 8;
    int D1 = 9;
    int D2 = 10;
    int D3 = 11;
    int D4 = 12;
    // the setup routine runs once when you press reset:
    void setup() {
    // initialize the digital pins as outputs.
    pinMode(pinA, OUTPUT);
    pinMode(pinB, OUTPUT);
    pinMode(pinC, OUTPUT);
    pinMode(pinD, OUTPUT);
    pinMode(pinE, OUTPUT);
    pinMode(pinF, OUTPUT);
    pinMode(pinG, OUTPUT);
    pinMode(D1, OUTPUT);
    pinMode(D2, OUTPUT);
    pinMode(D3, OUTPUT);
    pinMode(D4, OUTPUT);
    }
    // the loop routine runs over and over again forever:
    void loop() {
    digitalWrite(D1, HIGH);
    digitalWrite(D2, LOW);
    digitalWrite(D3, LOW);
    digitalWrite(D4, LOW);
    //0
    digitalWrite(pinA, LOW);
    digitalWrite(pinB, LOW);
    digitalWrite(pinC, LOW);
    digitalWrite(pinD, LOW);
    digitalWrite(pinE, LOW);
    digitalWrite(pinF, LOW);
    digitalWrite(pinG, HIGH);
    delay(1); // wait for a second
    digitalWrite(D1, LOW);
    digitalWrite(D2, HIGH);
    digitalWrite(D3, LOW);
    digitalWrite(D4, LOW);
    //1
    digitalWrite(pinA, HIGH);
    digitalWrite(pinB, LOW);
    digitalWrite(pinC, LOW);
    digitalWrite(pinD, HIGH);
    digitalWrite(pinE, HIGH);
    digitalWrite(pinF, HIGH);
    digitalWrite(pinG, HIGH);
    delay(1); // wait for a second
    digitalWrite(D1, LOW);
    digitalWrite(D2, LOW);
    digitalWrite(D3, HIGH);
    digitalWrite(D4, LOW);
    //2
    digitalWrite(pinA, LOW);
    digitalWrite(pinB, LOW);
    digitalWrite(pinC, HIGH);
    digitalWrite(pinD, LOW);
    digitalWrite(pinE, LOW);
    digitalWrite(pinF, HIGH);
    digitalWrite(pinG, LOW);
    delay(1); // wait for a second
    digitalWrite(D1, LOW);
    digitalWrite(D2, LOW);
    digitalWrite(D3, LOW);
    digitalWrite(D4, HIGH);
    //3
    digitalWrite(pinA, LOW);
    digitalWrite(pinB, LOW);
    digitalWrite(pinC, LOW);
    digitalWrite(pinD, LOW);
    digitalWrite(pinE, HIGH);
    digitalWrite(pinF, HIGH);
    digitalWrite(pinG, LOW);
    delay(1); // wait for a second
    /*
    //4
    digitalWrite(pinA, HIGH);
    digitalWrite(pinB, LOW);
    digitalWrite(pinC, LOW);
    digitalWrite(pinD, HIGH);
    digitalWrite(pinE, HIGH);
    digitalWrite(pinF, LOW);
    digitalWrite(pinG, LOW);
    delay(1000); // wait for a second
    //5
    digitalWrite(pinA, LOW);
    digitalWrite(pinB, HIGH);
    digitalWrite(pinC, LOW);
    digitalWrite(pinD, LOW);
    digitalWrite(pinE, HIGH);
    digitalWrite(pinF, LOW);
    digitalWrite(pinG, LOW);
    delay(1000); // wait for a second
    //6
    digitalWrite(pinA, LOW);
    digitalWrite(pinB, HIGH);
    digitalWrite(pinC, LOW);
    digitalWrite(pinD, LOW);
    digitalWrite(pinE, LOW);
    digitalWrite(pinF, LOW);
    digitalWrite(pinG, LOW);
    delay(1000); // wait for a second
    //7
    digitalWrite(pinA, LOW);
    digitalWrite(pinB, LOW);
    digitalWrite(pinC, LOW);
    digitalWrite(pinD, HIGH);
    digitalWrite(pinE, HIGH);
    digitalWrite(pinF, HIGH);
    digitalWrite(pinG, HIGH);
    delay(1000); // wait for a second
    //8
    digitalWrite(pinA, LOW);
    digitalWrite(pinB, LOW);
    digitalWrite(pinC, LOW);
    digitalWrite(pinD, LOW);
    digitalWrite(pinE, LOW);
    digitalWrite(pinF, LOW);
    digitalWrite(pinG, LOW);
    delay(1000); // wait for a second
    //9
    digitalWrite(pinA, LOW);
    digitalWrite(pinB, LOW);
    digitalWrite(pinC, LOW);
    digitalWrite(pinD, HIGH);
    digitalWrite(pinE, HIGH);
    digitalWrite(pinF, LOW);
    digitalWrite(pinG, LOW);
    delay(1000); // wait for a second
    */
    }

  • @Addyboss125
    @Addyboss125 8 лет назад +1

    this helped me a lot!! its awesome : )

  • @homer101sterr
    @homer101sterr 7 лет назад +6

    For me, digitalWrite(D1, LOW) turns on the first digit, and pinA through pinF on HIGH turns those segments on while pinG on LOW turns it off. Not sure why mine are opposite.

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

      Me too

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

      I think there are two different versions of this 12 pin unit. My book was saying that if it is common Anode to do one thing, but if it is common cathode to do another thing. I might be wrong, my book has a lot of errors due to probably being translated from google translate.

    •  7 лет назад

      As Nasty Butler says, there are two versions, one with Common Anode and one with Common Cathode. The Cheat sheet contains the data for both variants, so if you watch this and its companion videos I think you will figure it out ;)

    • @antonyukhimenko
      @antonyukhimenko 6 лет назад +2

      got the same

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

      Same here

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

    Sir can u make digital clock based on this I m facing difficulty in displaying hrs and minutes

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

    Good fundamentals.

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

    So now you have 12 output pins going into the clock? Does it not need to be connected to ground somehow? I mean it works. I just don't quite understand why. It doesn't look like a closed circuit to me. Why does the display not have a ground pin?

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

      Ah, well any of the Digital pins on the Arduino can be either 1 or 0/High or Low/+5v or GND. This opens up for loads of cool tricks. In this circuit there are four "common pins" one for each digit, so when you send voltage to the leds and connect the common pin of a certain digit, that digit lights up and not the others. Because we are "multiplexing" between all the digits, I only set the digital pin low (GND) for that specific digit we are working with. The other three are high (+5V) so they are not lit. Then we do this really really fast and it looks like we have four digits... Hope that messy explanation helped... ;)

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

      Yes, that helped. I understand it now. Thank you. :)

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

    Hello Kristian, how do i turn on the decimal point on the 4 digits 7 Segment Led. I have troubles doing that. Hope to hear from you!

    •  7 лет назад

      Hi, I believe there is one more pin for that, by connecting the last pin aswell, you will get the decimal point aswell. You have to add it to the code accordingly... Hope it helps! :)

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

    Hi, im trying to finish my project but im having trouble in my codes. How can i make the zero remain in the 1st tube after looping and so o , until it goes back to the first one and loop again? Thank you

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

    Really thank you

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

    Why did you not include a resistor? My 7-segment display needs resistors

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

      The main intention of the video was to show the programming part. The author also recommends connecting one.
      wokwi.com/arduino/libraries/SevSeg for seven segments of Arduino simulation. It is a free web-based Arduino simulation :)

  • @ImadMessaoudi
    @ImadMessaoudi 9 лет назад +1

    GREAT job, can you help me to connect the 3 digit 7 segment led

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

      probably the same with 3 common pins.

    •  4 года назад

      Exactly! Don’t know why I missed this comment. Thanks for answering! 😊🙏

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

      @ Oh lol im new to this im suprised i got it right

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

    can we make 6 digit display using this technique?

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

      absolutely possible:
      The Arduino pins are sufficient to even drive a six-digit display for sure. You should care for multiplexing rate
      wokwi.com/arduino/libraries/SevSeg
      You can tinker with the above simulation to build one six-digit Arduino display.
      also for your kind info:
      wokwi.com
      has a plethora of Arduino simulation examples

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

    You could just write one additional function like for example: PrintDigits(int value) to print given number on this display and forget rest ;)

    •  7 лет назад

      True. I havent gotten into explaining functions yet... But thanks for the tip...

  • @fanazonagaming
    @fanazonagaming 10 месяцев назад +1

    Thanks man

  • @Quoit1
    @Quoit1 9 лет назад +1

    As always - great tutorials. if possible, i would like to see a simple two wheel robot tutorial with ultrasonic distance sensor, servo, DC motors, drivers etc. and to make things interesting, the robot should follow a line on the ground.I have seen some of them on youtube, but they all lack good explanation.

    •  9 лет назад

      +Quoit1 Thanks! Do you mean a balancing robot? I did a robot a while back which uses servos, distance sensor and bumpers (and also Bluetooth for manual control). I have both line-following and balancing on the todo list... Hope to make them soon... If you havent seen it already, here is the video on the distance sensor robot: ruclips.net/video/dKlwpM7b1Zc/видео.html

  • @false79
    @false79 8 лет назад +1

    Thank you for this! Subscribing

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

    THX for nice video
    I had no problem when doing EP7 for 1digit, but I get all reversed output on 4digit
    I think it's matter of cathode and anode
    So, should I have to fix all the codes from HIGH to LOW, LOW to HIGH? is there any way to fix it more efficiently?

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

      Well hardware wise it is as simple as moving the common pin from +5v to ground or vice versa. Now if you still get inverted the you need to look at this table from an earlier video: duinos.net/show/?id=197 And use the other codes.

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

      Thanks a lot I'll try it :)

  • @gentsejdiu3501
    @gentsejdiu3501 8 лет назад

    I have searched in other youtube videos but only now I figured out how to work with 7 segment display arduino. I have also a problem, I want to work with lcd 16x2 display , I have wired up , but its not showing text , I don't know how to make it work. Do you have any tutorial about 16x2 display too?

    •  8 лет назад

      Not yet, I have way too many videos that are not done yet, the 16x2 is one of them... Hoping to get there someday.... Hope you find some other video that can explain it to you...

    • @gentsejdiu3501
      @gentsejdiu3501 8 лет назад

      can you send me a good link that works to show text to 16x2 because I didn't find any tutorial that works . It just turns on the light but no text..

  • @AndieArbeit-s8g
    @AndieArbeit-s8g 2 месяца назад

    thanks 🤩

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

    How can this unit display constant voltage output? x.xx from the other breadboard. example in Paul McWhorter's episode 9. he uses a multimeter but couldn't you just send the data to the display unit?

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

    Hey Kristian!!!PLease help me with the code.The code Shows only 0.It does not counts to the next digit.I have used 4 individual 7 segment LED's .And I have Commom Anode Type LED Segment.Please do provide me with the code.Please.

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

    What is the white board for and where do i conect the wires on their. IS their anyway to include a rotary knob to change the digits

    •  6 лет назад

      I don’t know what you mean with white board? Do you mean the protoboard? Yes you can add a rotary encoder no problem. Just make the numbers advance when you turn the knob. Look at further on in the anything arduino series for how to get a rock solid encoder working.

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

    Thank you! :)

  • @4VPme
    @4VPme 9 лет назад +1

    Man, you're legend....wait for it....dary!

    •  9 лет назад

      +4VPme Thanks.... Bro! ;)

    • @4VPme
      @4VPme 9 лет назад

      +Kristian Blåsol
      Can you, please, make tutorial on how to make temperature reading with 4 7-segment LED display?

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

    is this the same for common anode or common cathode ?

    •  3 года назад

      It is the inverse for one of them. All high pins should be low and all low pins should be high for same result. :)

  • @veronicastanley-hooper9861
    @veronicastanley-hooper9861 6 лет назад +1

    When I use this tutorial my 'blacked out' segments (set to low) are still somewhat (very slightly) illuminated. Would using a 220 resistor in someway on the pin set up help to make them completely blacked out?

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

      Hmm, could there be a short somewhere? Either that or something might be wrong with the Arduino? Do you have an external power source or do you use the power from the arduino?

    • @veronicastanley-hooper9861
      @veronicastanley-hooper9861 6 лет назад +1

      Kristian Blåsol -Thank you. I am using your tutorial for my class afterall. I rewired everything and when complete with code the project worked! Thank you so much!

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

    CAN YOU HELP? I HAVE A 4 SEGMENT CLOCK MODULE THAT HAS 3O WIRES ON THE BOTTOM AND AM HAVING PROBLEM GETTING PINOUT OFIT.

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

    Why is it that I have to flip all the high and low around to match what is being shown in tutorial? I have a Elegoo Mega2560 board.

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

      It has to do with if you have a common anode or common cathode led display...

  • @patrickesterbrooks
    @patrickesterbrooks 8 лет назад +1

    can you build a counter with the MAX7219 chip?

  • @sgayle
    @sgayle 10 месяцев назад

    what could the issue be if the numbers don't fully lit up? please help

    •  10 месяцев назад

      Most probably a bad connection. Check connections and or soldering points should solve the issue. If the numbers are “inverted” then you have the other kind of common pin: common anode/common cathode. Check the table for that.

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

    Where are your current-limiting resistors? Why are you connecting this display directly to Arduino outputs without resistors?

    •  5 лет назад

      Laziness. It has been pointed out before. I should’ve used them. I didn’t.

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

    i'm new to arduino. why is there no ground pin?

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

    The one thing is missing to show how to display a variable which was generated as a result of some maths in code.

  • @DirtyKnees
    @DirtyKnees 8 лет назад

    you are a Godsend

    •  8 лет назад

      Well thank you! *blushing* ;)

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

    My display is not doing anything. I've dissemble it several times. Code is compiling fine. There is no power going to the display at all.

    •  5 лет назад

      Have you tried inverting polarity? So connect the common pin to ground OR v+ depending on what you have it connected to at the moment?

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

      @ Thanks Kristian. Once i reversed the polarity and just focused, it worked. I have it moving from digit to digit as it counts. Nothing major, but its progress.

  • @rosagunto
    @rosagunto 9 лет назад +1

    Hola como puedo poner varios sensores de dht11 uno en cada habitación y sacar los gráficos

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

    How cn i add switch for up/ down number

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

      you can use spare two Digital pins of Arduino to read the button statsus.
      wokwi.com/arduino/libraries/SevSeg for the simulation example. here, you can also add the buttons for the simulation.

  • @Couchman26
    @Couchman26 8 лет назад +1

    Hey great tutorial but I am having an issue with my board, I press upload code and there isn't any error but my board flashes yellow a few times then nothing happens on the led display
    EDIT: I fixed the problem, but now my display just has a static 9349 on it

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

      Hey, i have the same problem. How did you solve it?

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

      i think u have to use resistors when connecting to digital pins otherwise ur led display will be damaged

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

    Hello, Please can I have method to how create LED display for
    queue viewer with Ir remote control

    •  6 лет назад

      Look at my video on how to use ir signals. Then just choose any command to be the next, prev, reset buttons and then make the logic to display the next queue number when you press the next command. Hope that helps.

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

      @ Thanks for your response, could you please give me a link to this video.

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

      @@abdelwahedmounni6027 Here is the video, just use the code to recieve the IR signal and then work with that: ruclips.net/video/12v8Cf37T8Q/видео.html

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

      @ Thanks.

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

    Yo am a beginner can i put 1 instead of putting HIGH and 0 instead of putting LOW because thats how i did it with a single digit one

    •  Месяц назад

      Yes that usually works. They are interchangeable.

  • @bendecker5508
    @bendecker5508 9 лет назад

    How would you light up the semi-colon in the middle of the display?

    •  9 лет назад

      +Ben Decker There is most probably a pin for the dot or colon as well... Although it is another module. You can hook it up and go through all the pins until you find the one that lights up the colon. Then just add another pin to the sketch and set that pin HIGH or LOW to turn it on and off...

  • @MrPkmonster
    @MrPkmonster 8 лет назад +3

    Firstly, it's great tutorial. It's clear about the pins in 7 segment.
    I am working on a project. I had a similar 4 Digits Led Segment like yours.
    However, it's a module which uses 2 shift registers 74HC595.
    So, how should I write the code to make it runs? Thank you

    •  8 лет назад

      Take a look at episode 22 for how to work with 595 and 7segment LED displays... ruclips.net/video/ZGzbAd-Aixc/видео.html

  • @dzikr_family-Food.Water.Energy
    @dzikr_family-Food.Water.Energy 7 лет назад

    tx for sharing ..

  • @aravindkumar-yx9wv
    @aravindkumar-yx9wv 9 лет назад

    super one bro..

  • @ayendelossantos6338
    @ayendelossantos6338 8 лет назад +1

    hello ! how would you program a 7 segement 2 digit display??

  • @arifibrahim3724
    @arifibrahim3724 9 лет назад

    why I am getting this message 'D1' was not declared in this scope. i have done same thing.

  • @tiagoaguiar9534
    @tiagoaguiar9534 9 лет назад

    My display has a colon and 13 pins, is the 13th the one for the colon or is it wired diferently?

    •  9 лет назад

      +James I cant find a pinout for a 13 pin variant, but yes, one of the pins is probably the colon. You can always find which pins is which by putting voltage over the pins. Once you find the ground pin the rest should be quite straightforward... Use 5v and a resistor in series while probing...

    • @tiagoaguiar9534
      @tiagoaguiar9534 9 лет назад

      thank you so much for the help man :)