Cliff Notes for this video:
You light an LED by sending voltage through the anode and having the cathode as ground
multiplexing can be done by grouping the anodes as either rows or columns and grouping cathodes the opposite way.
you can light multiple LEDs by lighting one LED at a time very fast
RGB LEDs are wired similarly…
group common anodes….
then, group the red, green, and blue cathodes the opposite way
if you still have too many pins, one way to shrink them is to multiplex the transistors.
Transistors have an Emitter, Base, and collector.
I actually got this part of the video wrong….
you send voltage through the emitter, the base acts like an on/off switch, and then the collector sends out the voltage
I’m not really sure why this is…. it sounds like the collector should be input, and emitter should be output…. you can tell I’m not an electrical engineer
either way… video has collector and emitter swapped… oops!
My design goes off of Kevin Darrahs multiplexing video…. so…. if all else fails… follow his design…
My next mau5head will not be using transistors! I will be using LED drivers! I was just showing how I used them on this mau5head.
Next video will be all about the code…
Note: Strobe is by Deadmau5, not me…. No copyright infringement intended…
Nguồn: https://sunview.vn
Xem thêm bài viết khác: https://sunview.vn/cong-nghe/