Madisonrep - Báo tin tức với các bài phóng sự video clip độc quyền
  • Home
  • Bất Động Sản
  • Công Nghệ
  • Kinh Doanh
No Result
View All Result
  • Home
  • Bất Động Sản
  • Công Nghệ
  • Kinh Doanh
No Result
View All Result
Madisonrep - Báo tin tức với các bài phóng sự video clip độc quyền
No Result
View All Result

Run an 8×8 LED Matrix using 3 pins!

admin by admin
January 30, 2020
in Công Nghệ
29
Run an 8×8 LED Matrix using 3 pins!



(Expand for Errata) Previously, we looked at the 8×8 LED Matrix. We noted that, since it needs 16 pins to power, we’ll have to sacrifice quite a lot of pins on the microcontroller. I left this as an open question at the end of that episode, which you can watch here →

In this video, we try to look for ways to cut down on the number of pins, through use of our trusty 74HC595N shift register! We first looked at this nifty little component, which helps store one byte of data, in this video →

By combining two shift registers with the LED Matrix, we can eliminate almost all of the pins used to drive the matrix. What’s even better is, the first shift register can drive the second, reducing our pin count down to just 3.

Want to see the code? Downloads are here:

To download, click “Download” on the left sidebar, and select “Download Repository”.

= ERRATA =
Please note the mistake at 9:10 – In the diagram, the shift and store pins have been reversed. The store pin should be above the shift pin. Thank you very much to Joshua Thyer for pointing out the error!

= 0612 TV =
0612 TV, a sub-project of NERDfirst.net, is an educational YouTube channel. Started in 2008, we have now covered a wide range of topics, from areas such as Programming, Algorithms and Computing Theories, Computer Graphics, Photography, and Specialized Guides for using software such as FFMPEG, Deshaker, GIMP and more!

Enjoy your stay, and don’t hesitate to drop me a comment or a personal message to my inbox =) If you like my work, don’t forget to subscribe!

Like what you see? Buy me a coffee →

0612 TV Official Writeup:
More about me:
Official Twitter:

= NERDfirst =
NERDfirst is a project allowing me to go above and beyond YouTube videos into areas like app and game development. It will also contain the official 0612 TV blog and other resources.

Watch this space, and keep your eyes peeled on this channel for more updates!

—–

Disclaimer: Please note that any information is provided on this channel in good faith, but I cannot guarantee 100% accuracy / correctness on all content. Contributors to this channel are not to be held responsible for any possible outcomes from your use of the information.

Nguồn:https://madisonrep.org/

Xem Thêm Bài Viết Khác:https://madisonrep.org/cong-nghe

Tags: Youtube
Previous Post

Hướng dẫn tạo tài khoản trên Adidas JP

Next Post

Ăn gì trước khi tập Gym buổi sáng để đạt hiệu quả cao nhất

Next Post
Ăn gì trước khi tập Gym buổi sáng để đạt hiệu quả cao nhất

Ăn gì trước khi tập Gym buổi sáng để đạt hiệu quả cao nhất

