Arduino tutorial about how to work with a 4 digit 8 segment led display. Link to code: create.arduino.cc/editor/LogM... Arduino PWM, pulse width modulation.
КОМЕНТАРІ: 56
@anandg8257 місяців тому
Thanks LogMaker, your indigenous code using sw case functions was very much helpful. However there is an unnecessary display of 0 and glitches each time the 2nd and 3rd digit overflows. Instead, I deleted the two dummy variables duiz/hon and used if/else statements inside the digit cases to suppress the MSB zeros which works fine.
@achulu-ir3lj4 роки тому
this helped me so much thank you
@avral41483 роки тому
How do you arrange ur code if you have floating numbers?
@itsbaskeh6 років тому
that dutch accent!
@maketheworldgreatagaindiew92336 років тому
it is rather german accent
@Luukjw6 років тому
nope
@jenshendriks90926 років тому
maketheworldgreatagain diewzlt no. I'm dutch and recognize this anywherr
@poeniedoedel77686 років тому
karakter
@nublybubly6576 років тому
Yes a dutch accent
@yasmineel-houari6665 місяців тому
what programme did you use to make the cirkit plan please ??!!
@Tnapvrvideo5 років тому
Can this LED display be controlled without Arduino? I was hoping to connect it to a potentiometer, and have it read out the voltage as the potentiometer is turned.
@inf3rnalis8043 роки тому
you would need to have the arduino read the potentiometer position and then to display that value on the display
@mohitparikh44553 роки тому
How to program arduino for digital cloak sir ?
@samyakchangede68435 років тому
Please make video on tilt motion
@yannis951fr7 років тому
hello i don't understand where i must put the resistance on pin wich control the digit or on those one wich turn on the led ? thank you if you answer me :)
@logmaker36097 років тому
The LED
@nixkuchen6 років тому
Yellow
@shobalengheru4 роки тому
@@logmaker3609 give us the fucking sketch...
@snk99703 роки тому
@@shobalengheru see code link :)
@memerboi69442 роки тому
thx u are the best
@crazyguy_show7457 років тому
thank you
@danielmot7224 роки тому
I wonder why the first 10 numbers of each hundred run with double speed and with the 2nd and 4th digit flashing rapidly. Am I the only one who sees this? Happens in the video and also on my son's arduino when I copy the code.
@snk99703 роки тому
same here....
@TimurIskhodzhanov7 років тому
Did you notice that 1s and 7s are a lot brighter than the other numbers?
@logmaker36097 років тому
sort of
@snk99703 роки тому
@@logmaker3609 means yes. How to avoid?
@wowo10812 роки тому
@@snk9970 It can't be helped because 1 has only two segments and 7 has 3 compared to the others which have 4 or more segments to light up. My solution is to attach resistors to each of the segments from segA to segG so each segment of the 7-segment displays receives equal current. Indeed, in my implementation of this where I used 220R for each of the 7 segments, I have all numbers 0-9 all equally bright.
@ilkeraykut70644 роки тому
Thanks for the video.I have a question.How can we write this with 1 second interval?
@logmaker36094 роки тому
Delay(1000);
@ilkeraykut70644 роки тому
@@logmaker3609 with that way ,I can 't see the numbers.
@dorasimon70593 роки тому
Delay (9999999999999999999)
@mrxguru3 роки тому
thanks
@tylerbyrne80194 роки тому
bro where tf does "lightNumber" come in? It can't be used as a function so why do use it as one in the forth case?
@logmaker36094 роки тому
It is a function, the last one in the sketch. Remember in C you can write functions on the Bottom.
@tylerbyrne80194 роки тому
@@logmaker3609 My Arduino is telling me that I can't. Where do you first declare it as a function?
Why do you have a Chinese coin at the bottom left corner?
@kamaljitkaur78483 роки тому
Yes same question, as if he would control it through that coin
@wokkid_1445Рік тому
for scale hiw big the display is
@barriajohnmaverickgamboa22914 роки тому
THANKS
@henriqueers3 роки тому
Where's the pin for GND?
@malcolmwright74402 роки тому
I think that the four separate display pins are the current return path return for each of the four seven set displays, therefore these four are effectively the (4) GND pins.
@henriqueers2 роки тому
@@malcolmwright7440 what if we set +5V in all the pins at the same time?
@malcolmwright74402 роки тому
@@henriqueers LED displays are just LED's arranged in a specific pattern with either the anodes or the cathodes of the 8 segments ( a,b,c,d,e,f,g and decimal point) combined at one point. As you Power each 8 segmented part, e.g you supply the current source to the combined point, you then activate any or the 8 segments by supplying a return current path to the segment path return, (GND ?!) which are also connected to the same related segment (commoned) with the other 8 segmented displays, e.g all a's connected together, all b's connect with each other ect etc.... In answering your question, if you supply the same potential to both these "feed" and "return" pins then NO current will flow and the LED's will not be powered. You need a differential potential across the LED's to provide a forward current flow to energize illumination, so with a "common anode" display, the common 8 segments pin is connected to positive and the return of the LED pins are wired to a current limiting negative return. Hope this is clear 😅
@user-mp6ge7kf2y3 роки тому
как из этого сделать счётчик импульсов на намоточный станок
@west-helio44915 років тому
ola amigo viu com esse código eu consigo fazer com um display grande para um painel de jogo de caminhão
@berkavoes3 роки тому
Makker op deze manier kan je het beter in het nederlands vertellen
@browaruspierogus21826 років тому
or just use modulo operator :D
@iwochol254611 місяців тому
iwo dziura
@rickloresto96475 років тому
7 segment actual circuit here...ukposts.info/have/v-deo/oKiFp5qAhKt_tZc.html