Тёмный
No video :(

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

Kristian Blåsol
Подписаться 20 тыс.
Просмотров 387 тыс.
50% 1

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 280   
@chernoblyat1901
@chernoblyat1901 3 года назад
Definitely better than most tutorials on RU-vid
@nastybuttler7880
@nastybuttler7880 7 лет назад
Dude, you just saved me probably about an entire day of figuring this out. I'm making a clock with these.
@leef_me8112
@leef_me8112 3 года назад
Very nice tutorial, especially explaining that 12 pins of a 4 digit display are the same as those of 4 individual displays.
@techsguild
@techsguild 8 лет назад
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!
@ChrisMayer-ui1tb
@ChrisMayer-ui1tb 3 месяца назад
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!
@remotecoderz
@remotecoderz 6 лет назад
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
@sprinkdesign7170
@sprinkdesign7170 8 лет назад
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 лет назад
Thank you very much for your kind words. It means a lot to me, because this is exactly what I try to accomplish :)
@amd43gaming55
@amd43gaming55 5 лет назад
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.
@illyakuzmych7813
@illyakuzmych7813 2 года назад
Loved the video Kristian! Great help
@GreenHatPIrate
@GreenHatPIrate 3 года назад
"It switches very fast" you answered my question. Well explained thank you
@somegremlin1596
@somegremlin1596 3 года назад
Don't you need resistors too?
@pickledavis
@pickledavis 5 лет назад
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!
@LUCKY007725
@LUCKY007725 8 лет назад
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
@godsonshaiju3670
@godsonshaiju3670 2 года назад
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!
@guilhermereichardt916
@guilhermereichardt916 8 лет назад
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
@KontrolRageBeats
@KontrolRageBeats 6 лет назад
/* 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 */ }
@AHElectronics
@AHElectronics 8 лет назад
Great job!!!! You made it so easy for me to understand!! Thanks a lot for the video!!!
8 лет назад
+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... :)
@SANJAYGIRI
@SANJAYGIRI 5 лет назад
bro you teached me exactly what i am searching . thanks a lot bro . love from INDIA🇮🇳🇮🇳
@lordhendrickson8585
@lordhendrickson8585 5 лет назад
Thanks. I am trying to make a video game device like a nintendo game and watch using arduino. I found this very helpful.
@amruthanair9988
@amruthanair9988 4 года назад
nice tutorial....... respect from INDIA
@cameronmoon4690
@cameronmoon4690 4 года назад
Also works with Atmel 2560 project
@irminsul2
@irminsul2 5 лет назад
great vid! . .thanks - but why do you not use resistors before the LED?!
@NegosyoManila
@NegosyoManila 3 года назад
so nice!!! Fully watched!
@trippermostafiz
@trippermostafiz 4 года назад
Thanks so much sir... Such a nice tutorial... Respect from Bangladesh
4 года назад
Many thanks for your kind words from Sweden. ;)
@trippermostafiz
@trippermostafiz 4 года назад
@ Sir, Can I have your email or any other contact(whatsapp or others)?? I need to contact you...
@vasantj6514
@vasantj6514 7 лет назад
This was a nice video explaining with pin configuration. Thumbs up !
@nihadabbikar5788
@nihadabbikar5788 4 года назад
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 3 года назад
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
@hasanyuksel5185
@hasanyuksel5185 4 года назад
Very nice work. Easy to understand. Thank you
@omkarkhade4602
@omkarkhade4602 3 года назад
Thank you for this tutorial.
@Leviathan0707
@Leviathan0707 4 года назад
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 года назад
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 года назад
@ 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 3 года назад
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.
@andywylie287
@andywylie287 3 года назад
Thanks for the informative video :)
@grzegorzdabrowski6204
@grzegorzdabrowski6204 8 лет назад
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 лет назад
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 5 лет назад
Sir please create a digital clock code for me....
@AtoPrince
@AtoPrince Год назад
3 digit 7-segment display circuit and how to connect it on the breadboard to count from 0 to 100
@bogu2359
@bogu2359 3 года назад
The one thing is missing to show how to display a variable which was generated as a result of some maths in code.
@SickCookie12
@SickCookie12 Год назад
hello! this tutorial really helped me build! Is there a place where this code is posted? I wanna test it out with the clock
Год назад
I think there is a link in the description?
@Quoit1
@Quoit1 8 лет назад
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.
8 лет назад
+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: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-dKlwpM7b1Zc.html
@andrasparanici5491
@andrasparanici5491 4 года назад
Thank you very much! What I needed!
@DupczacyBawol
@DupczacyBawol 7 лет назад
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...
@guidovlaere
@guidovlaere 8 лет назад
Great tutorial, good to understand and helpful. Thanks very much!
@johnmellor6065
@johnmellor6065 7 лет назад
found it extremely helpful in getting started , well explained thanks
@homer101sterr
@homer101sterr 7 лет назад
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 лет назад
Me too
@nastybuttler7880
@nastybuttler7880 7 лет назад
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 лет назад
got the same
@principaldogradegreecolleg2861
Same here
@acatisfinetoo3018
@acatisfinetoo3018 5 лет назад
How would i go about turning this into a digital clock? Yours is the closest i have come to understanding how to do this.
@Abdul1774
@Abdul1774 2 года назад
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?
@shwetharamesh6701
@shwetharamesh6701 3 года назад
So cool!! Thanks a lot!!!
@Dajavoutube
@Dajavoutube 7 лет назад
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?
@dirx59
@dirx59 5 лет назад
Thanks!!!, you're a great teacher.
@simonjcacapit629
@simonjcacapit629 4 года назад
thanks for the video!!!
@teejn7434
@teejn7434 4 года назад
Do you need to use dupont wires or can you the normal wires?
4 года назад
You can use any wires of course. DuPont wires are just for prototyping and testing.
@ShivamKumar-rp8kr
@ShivamKumar-rp8kr 4 года назад
Thank you!!! It worked
@puneethkumar703
@puneethkumar703 3 года назад
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
@chef9576
@chef9576 3 года назад
Do we need to also put capacitors for this display?
@adrianxie1298
@adrianxie1298 4 года назад
Great video, very helpful. :)
@indikaudayasaranga988
@indikaudayasaranga988 7 месяцев назад
so good video. learnt someny things
@ernstpaulswens
@ernstpaulswens 6 лет назад
Great explanation, thanks!
@ilyesouali575
@ilyesouali575 5 лет назад
You'r helpful thanks
@TheLionOfAfrica
@TheLionOfAfrica 5 лет назад
Thank you very much, a great explanation. you explain well.
@PerryCodes
@PerryCodes 8 лет назад
8:00 ... got a little trippy for a second ;)
@goofranshaikh9689
@goofranshaikh9689 6 лет назад
Sir can u make digital clock based on this I m facing difficulty in displaying hrs and minutes
@rosagunto
@rosagunto 8 лет назад
Hola como puedo poner varios sensores de dht11 uno en cada habitación y sacar los gráficos
@ronaldobrito1172
@ronaldobrito1172 8 лет назад
Thanks a lot friend, this video is great!
@KnitterX
@KnitterX 6 лет назад
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?
6 лет назад
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 6 лет назад
Yes, that helped. I understand it now. Thank you. :)
@Couchman26
@Couchman26 8 лет назад
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
@MrPkmonster
@MrPkmonster 8 лет назад
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... ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ZGzbAd-Aixc.html
@lainpilledaddy6963
@lainpilledaddy6963 8 лет назад
this helped me a lot!! its awesome : )
@fr5893
@fr5893 4 года назад
Thanks for this!
@veronicastanley-hooper9861
@veronicastanley-hooper9861 6 лет назад
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 лет назад
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 лет назад
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!
@kilomikesierra7840
@kilomikesierra7840 7 лет назад
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 лет назад
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 :)
@4VPme
@4VPme 8 лет назад
Man, you're legend....wait for it....dary!
8 лет назад
+4VPme Thanks.... Bro! ;)
@4VPme
@4VPme 8 лет назад
+Kristian Blåsol Can you, please, make tutorial on how to make temperature reading with 4 7-segment LED display?
@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?
@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
@vlhy1
@vlhy1 6 лет назад
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!
6 лет назад
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! :)
@arduinomaquinas
@arduinomaquinas Год назад
Good work friend ❤😉👍👏👏👏👏👏subscribed Brazil
@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.
@fanazonagaming
@fanazonagaming 5 месяцев назад
Thanks man
@thisoldjeepcj5
@thisoldjeepcj5 2 года назад
Good fundamentals.
@ayendelossantos6338
@ayendelossantos6338 7 лет назад
hello ! how would you program a 7 segement 2 digit display??
@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 4 года назад
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.
4 года назад
It has to do with if you have a common anode or common cathode led display...
@arifibrahim3724
@arifibrahim3724 8 лет назад
why I am getting this message 'D1' was not declared in this scope. i have done same thing.
@getachewalemneh1189
@getachewalemneh1189 8 лет назад
hey can you help me with interfacing 4x4 keypad and 4 digit 7 segment ? on arduino
@gentsejdiu3501
@gentsejdiu3501 7 лет назад
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?
7 лет назад
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 7 лет назад
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..
@patrickesterbrooks
@patrickesterbrooks 7 лет назад
can you build a counter with the MAX7219 chip?
@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.
@komplikuotas1691
@komplikuotas1691 3 года назад
i dont get it, a led requires an anode and cathode, but digital pins output only one type. It doesn't work for me
3 года назад
The digital pins can be either +5v or gnd depending on if the display is common anode or cathode you need to connect the common pin of the display to either +5v or gnd.
3 года назад
@@komplikuotas1691 hahaha. Well I’m sorry for being five years late then. 😜
@mohdghouse2739
@mohdghouse2739 4 года назад
Please can you make a video how to send text from android app using wifi module with 7 segment display
@rogerlilley4702
@rogerlilley4702 4 года назад
Why did you not include a resistor? My 7-segment display needs resistors
@puneethkumar703
@puneethkumar703 3 года назад
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 :)
@sgayle
@sgayle 5 месяцев назад
what could the issue be if the numbers don't fully lit up? please help
5 месяцев назад
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.
@earlybyrdy
@earlybyrdy 2 года назад
i'm new to arduino. why is there no ground pin?
@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 лет назад
@ 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.
@electronicswithmadhan1052
@electronicswithmadhan1052 Год назад
I have tried this code in wokwi online simulator instead of using real hardware, in simulation I can't able to get the all the 4 digits correctly displayed simultaneously, what's the reason, can anyone tell ? Whether we get this only if we tried in hardware?
Год назад
Do you get them to show one after the other? Maybe you are running the simulation in a slow mode?
@hashimiqbal6822
@hashimiqbal6822 5 лет назад
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
5 лет назад
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.
@Korystuwatch42
@Korystuwatch42 3 года назад
Can I use such a display without a resistors?
3 года назад
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 3 года назад
@ ok, thanks
@puneethkumar703
@puneethkumar703 3 года назад
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.
@rumaizahbar6833
@rumaizahbar6833 5 лет назад
Felt like I was being taught by Floki from Vikings! :D
@moritzwallner
@moritzwallner 6 лет назад
Thank you! :)
@false79
@false79 8 лет назад
Thank you for this! Subscribing
@waszqba
@waszqba 5 лет назад
How can one combat the issue with ghosting? I mean, "1" has the "0"'s afterglow because of the Arduino not switching segments fast enough
5 лет назад
Look at this video instead where I use two 595s to control the leds. By latching everything in the 595s I think that ghosting is eliminated. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ZGzbAd-Aixc.html
@ImadMessaoudi
@ImadMessaoudi 8 лет назад
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
@GoymonTV
@GoymonTV 4 года назад
hi there can you help me about my 4 digit segment LED 5604 module. all I want is counter upto 0 t0 99.99
@GoymonTV
@GoymonTV 4 года назад
at the back of the board its a 4X 74CH595 chip on it
@kaustavsamanta5738
@kaustavsamanta5738 5 лет назад
Really thank you
@DirtyKnees
@DirtyKnees 8 лет назад
you are a Godsend
8 лет назад
Well thank you! *blushing* ;)
@thankzcomputer
@thankzcomputer 8 месяцев назад
thank you
@Josivis
@Josivis 2 года назад
My LED is on when High and off when Low
Далее
Designing a 7-segment hex decoder
15:33
Просмотров 3,7 млн
LED Displays with Arduino - 7-Segment & Dot-Matrix
44:43
Lesson 28 - 4 Digit 7 Segment Display
29:08
Просмотров 113 тыс.
Control a 4 Digit 8-Segment LED Display Arduino
4:44
Просмотров 183 тыс.
How to use 4-digit LED TM1637 display with Arduino
9:13