Electronic Basics #5: How to Multiplex
Вставка
- Опубліковано 23 лип 2024
- Twitter: / greatscottlab
Facebook: / greatscottlab
Previous video: • Build your own RGB LED...
Arduino Code+Schematic: www.mediafire.com/download/asi...
In this video i am going to show you how to control a huge amount of LEDs inside a matrix or a cube with only a few I/O pins of your Arduino.
Music:
Killing Time, Kevin MacLeod (incompetech.com) - Наука та технологія
“I hope you learn something today”... I do, I really do. Thank you.
Finally a video which explains the basics of multiple LED and then quickly builds up the complexity while maintaining the necessary abstraction - the rest one can just google up how to use find the right component. Oh and I forgot to mention - finally one that doesn’t have the really terrible background music, instead an amazing voiceover!
Thank you very much for your amazing/great/fantastic/brillant/unique tutorials! They are so helpfull for me and you speak slowly and clear so I can understand what you say (I don't speak a lot of English). I am learning a lot of things from you. Again, thank! Kind regards. Francesco.
Francesco Cositore Thanks! That is why I do this!
Where is the circuit diagram?
I need it?
Great videos! Thank you and keep them coming. I'm and ME student at the University of Minnesota and an electronics enthusiast and I just wanted to let you know I think you do a great job with your builds. Keeping it interesting while still including theory.
Your UA-cams are just amazing. Thank you for all the time you take producing them.
I made this, and it helps me alot with graphing coordanitates. Thank you Great Scott!
Excellent tutorial. Very easy to understand and lots of fun. Thank you for making your videos, I reference them quite often for my projects.
Great video! I have always asked myself how it is possible to control so many leds with just a few outputs. With you video I at least understood the principle or trick behind this method. Thank you very much!
Thanks for this. Im just starting to build something with a matrix and this really helped understanding.
Thank you Scott, that makes it 100% easier to understand
i was wracking my brain trying to think how a multiplexer could POSSIBLY be useful... until i saw this video, and learned that they operate at a high frequency! thanks great scott
high quality video with actual explanations. good video
great work you have inspired me a great deal, I some times wonder does it get frustrating to get questions like " where can I get breadboard ?" hell if ya cant work that out then ya don't stand a bloody chance! anyway good stuff sir!
Wow. Nice! You helped me solve a big problem with my 50 LED display. Many thanks
You just fixed the problem that I was thinking for years. Thank you
Intro is AWESOME! :D I started watching channel from new episodes (2020) and I prefer this techno intro.
Am trying to teach myself with all this. Its hard to find exactly the right info. Was easy to understand and will be perfect in the future for referance. Thankyou for youre time
Thanks for the amazing videos, amazon links don't load anymore, can you fix them or post the items being used for this project! looks exciting
Hi @GreatScott! ,
Thanks for the great tutorial.
I tried this on my custom made 4 digit 7 segment display with LEDs.
It works fine, except for one issue.
I could see residue lights on non-lit segments of some digits due to multiplexing. For example, 12 looks like 22 due to the residue lights. I tried fine-tuning the update interval but always ended up in either flickering or residue light. Is there a way to avoid it?
If you replace the LEDs with sensors, like linear-motion spring loaded potentiometers for example; can I find the location of a ball on the grid, as it rolls across the sliding pieces of the potentiometers sticking up? My hope is that I can get analog signals from the grid to very accurately locate the center of something on the grid, without needing the stuff for timing. (I actually have a different sensor in mind, but the linear potentiometer is useful for the example.)
Great explanation! Thanks for this video.
Great, Scott! :)
I've searched for something much much simpler... Please, how to use CD4052 to create a 2-channel switch? I need this for my future analog synth (to avoid using rotating switches). Do I need some other chips to create constant 0 - 1 states? I've thought about CD4017 but not sure how to use it here... Or can it be done better with some other additional ICs
Great job brining electronics to the masses. Thank you.
very useful thing i have learned from this video is using of mosfet for common cathode RGB led strip
Great stuff! I was wondering if i can do the same with sound. I have built a 555 synthesizer. Its a voltage controlled oscillator. I want to be able to play it polyphonic, not one note at a time. Could i use multiplexing for that?
Ben Winkel you got a 555 to generate your wave for each note. If you want to play multiple notes at the same time then you will need to use a 555 timer to generate each note and combine those afterwards. One extra advantage of this system is that you can tune each note seperatly
Awesome tutorials 👍
Can you please tell that is it possible to get the arduino code which is uploaded on our board to our laptop ?
Alter du bist der Chef überhaupt! Krasser scheiß. Hut ab! Danke für die geilen Videos! Bitte weitermachen!!!
I love that this is just the Basics
hey scott thanks for ur videos, thing is how the ic tlc5940 manages to eliminate the Aa and Aj error and how to texting takes place if ur using a row manipulation through the ic i mean if u turn on entire row even faster still u'll get the Aa ,Aj error.......i think the better one is to use the clock for anode and cathode ...........anyway if can please reply me and thanks for videos again
Amazing tutorial. Have you considered a charlieplexing it's similar ish
Hi , can I ask is this arduino sketch can control individual LED fade in and out ?
Any rule of thumb regarding duty cycles and refresh rates or points to get started? I'm currently designing a nibble display for an 8bit cpu, why is meant to use 7 7-segment displays. Multiplexing is done by switching the common anode. There's a 4-12MHz clock signal I could easily use (Adding a 555 at a lower rate shouldn't be a problem) and I'd see myself ending up with a duty cycle of ~15% - would that work? I'm aware the segments might show junk while running code on the CPU at full speed. It's meant as a debug aid when putting the CPU into single step mode.
Thank you for this, I'm gonna use the ideas here to build a binary clock that multiplexes through the digits. I probably won't use the LED driver, just a few transistors for now since the clock will be 4 tall x 6 wide, and not every column will have all 4 LEDs. Even if an entire row is lit, that's only 120mA max, so a transistor should be able to handle that. Anyways, thank you again!
Awesome bro❤️ loved from INDIA 🇮🇳
sorry I'm new to all this but will a atmel chip be fine (like the atmega8) instead of the tlc because the only ones available to me are ones by atmel (and some by pic)
Hi greatscott i have a dummy question for you. :) what the material you use for make jumper line on your circuit. What metal or allow. i use some and never he lead stick on it. BTW sorry for my bad English im from Quebec in Canada HA-HA
Nice video. What will happen if I am not using MOSFET to power up LEDs?
so is the gate going to the D pins of the arduino? the schematic is a little confusing. It looks like both gate and source are going to 5V while drain is going to anode, D pins of arduino and the 1K resistor. Sorry new to reading circuit diagrams so having trouble understanding .
i have build 6x6 led matrix which multipeler ic do i need?
Hy GreatScott will you like to tell me about analog relays that able to control electric fan speed please
Sir, Is there any way to light up the LED cube in different patterns without coding and using just discrete components?
hey i am not able to find TLC5940 LED driver are there any replacements for it?
hey Scott , what is the software you are using for the schematics in the videos?
Where can I download your arduino code for multiplex from?
Although I didn't completely understand how it works I have a somewhat better understanding than before so thank you
Hi, where do you buy the original resistors?
Is there another multiplexer close enough to the TLC5940 that can be used in case this multiplexer isn't available?
Thanks in advance, Scott
How does this compares to an analog multiplexer like, 74HC4051n DIP-16 ? trying to wrap my head around understanding the logic behind multiplexing
please can you do tutorial for how use Oscilloscope and etc.
how do you figure out what kind of mosfet you need to use? there seem to be so many choices
Nice Work!
Great scott #salute 😍
can this some how be made into a LED Oscilloscope
Is the speed used to multiplex also a monitor refresh rate?
That's so simple and brilliant.
also the code. holy crap. this is so simple. thank you for this series.
it is great how i contact with you to get other information
i know this is an old video, but i caught a glimpse of a ST STM8S DISCOVERY micro controller, maybe a topic for another video? :)
which datasheet integrated that you used?
Scott u are really great
Can u plz make basics video about semiconductors
Is it possible to set up three different phrases on this. We have a shed where we do most of our work. My sister does her jewellery making which we call it the she shed. I do my electronics which we call it the man cave. Then my brother and I also reload our ammo in which we call the war room. If I could get three buttons to choose between the three signs that would be cool
I would love to see a video on charlieplexing :P i would love to see how you implement it
best great scott
making the project easyer and faster............ great
i like this video . thank you for this
Hallo Scott ;)
Sag mal sich das Schieberegister ? oder haben die noch eine andere Funktion?
So wurde es uns in der Schule erklärt. Ein Byte bit für bit rein schieben und dann ins Ausgaberegister übertragen.
Das dann pro Bildwiederholung.
Liebe Grüße aus dem Münsterland.
Whats the programm wich do you use ?
Hello, what is the minimum frequency to make it looks instant? I want to build it without worrying to go over 1Mhz
I have 50 addressable (3led x one driver with one data pin ) led strips of 5 meters each, a total of 250 meters. Is it possible to operate as a matrix?
The cube is so freaking cool man wow. Now I have a new goal after I figure out a power supply from scratch.
Which software you use to edit videos.
So from where can the codes be downloaded?
What would happen if I use a different type of MOSFET? I am new to this kind of things. I have a bunch of TIP 31C MOSFETs but I am not sure if it will work.
+TheNeoAnthony tip 31c is a bipolar transistor not a fet
Suggest me any project for my college mini project
Great video
Gate output
Sours in 5v
Drain ground
Is it that the Pinout of a Transistor
Can you maybe explain mosfeets in another video? i dont get it.
Please do a video explaining analog multiplexer
Will adding a small capasitor to each led make multiplexing smoother? (For displaying static pictures)
Pls dont put in series, putting in parallel will probably create a delay proportional to capacitance(long time since i did electronics, not expert
Does it matter what kind of mosfet is used?
Good tutorial
What type of wire do you use to connect the cathodes and anodes? Is it a spool of wire or can you buy it in straight sections, and what material / gauge?
David Schwaerzle thank you, David. I'm guessing 22 AWG bus wire would suffice.
i can't download the code and the schematics how can i get them ?
hello friend, after one hour studying, I´m sick, I don't understand your reasons yet, I can't look to the project the same way as you did. If only one led will be played each time, and everything will be controled by software, catode can be controled by IO port and anode by another IO and 2n7000 N-channel mosfet (for exemple), just need a 100 to 220 R resitor in catode. Did I undertand anything wrong?
very good thanks
"...and I will see you next time." My, how that statement has evolved!! :-)
now i understand! how cubes work
How do i figure out how many LED drivers i need for 8x8x8
How can one connect a rtc to it to show the time, can someone help
Hello. I would really like to ask, why you have pull-up resistor with gate and 5v? Isn't the code wrote like: LOW (active) ?
2021 now, and i have the same question XD
@1:14, where to buy the straight wire that bridges the LEDs? Thanjs
It's called Buss Wire, it is used in application like these.
you can just use the core of a solid copper wire :)
How can you open the Arduino Code+Schematic mediafire download on Mac OSX, it is a .rar file for windows ?
rar expander
Sir i want to design vaccum Fluroscent Display based audio spectrum analyzer using this led driver with additional output transistor circuit to drive the grids and segment with high volts, it will be 5band 10seg per band analyzer , but dont know how to write program for it can you please help me with the program m having the arduino uno. The vf display is from old car radio system.
Or can you make a video on vfd display spectrum analyzer using dedicated vfd chips pt6311 and vfd, as vfd's are great electronics stuff, looking forward for your reply, thank you☺️🙌
can you use an arduino uno instead ? and how things will change when i will use rgb leds ?
im pretty sure you can use Arduino Uno since you got the IO pins. And i dont thing there is any change since you use the same pins : ]
how did you fit the mosfets into the breadboard? did you hammer them in??
The breadboards have holes in them 2.54mm large. The MOSFET leads are the same size, so they simply push in. They can be removed and re-used with no difficulty.
Can you give a tutorial about Tlc5940
I am having problems from changing it from the sign wave, could someone please help me?
I'm a bit confused on the wiring of the 1K resistors
Possible with RGB LEDs controlled by 4 legs (R,G,B,cathode)?
yep
is it possible to program a clock on the matrix? btw I love ur vids
Of course xD
Yes it can! But you will need more LED's to achieve this.
that's a lot of pins!.......how about using shift registers though? :-)