4 Digit 7 segment display using Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

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

  • @ElectronicsSimplified7
    @ElectronicsSimplified7  2 ปีที่แล้ว +9

    The code is updated. If you have any request on altering the code or using it in an application like a digital clock. Drop in your queries to electronicsengineering3@gmail.com

  • @jakis_gosc123
    @jakis_gosc123 5 หลายเดือนก่อน

    Thanks guy, my 7 segment display working correctly now.

  • @pentosdso3757
    @pentosdso3757 2 ปีที่แล้ว +5

    very nice but please turn the volume from the music a bit down

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

    can you set it like a timer? like 2 minutes and connect it to a lightbulb?

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

      Yes the timer works as a perception of vision. If you want that video. Please email me at electronicsengineering3@gmail.com

  • @swishwack5983
    @swishwack5983 ปีที่แล้ว +3

    The code seems to have LOW, HIGH values inverted? f.e. number 1 has only pinC and pinB set to LOW, while those are the only pins that should be HIGH to make number 1. After reverting LOW to HIGH and vice versa it started to show me the numbers correctly. What am i missing? :D BTW thank you for the video and code - the best tutorial on the topic i found :)

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  ปีที่แล้ว +1

      You need to identify the type of segmented display you are using. Anode or cathode. Everything changes based on that 😄

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  ปีที่แล้ว +1

      In my video. I guess it's a cathode display (so all the values are inverted)

  • @happyy6826
    @happyy6826 2 หลายเดือนก่อน +1

    Could i use this same wiring and just add in an mirco switch into the breadboard so when pressed it would light up as an scoreboard?

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  2 หลายเดือนก่อน

      This current circuit can't be used as a scoreboard

    • @happyy6826
      @happyy6826 2 หลายเดือนก่อน

      @@ElectronicsSimplified7 Oh i see, do you happen to have a video for using this display as a scoreboard? Appreciate the reply.

  • @shortsvideolover3315
    @shortsvideolover3315 2 ปีที่แล้ว +5

    Which is the ground pin in the display??

  • @richardc4215
    @richardc4215 8 วันที่ผ่านมา

    Why is pinDP (segment 3) never used besides setting it as an output?

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

    thank you sir for this amazing tutorial like and sunscribe

  • @writingskills.1888
    @writingskills.1888 ปีที่แล้ว +1

    Sir it is giving a compilation or library error.

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  ปีที่แล้ว

      Download the library from the link in the description. The link will take you to the post. But the post has a sevseg.h library on top ... Please download it ... And put it in your Arduino/libraries/ directory

  • @artelislt
    @artelislt ปีที่แล้ว

    Tysm for the code

  • @sebstudios-l1p
    @sebstudios-l1p หลายเดือนก่อน

    How many ohms do those resisters have?

  • @laurenwithhart1076
    @laurenwithhart1076 2 ปีที่แล้ว +1

    Can you make a functioning alarm clock?

  • @villepyykko6643
    @villepyykko6643 5 หลายเดือนก่อน +1

    Hi. I would like to use this on my chain throwing outdoor game score counter. There is like 4-6 different size holes where you try to throw the chain through. It would perhaps need some ir censors or something else what the chain would activate when it goes through the hole and give you that amount of score in the display what you have decided to give from each holes. Would you help me build that? If yes we can continue with mail..kind regards. -Ville

  • @sharmisthakundu5877
    @sharmisthakundu5877 2 ปีที่แล้ว +1

    What are the values of your resistors you used?

  • @alexanderalt265
    @alexanderalt265 ปีที่แล้ว

    Can it do negative numbers?

    • @marms1232
      @marms1232 ปีที่แล้ว

      yup, if the variable inputed to the display is negative it will display a - symbol

  • @yalcinketenci2107
    @yalcinketenci2107 2 ปีที่แล้ว +3

    Great tutorial thank you. I have one question how to highlight the dots as well?

  • @thisoldjeepcj5
    @thisoldjeepcj5 2 ปีที่แล้ว +1

    Well explained tutorial. Thanks

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

    Compilation error: conflicting declaration 'int D1'

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

      Please check the code. If you have made any changes. Please rectify them

  • @Amgalanhola
    @Amgalanhola 10 วันที่ผ่านมา

    6:36

  • @seo_bitna01
    @seo_bitna01 5 หลายเดือนก่อน

    how about 3 digits with keypad?

  • @GuilhermedaSilvaCaetano0095
    @GuilhermedaSilvaCaetano0095 7 หลายเดือนก่อน

    Hi, can you help me i want to make the 4digits of 14 segmments of the microwave mef 33 connecting in the bluetooth if i touch the letter a for example appear in the 14 segmment display

  • @kevinmurphy3539
    @kevinmurphy3539 ปีที่แล้ว

    Mine don't look anything like numbers. I rewired it again to be sure. What am I doing wrong

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

      same :((

    • @Zvxcs_
      @Zvxcs_ 5 หลายเดือนก่อน

      Same

  • @HallofWisdom
    @HallofWisdom 2 ปีที่แล้ว +2

    --- thanks but can you re-upload without the music? it's tough to hear you --- 16APR22

  • @victorianogubatan569
    @victorianogubatan569 2 ปีที่แล้ว +1

    Can you upload a tutorial reading dc voltages between cells in 4 batteries in series?

  • @hoku_ar
    @hoku_ar 2 ปีที่แล้ว +1

    The code page doesn't work

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  2 ปีที่แล้ว

      It's fixed

    • @vinodganve5655
      @vinodganve5655 2 ปีที่แล้ว

      Yes it is not working even in full network

    • @perinbanmohanraj9145
      @perinbanmohanraj9145 2 ปีที่แล้ว

      @@vinodganve5655 true

    • @hoku_ar
      @hoku_ar 2 ปีที่แล้ว

      @@ElectronicsSimplified7 I don't think so

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  2 ปีที่แล้ว +1

      The code is a download file for PC and if that doesn't work. Now the code is on a webpage too, so you can copy it and use it. Cheers!!

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

    Help i want to power up the 4 digits of 14 segmment display of the electrolux microwave mef 33 like the clock but with 58 on/off switchs like a flashlight 56 on/off switchs for a 4 digits of 14 segmment display and 2 on/off switchs for 2 dots , plis?
    Jesus love u🙏🙏

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

      Please reach out to me via email at electronicsengineering3@gmail.com

  • @boukhatemiabdelkader65
    @boukhatemiabdelkader65 5 หลายเดือนก่อน

    Don't work for me😢

  • @ΕμμανουήλΑντωνόπουλος-υ6σ

    it says this:
    Failed uploading: no upload port provided
    what do i do

  • @hi_beemo1808
    @hi_beemo1808 2 ปีที่แล้ว +4

    usually it's 220 resistor not 200 : /

  • @no-one6450
    @no-one6450 ปีที่แล้ว

    it's common-anode

  • @debapriyaacharya7807
    @debapriyaacharya7807 2 ปีที่แล้ว

    the code page not working

  • @girijagolla3663
    @girijagolla3663 2 ปีที่แล้ว

    How can I execute without external library

  • @the_faraaz
    @the_faraaz 2 ปีที่แล้ว +1

    can u make a video explaining the code

  • @AndieArbeit-s8g
    @AndieArbeit-s8g หลายเดือนก่อน

    Gut

  • @mateuszwiniecki4842
    @mateuszwiniecki4842 ปีที่แล้ว

    its dont work :c

  • @toginokembrianm.8216
    @toginokembrianm.8216 ปีที่แล้ว

    hmmm

  • @consultingprestig2096
    @consultingprestig2096 ปีที่แล้ว +2

    Warning : the code you make this ..
    #include
    #include
    int pinA = 11;int pinB = 7; int pinC = 4; int pinD = 2;
    int pinE = 1; int pinF = 10; int pinG = 5;
    int pinDP = 3; int D1 = 12; int D2 = 9; int D3 = 8; int D4 = 6;
    void zero()
    {
    digitalWrite(pinA, LOW);
    digitalWrite(pinB, LOW);
    digitalWrite(pinC, LOW);
    digitalWrite(pinD, LOW);
    digitalWrite(pinE, LOW);
    digitalWrite(pinF, LOW);
    digitalWrite(pinG, HIGH);
    }
    void one()
    {
    digitalWrite(pinA, HIGH);
    digitalWrite(pinB, LOW);
    digitalWrite(pinC, LOW);
    digitalWrite(pinD, HIGH);
    digitalWrite(pinE, HIGH);
    digitalWrite(pinF, HIGH);
    digitalWrite(pinG, HIGH);
    }
    void two()
    {
    digitalWrite(pinA, LOW);
    digitalWrite(pinB, LOW);
    digitalWrite(pinC, HIGH);
    digitalWrite(pinD, LOW);
    digitalWrite(pinE, LOW);
    digitalWrite(pinF, HIGH);
    digitalWrite(pinG, LOW);
    }
    void three()
    {
    digitalWrite(pinA, LOW);
    digitalWrite(pinB, LOW);
    digitalWrite(pinC, LOW);
    digitalWrite(pinD, LOW);
    digitalWrite(pinE, HIGH);
    digitalWrite(pinF, HIGH);
    digitalWrite(pinG, LOW);
    }
    void four()
    {
    digitalWrite(pinA, HIGH);
    digitalWrite(pinB, LOW);
    digitalWrite(pinC, LOW);
    digitalWrite(pinD, HIGH);
    digitalWrite(pinE, HIGH);
    digitalWrite(pinF, LOW);
    digitalWrite(pinG, LOW);
    }
    void five()
    {
    digitalWrite(pinA, LOW);
    digitalWrite(pinB, HIGH);
    digitalWrite(pinC, LOW);
    digitalWrite(pinD, LOW);
    digitalWrite(pinE, HIGH);
    digitalWrite(pinF, LOW);
    digitalWrite(pinG, LOW);
    }
    void six()
    {
    digitalWrite(pinA, LOW);
    digitalWrite(pinB, HIGH);
    digitalWrite(pinC, LOW);
    digitalWrite(pinD, LOW);
    digitalWrite(pinE, LOW);
    digitalWrite(pinF, LOW);
    digitalWrite(pinG, LOW);
    }
    void seven()
    {
    digitalWrite(pinA, LOW);
    digitalWrite(pinB, LOW);
    digitalWrite(pinC, LOW);
    digitalWrite(pinD, HIGH);
    digitalWrite(pinE, HIGH);
    digitalWrite(pinF, HIGH);
    digitalWrite(pinG, HIGH);
    }
    void eight()
    {
    digitalWrite(pinA, LOW);
    digitalWrite(pinB, LOW);
    digitalWrite(pinC, LOW);
    digitalWrite(pinD, LOW);
    digitalWrite(pinE, LOW);
    digitalWrite(pinF, LOW);
    digitalWrite(pinG, LOW);
    }
    void nine()
    {
    digitalWrite(pinA, LOW);
    digitalWrite(pinB, LOW);
    digitalWrite(pinC, LOW);
    digitalWrite(pinD, HIGH);
    digitalWrite(pinE, HIGH);
    digitalWrite(pinF, LOW);
    digitalWrite(pinG, LOW);
    }
    void allNumbers()
    {
    one(); delay(500);
    two(); delay(500);
    three(); delay(500);
    four(); delay(500);
    five(); delay(500);
    six(); delay(500);
    seven(); delay(500);
    eight(); delay(500);
    nine(); delay(500);
    }
    void turnOffAllSegments()
    {
    digitalWrite(pinA, LOW);
    digitalWrite(pinB, LOW);
    digitalWrite(pinC, LOW);
    digitalWrite(pinD, LOW);
    digitalWrite(pinE, LOW);
    digitalWrite(pinF, LOW);
    digitalWrite(pinG, LOW);
    }
    void digit1()
    {
    digitalWrite(D1, HIGH);
    digitalWrite(D2, LOW);
    digitalWrite(D3, LOW);
    digitalWrite(D4, LOW);
    }
    void digit2()
    {
    digitalWrite(D1, LOW);
    digitalWrite(D2, HIGH);
    digitalWrite(D3, LOW);
    digitalWrite(D4, LOW);
    }
    void digit3()
    {
    digitalWrite(D1, LOW);
    digitalWrite(D2, LOW);
    digitalWrite(D3, HIGH);
    digitalWrite(D4, LOW);
    }
    void digit4()
    {
    digitalWrite(D1, LOW);
    digitalWrite(D2, LOW);
    digitalWrite(D3, LOW);
    digitalWrite(D4, HIGH);
    }
    void all4Digits()
    {
    digitalWrite(D1, HIGH);
    digitalWrite(D2, HIGH);
    digitalWrite(D3, HIGH);
    digitalWrite(D4, HIGH);
    }
    void setup() {
    pinMode(pinA, OUTPUT);
    pinMode(pinB, OUTPUT);
    pinMode(pinC, OUTPUT);
    pinMode(pinD, OUTPUT);
    pinMode(pinE, OUTPUT);
    pinMode(pinF, OUTPUT);
    pinMode(pinG, OUTPUT);
    pinMode(pinDP, OUTPUT);
    pinMode(D1, OUTPUT);
    pinMode(D2, OUTPUT);
    pinMode(D3, OUTPUT);
    pinMode(D4, OUTPUT);
    }
    void loop() {
    digit1(); zero(); delay(500);
    digit2(); one(); delay(500);
    digit3(); two(); delay(500);
    digit4(); three(); delay(500);
    digit3(); four(); delay(500);
    digit2(); five(); delay(500);
    digit1(); six(); delay(500);
    digit2(); seven(); delay(500);
    digit3(); eight(); delay(500);
    digit4(); nine(); delay(500);
    all4Digits();
    allNumbers();
    }

  • @Bandicoot803
    @Bandicoot803 ปีที่แล้ว +1

    Sorry, but your voice is barely audible, the accent makes it harder to understand what you're saying, and - to top it off - the F(#)G music drowns it all! Please, re-upload it WITHOUT the nasty background music, will ya?

    • @rolanpereira7643
      @rolanpereira7643 ปีที่แล้ว

      I will try to re-upload the file .. sorry for being inactive

    • @furiz1043
      @furiz1043 ปีที่แล้ว +2

      my level of English is B2 and I still understand every word of it, I don’t know why the music and accent bother you so much

    • @Bandicoot803
      @Bandicoot803 ปีที่แล้ว

      @@furiz1043 Well to your country's standard you state it's B2. BUt to U.S. and U.K. standard it barely makes a school grade D, if at all.

    • @me-ye6ld
      @me-ye6ld 3 หลายเดือนก่อน

      @@Bandicoot803 you’re mighty hostile to the person giving you free educational content. There’s no need to be passive aggressive and diminish his English abilities. I understand him just fine. Your inability to understand is a YOU problem - a skill issue. Just say you’d find it more helpful without the background music and move on.

    • @Bandicoot803
      @Bandicoot803 3 หลายเดือนก่อน

      @@me-ye6ld Free educational content is one thing. But providing it to the world in a decent way with thoughts about the receipients feels comfortable about it is a different story. These two factors have to harmonize in unison, which - obviously - in this video is not the case. That why I stated my opinion with common consent, something you certainly have to start gathering in order to make up your life. If you misjudge other people by doubting their skills, then I'm sorry that I can't help you regarding this. It's completely up to you. I happen to live in a free and democratic country where common opinion and press freedom are at upmost value, and I'm not allowing ANYONE to whittle these rights away from me.