Run an 8x8 LED Matrix using 3 pins!

۴۹.۴ K


۳۲

(Expand for Errata) Previously, we looked at the 8x8 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 → https://www.youtube.com/watch?v=G4lIo-MRSiY 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 → https://www.youtube.com/watch?v=MRy47jCn3zA 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: https://bitbucket.org/nerdfirst/arduino-8x8-with-shift-register 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 → http://www.nerdfirst.net/donate/ 0612 TV Official Writeup: http://nerdfirst.net/0612tv More about me: http://about.me/lcc0612 Official Twitter: http://twitter.com/0612tv = 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! http://nerdfirst.net/ ----- 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.

منتشر شده توسط: 0612 TV w/ NERDfirst
تاریخ انتشار: ۲ سال پیش
دسته بندی: آموزشی