Тёмный
No video :(

7-SEGMENT LED DISPLAY MAX7219 & SHIFT REGISTERS - Arduino tutorial #21 

Bas on Tech
Подписаться 7 тыс.
Просмотров 14 тыс.
50% 1

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

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@roadmonitoroz
@roadmonitoroz 3 месяца назад
Thankyou. Very clear. I started playing with arduinos again and had totally forgotten how to do the 7 segment x 8.
@BasonTech
@BasonTech 2 месяца назад
Great to hear, thanks! 😃
@winstonegm
@winstonegm 2 года назад
Beautiful work there!
@BasonTech
@BasonTech 2 года назад
Thanks! 😃
@ryanwright3965
@ryanwright3965 4 года назад
Great video. This was very helpful.
@BasonTech
@BasonTech 4 года назад
Thanks! 😃
@reshairo
@reshairo 4 года назад
Very useful tutorial, My friend theres something wrong in your video titles or tags. You deserve more views. Thanx for the greate tutorial 💞
@BasonTech
@BasonTech 4 года назад
Thanks! 😃
@SusanAmberBruce
@SusanAmberBruce 3 года назад
Great tutorial thanks
@BasonTech
@BasonTech 3 года назад
Great to hear! Thanks! 😃
@tishankaveendra7666
@tishankaveendra7666 4 года назад
Thank you
@BasonTech
@BasonTech 4 года назад
You're welcome! 😃
@esneos4560
@esneos4560 3 года назад
ty so much
@BasonTech
@BasonTech 3 года назад
You're welcome! 😃
@shahbaztech7064
@shahbaztech7064 2 года назад
How to show data on three different max7219 seven segment display kindly make a vedio on cascade of max7219
@BasonTech
@BasonTech 2 года назад
You can just connect the output of the first with the input for the next one. The max7219 are chainable 😃
@bilbobaggins138
@bilbobaggins138 2 года назад
Very helpful thanks! I just have a question with "printNumber3" If you have large digits that descent into small one for example 10000 -> 10 then the highest digits will still be there, is there a way to automatically reset those so they turn off?
@BasonTech
@BasonTech 2 года назад
Nice question! It is probably the easiest to just turn of every segment before changing to a new digit 😃
@bilbobaggins138
@bilbobaggins138 2 года назад
@@BasonTech I tried that first, but it doesn't work because i have rapidly changing numbers. However i found a solution: void printNumber3(long number) { // Array of 8 bytes for each postion on the LED display byte digits[8] = {0, 0, 0, 0, 0, 0, 0, 0}; // Loop over each position to determine the number to show for (int i; i < 8; i++) { digits[i] = number % 10; number = number / 10; } // True when we've found the first non-zero digit bool firstNonZeroFound = false; for (int i = 7; i >= 0; i--) { // If the number is not equal to 0 if(digits[i] != 0) { firstNonZeroFound = true; } // Here is the solution i found :) if (firstNonZeroFound) { lc.setDigit(0, i, digits[i], false);} else{ lc.setRow(0, i, B00000000) ;} } }
@BasonTech
@BasonTech 2 года назад
Great! Btw it is quite common to arrange the accolades in an if/else structure like: if (firstNonZeroFound) { lc.setDigit(0, i, digits[i], false); } else { lc.setRow(0, i, B00000000); } This makes it easier to see the "code blocks" 😃
@bilbobaggins138
@bilbobaggins138 2 года назад
@@BasonTech Oh i will keep that in mind :)
@julesdesloover9792
@julesdesloover9792 4 года назад
Hey zou je aub een video kunnen maken over hou je een 7 segment LED display maakt met LED zelf. En hou je die kan laten branden met arduino en een rtc als mogelijk is. Het zou men leven veel makkelijker maken ik bind namelijk niet genoeg informatie daarover. Ik ben echt een grote fan van je video’s groetjes.
@BasonTech
@BasonTech 4 года назад
Je bedoelt dat je 7 losse LED's hebt en die dan apart aanstuurt? Via 7 uitgangen op je Arduino kun je 7 LED's aansturen een andere optie is om met een losse MAX7219 chip te werken, maar dan is het bordje uit deze video veel makkelijker. Wist je trouwens dat er ook een Nederlandse versie van de video is op ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-KFC_bQmroko.html
@julesdesloover9792
@julesdesloover9792 4 года назад
Bas on Tech ja maar ik heb een proefwerk waar ik alleen losse led mag gebruiken. En ik heb geen idee hoe ik moet beginnen. Dank u wel om te antwoorden en ik heb al alle video’s gezien van het Nederlands kanaal. Groetjes
@BasonTech
@BasonTech 4 года назад
Ik kan moeilijk je proefwerk gaan maken 😉 Kijk nog eens goed naar de les over hoe je 1 LED aanzet, probeer dan vervolgens deze uit te breiden naar 2 LED's en zo verder.
@Imotkktomi
@Imotkktomi 4 года назад
Hi! Very cool tutorial! I just built it! I tried to modify it (printNumber3) to use 2 displays and 16 bytes, with "long" number instead "int". It's working but I don't know how to show the numbers greater than eight bytes on the other display. Could you maybe give me some help ?!
@BasonTech
@BasonTech 4 года назад
Thanks! :) Have you tried to use modulo to split a number into positions in an array?
@Imotkktomi
@Imotkktomi 4 года назад
​@@BasonTech No, not shure how to do it :)
@BasonTech
@BasonTech 4 года назад
Divide number by 1, 10, 100 etc and then you know which digit to draw on which position. More info about modulo at: en.wikipedia.org/wiki/Modulo_operation
@Imotkktomi
@Imotkktomi 4 года назад
Ok. I'll try it. Thank you very much. I look forward for your future videos
@johnnz4375
@johnnz4375 8 месяцев назад
By you accent I am sure that you are Dutch.😊
@BasonTech
@BasonTech 8 месяцев назад
Born and raised! 😄 As long as you understand what I say I am happy 😃
@abdullatiefali8036
@abdullatiefali8036 2 года назад
How you connect GND to 5V ???
@BasonTech
@BasonTech 2 года назад
Sorry, can you be a bit more specific?
@abdullatiefali8036
@abdullatiefali8036 2 года назад
Bas on Tech i mean isn’t the GND always connected with GND ( negative) ? And always the VCC connected with 5 Volt , how you connected from GND to 5Volt ?
@abdullatiefali8036
@abdullatiefali8036 2 года назад
Bas on Tech im sorry I didn’t notice it 😅
@graffite8699
@graffite8699 10 месяцев назад
Hello. I shared this on facebook. Hope this is OK for you
@BasonTech
@BasonTech 10 месяцев назад
Sure! As long as you share the link and not download the video and re-upload it to Facebook. Thanks!
@graffite8699
@graffite8699 10 месяцев назад
Thankyou@@BasonTech
Далее
LED Displays with Arduino - 7-Segment & Dot-Matrix
44:43
74HC595 & 74HC165 Shift Registers with Arduino
40:38
Просмотров 397 тыс.
MAX7219 LED multiplexing tutorial
13:26
Просмотров 38 тыс.
Visualizing Data with 7-Segment Displays
34:26
Просмотров 1,2 млн
#63 Cascade MAX7219 7-Segment LED displays - easy!
40:24
MOTION SENSOR (PIR) HC-SR501 - Arduino tutorial #22
6:55
ROTARY ENCODER WITH INTERRUPTS - Arduino tutorial #12
13:12