Comments 29

  1. Enigma758 says:
    2 years ago

    Great video, I like how you progress from an initial idea to a more optimized design. One question though – at 8:34 the resistors are row based yet at 11:00 your pictures shows them column based.

    Reply
  2. Maher Alsayid says:
    2 years ago

    This is an awesome video thanks for sharing all the good information,
    If i want to use an led stripe , do i need to follow the same concept?

    Reply
  3. Muthu sundharam says:
    2 years ago

    very clear

    Reply
  4. Aman Agarwal says:
    2 years ago

    Thanks man! Now i got to know many others are unnecessarily making this concept complicated. Its very difficult to write control code if you are making a 20 X 20 led matrix, the binary for 20 will be very big and you cant use Int as you exceed its limitation, so I used Float. But yours differential control for each shift register is awesome!

    Reply
  5. Vise Sphee says:
    2 years ago

    K

    Reply
  6. Tim Scott says:
    2 years ago

    Could you use this scheme to control a 9px row x 368 column matrix? I'd even be willing to leave a column on the table if I could do this with 47 shift registers, and only 3 data pins.

    Reply
  7. Ruan says:
    2 years ago

    (128 >> i) can be replaced with (1 << (7 – i)) which is preferred for readability.

    Reply
  8. Foster Phillips says:
    2 years ago

    So I'm making a custom Matrix, and I need it to be an 8×9 matrix, I assume I will have to make use of another shift register right?

    Reply
  9. Rizky muharman says:
    2 years ago

    is there a zip file to program ?

    Reply
  10. Change starts with the individual says:
    2 years ago

    Thank you so much!

    Reply
  11. Tegan Cirulli says:
    2 years ago

    Propbably a ridiculous question but how do you know which side is the rows on the led matrix and which side is the columns?

    Reply
  12. Armin Arya says:
    2 years ago

    Can email you I had a few questions from you

    Reply
  13. Joshua Thyer says:
    2 years ago

    at 9:10 you show a pin schematic for the 74HC595N chip labeling 5th pin on the right Shift, and the 6th pin on the right Store.

    but  @ 10:06 when you show the 2 chip wiring diagram you switch the Shift and store pins coming from the Arduino signal.

    I was just wondering if this was a mistake or something?

    Love the content and thanks for the help so far!

    Reply
  14. Armin Arya says:
    2 years ago

    very helpfull. tanks

    Reply
  15. اكرم عدنان says:
    2 years ago

    Thank you so much for this explainining

    Reply
  16. Jack the Aviator says:
    2 years ago

    I built my own 8*8 matrix, and wired it as shown, when I uploaded the code, all of the LEDs were lit. Could you point me in the right direction to debug the issue? And something that I wasn't quite clear on from your video, should enable and reset be pulled high or low?

    Reply
  17. gunja203 says:
    2 years ago

    Maybe a noob question but…where do I connect the data, store and shift pin from the shift registor to the arduino ?

    Reply
  18. Joseph Rinaldi says:
    2 years ago

    Fantastic explanation. Very detailed and consise and very clear to understand. One of the best that I have seen so far on youtube. Keep up the exellent work.

    Reply
  19. Daryl Seepersad says:
    2 years ago

    I have a question for you. If I only have resistors on the grounds can I light up all the LEDs at once or will it have to be scanned instead? do i choose the resistor based on 8 Leds in parallel or do i base the resistor on 1 led? For example if the grounds are on the columns and i try to light the whole column vs one led in that column. to light the whole column will i have to scan or can i just send power to all rows ? 8 leds would be on going thru one resistor..

    Reply
  20. idris ishola says:
    2 years ago

    Good mourning, please can I use this code in pic 16f877a

    Reply
  21. idris ishola says:
    2 years ago

    More tutorials my boss

    Reply
  22. idris ishola says:
    2 years ago

    Good tutor. More power to your elbow

    Reply
  23. Fantastic Phone says:
    2 years ago

    excellent video, you make it easy to understand ! Your efforts are greatly appreciated – thank you!

    Reply
  24. 3DSage says:
    2 years ago

    Your video was the only one that helped me understand this! Thank you for making this video.

    Reply
  25. Zulfan Priangga Fahmi says:
    2 years ago

    very good explanation! i understand now. but now i donthave idea how that led matrix can show running text. pls make video how to do running text use led matrix. i appreciate it. Thank you!

    Reply
  26. max things says:
    2 years ago

    is there a schematic available somewhre where to read how you connected the 595 with the row and col of the matrix?

    Reply
  27. Somnath Bera says:
    2 years ago

    Thank you

    Reply
  28. Владд Брат says:
    2 years ago

    wery good explanation thank you

    Reply
  29. Ham says:
    2 years ago

    Nice video! There's one thing that I want to ask: can I control one single LED and let it blink, which is a pwm signal output by the register.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Xem Thêm

BRG SMART CITY ĐÔNG ANH MỚI NHẤT 2022

BRG SMART CITY ĐÔNG ANH MỚI NHẤT 2022

June 29, 2022
Nên mua chung cư cao tầng hay thấp tầng?

Nên mua chung cư cao tầng hay thấp tầng?

June 23, 2022

Thông tin chi tiết 7 căn hộ ở quận Binh Chanh là người quan tâm nhất Quận Bình Chánh

June 9, 2022
Giá cho thuê nhà riêng tại Hà Nội nguyên căn

Giá cho thuê nhà riêng tại Hà Nội nguyên căn

March 4, 2022
Công viên Cầu Vồng Vinhomes Grand Park được ví như một thiên đường sống

Vì sao gọi công viên Cầu Vồng Vinhomes Grand Park là thiên đường?

May 17, 2021
Thủ tục hợp thức hóa nhà đất Nam Cầu Nguyễn Tri Phương Đà Nẵng là gì?

Thủ tục hợp thức hóa nhà đất Nam Cầu Nguyễn Tri Phương Đà Nẵng là gì?

January 11, 2021
  • Giới Thiệu
  • Chính Sách Bảo Mật
  • Liên Hệ

© 2022 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Bất Động Sản
  • Công Nghệ
  • Kinh Doanh

© 2022 JNews - Premium WordPress news & magazine theme by Jegtheme.