8x8x8 RGB LED CUBE - How it Really Works! Multiplexing and Bit Angle Modulation

  Рет қаралды 235,847

Kevin Darrah

Kevin Darrah

11 жыл бұрын

Parts List-Schematic-EagleFile-ArduinoCode:
www.kevindarrah.com
Demo Video:
• How To RGB 8x8x8 LED C...
Theory Video:
• How To RGB 8x8x8 LED C...
Schematic Video:
• How To RGB 8x8x8 LED C...
The Build/Construction Video:
• How To RGB 8x8x8 LED C...
The Code Video:
• How To RGB 8x8x8 LED C...
Check out my Tindie store (trigBoard is available) www.tindie.com/stores/kdcircu...
Thanks to all the Patrons for dropping a few bucks in the tip jar to help make these videos happen!
/ kdarrah
Twitter: / kdcircuits
For inquiries or design services:
www.kdcircuits.com

Пікірлер: 90
@debayandas8896
@debayandas8896 4 жыл бұрын
Evidently, you're REALLY UNDERRATED!!! AMAZING MAN! AMAZING! KEEP IT UP!
@1Patient
@1Patient 10 жыл бұрын
I am learning so much...Bit Modulation, Bit Angle Modulation, who would have guessed, seeing how colors and dimming works....Thanks Kevin, like your microphone, sounds great...
@ThinkCreativ
@ThinkCreativ 11 жыл бұрын
It isn't difficult to stay awake when you are interested in it. :) Even watched them twice or even three times. First, because I was looking for some inspiration, second time because I knew I was going to need it and sometimes the third time to actually make any sense of it, considering I don't really have a background in electronics.
@geneworld
@geneworld 11 жыл бұрын
Love your videos as well as this project, this one did make it a lot better to understand with an example rather than theory! I would love to build one of these some day! Can't wait to see more!
@ThinkCreativ
@ThinkCreativ 11 жыл бұрын
Wow, I did not expect another video on this subject. Thank you a lot for the hours of demonstration and theory. I just ordered my parts on Futurlec. Can't wait to start!
@loveg7330
@loveg7330 2 жыл бұрын
You are a GREAT teacher!
@joshuariddell4550
@joshuariddell4550 10 жыл бұрын
This was really helpful, thanks.
@mriloveethanol
@mriloveethanol 10 жыл бұрын
this is awesome... btw you look like Leonardo Decaprio :O
@zyzzthetics7
@zyzzthetics7 6 жыл бұрын
mriloveethanol true lol
@tomasbadenes
@tomasbadenes 4 жыл бұрын
2019 and this is the best explanation. Incredible!
@RyanJensenEE
@RyanJensenEE 10 жыл бұрын
very cool video! very well explained! bit angle modulation is fascinating!
@knightfire8253
@knightfire8253 11 жыл бұрын
thank you SO MUCH Kevin, for your insight into L.E.D.'s and microcontrollers and Multiplexing and making an L.E.D. cube. you have given me what i need to make my own cube. in fact, i have already made a 4x4x4 test cube i am now going to make an 8x8x8 cube. or TRY to at least. thank you once again for your time and reading this message.
@fabiangiesche7884
@fabiangiesche7884 2 жыл бұрын
Damn im soooo happy ive found your Video!! I want to build my own first RGB Cube an couldnt find anything about how the „dimming“ works… HUGE thanks to you.
@matthewzuber9823
@matthewzuber9823 9 жыл бұрын
This was Awesome!!
@labbytch
@labbytch 9 жыл бұрын
Nice moustache, man
@deishaw4831
@deishaw4831 9 жыл бұрын
Really great video explaining something really really cool!! Explanations were simple enough for anyone with any kind of interest in electronics. If you have an Arduino, then you probably know enough to understand this video and go out there and build one of these.
@SuperTechIT
@SuperTechIT 9 жыл бұрын
Dei Shaw I can honestly say that probably 80% of the people with an Arduino probably couldn't complete this build by hand! LOL! The single colour 8X8X8 cube gave enough people a ton of problems!
@matthewzuber9823
@matthewzuber9823 9 жыл бұрын
I learned a lot, thank you very much
@Kevindarrah
@Kevindarrah 11 жыл бұрын
yea, I suppose you could get creative with where the bits reside and stagger it. I guess you could even have it actively select where it turns on and off so you get a smoother display
@Kevindarrah
@Kevindarrah 11 жыл бұрын
thanks! the update speed is about 8kHz if I remember correctly, but that means each level is called at about 1kHz with an ON time of only 124us.
@grulloc
@grulloc 11 жыл бұрын
Awesome!!!! Thank you so much! I was wondering through watching your videos was are you also using PWM with bit angle modulation for this cube?
@kawrx2002
@kawrx2002 3 жыл бұрын
I made it! Thanks for these tutorial videos. Only thing I did different was stack the boards on top of eachother via hex spacers and placed them underneath the cube. I don't know if you look at these old videos, but have you tried to use the code with the ESP32? I think mine doesn't get to send the full 200 bits. I used the void IRAM ISR for the interrupts.
@beatlessteve1010
@beatlessteve1010 8 жыл бұрын
Kevin, I really like the way you demonstrated the cube as it pertained to multiplexing...I am an ITT-Tech grad..way back from 91' and I have been getting back into project building but it's been close to 15 years since I have worked (or played) in the electronics field, so I do remember fundamentals but am extremely rusty. My question is.. what value is the current limiting resistor you use on the all of the npn transistors connected to the anodes.? the cathodes didn't require one other than the 4k feedback.
@Kevindarrah
@Kevindarrah 11 жыл бұрын
yep, those videos cover that... if you got the time to watch, and stay awake through them!
@jarenhudson9794
@jarenhudson9794 9 жыл бұрын
Thanks that was awesome.
@darknsquirel
@darknsquirel 11 жыл бұрын
Your cable spaghetti is impressive !
@knightfire8253
@knightfire8253 11 жыл бұрын
you are very very welcome. but this truly is a work of art. sorry about your day though. but i mean, nowhere to go but up eh? keep that head up and keep programming/doing whatever it is you do to make your videos so damned intriguing. but i do have a question, if i may, would you prefer using the arduino chip? (i think its atmega something sorry im a bit rusty and dont have a reference right now) or would you prefer using a PIC chip? (i think its either an 8-pin or a 10-pin one)
@ThinkCreativ
@ThinkCreativ 11 жыл бұрын
Start by watching his theory (I believe there is a bit on BAM there) and code video, looking through his code (on his website). It has helped me a lot in understanding. :)
@kentscipione1261
@kentscipione1261 6 жыл бұрын
I've been having difficulty lighting LEDs in multiple columns. Since all my levels are connected via ground, i can't figure out how to get a trailing effect without the column being solid. An animation that experiences this issue would be the transition from an outer cube to an inner cube.
@Kevindarrah
@Kevindarrah 11 жыл бұрын
yes this is a retina. I love it, but I do see the 'ghosting' screen defect people are reporting. I am planning on swapping it out before my first year is over, but other than that this thing is a beast... boot up time is like 8 seconds
@delawarepilot
@delawarepilot 10 жыл бұрын
nice video, good explanation
@Kevindarrah
@Kevindarrah 11 жыл бұрын
thanks! Yea I don't know.... I go both ways with micro controllers. My go-to is the ATMEGA328 running an arduino bootloader because I can crank out projects fast. If I'm in a pinch for space and energy, I might pull out my PIC 12F683 or if I need some serious horsepower I may even run with a Parallax Propellor. And if I need WiFi, I'll go with the Electric Imp, so yea it all depends on how I'm feeling. My geiger counter projecct used an arduino and a PIC!
@Kevindarrah
@Kevindarrah 11 жыл бұрын
thanks man! I needed this comment today... long day at my real job
@Kevindarrah
@Kevindarrah 11 жыл бұрын
love you too! glad the vids are a help!
@ArtemKuchin
@ArtemKuchin 4 жыл бұрын
I loop cycle is the same length in time then you would not get 16 levels with 4 bits, because 5 (1+4) and 6 (2+4) is the same ON time. So, the idea of BAM is that loop cycle time is different for bits (longer for higher bits).
@Kevindarrah
@Kevindarrah 11 жыл бұрын
sweet! Thanks!
@hippynurd
@hippynurd 11 жыл бұрын
I have a little cube that uses a bunch of transistors, and it uses too many pins to use PWM. I think I should try out BAM, but im not sure where to get started.
@joaofonseca4435
@joaofonseca4435 6 жыл бұрын
can give me a list of materials is that I will do an identical job for the end of the course
@vaibhavnayel
@vaibhavnayel 11 жыл бұрын
if you did a 5,5,0 would it mean that the green and red leds would come on at the same time even in slow motion?
@Kevindarrah
@Kevindarrah 11 жыл бұрын
your welcome, thanks!
@Kevindarrah
@Kevindarrah 11 жыл бұрын
wow, sounds like you're on to something there
@djbare9
@djbare9 8 жыл бұрын
How many data lines are needed for 8x8x8 RGB?
@sMartcreations2010
@sMartcreations2010 11 жыл бұрын
Thanks , now it is clear to me :-)) Thanks 4 sharing Greets M
@Kevindarrah
@Kevindarrah 11 жыл бұрын
check out the build vid
@ryanarmstrong7785
@ryanarmstrong7785 9 жыл бұрын
I love your vids and that led cube but i America trying to replicate it and I am confused about all those transistors and do I need them? Thanks😎
@SuperTechIT
@SuperTechIT 9 жыл бұрын
Ryan Armstrong You can use my PC Boards. Way less parts, same basic code, plus access to much more code on other microcontrollers. www.TheLEDCube.com
@Kevindarrah
@Kevindarrah 11 жыл бұрын
yep, thanks
@mabdo88
@mabdo88 10 жыл бұрын
if i use 8 bit angle modulation i'll use 8 arrays of red,green,red each right ? and in the BAM_Counter i will increment the BAM_Bit every 8-24-56-120-247-503-1015 and reset at 2040 please answer me i learnt alot from this videos and i think sharing these information is really cool from you :)
@mabdo88
@mabdo88 10 жыл бұрын
Kevin Darrah
@rainbowsalads
@rainbowsalads 11 жыл бұрын
would need a moderator to check the messages, before up load to the cube though. :) You could have a juke box connected also, so people can select a song for the cube to sync too.
@Kevindarrah
@Kevindarrah 11 жыл бұрын
Kind of, but not really. The multiplexing is like PWM as each Level has a duty cycle of 1/8 but I am controlling brighness purely through BAM
@pokebattle7959
@pokebattle7959 3 ай бұрын
you are the best
@ThinkCreativ
@ThinkCreativ 11 жыл бұрын
I don't believe the 74HC595 Shift registers allow Pulse Width Modulation. So, I think he only uses Bit Angle Modulation to control the brightness. Also, if you go through his code, you see he only sends out 0s and 1s. :-)
@AlanTubeMan
@AlanTubeMan 10 жыл бұрын
re: Michael Braverman >>Does anyone know what update rate is necessary to make your eyes get tricked? It varies a little by person, but most people lose the flashing sensation at between 17 and 20 changes per second. At those rates most people can perceive flicker when using their side vision, but up it to 30 per second and I doubt anyone can.
@jdepratti
@jdepratti 11 жыл бұрын
How did you construct the 8x8x8?
@dax2321
@dax2321 10 жыл бұрын
can you buy thes led cubs on line
@quintonmarcus
@quintonmarcus 8 жыл бұрын
Hey, very nice Project... I think for me... Id have to wait a bit before I try this, but it seems very interesting!... for now Im doing something much simpler, and was wondering if you could Point me in the right direction.. I am Building a X=30 Y=20 Matrix. Totalling 600 LEDs. (LEDS=WS2811 RGB Strips.) I want to create a star ceiling. I will be attaching the ´stars´ to the LEDS as Plastic Fibre Optics... in other words, I will be bundling about 5 plastic optic Fibres together, and attaching them to each LED... meaning I will have 3000 stars. I want to Control the stars via remote Control, so that I can perhaps have about 12 Buttons.. each button could be a constellation. So when I press the desired constellation, the LEDs would Change according to the configuration. Can you recommend a way of programming this with Arduino? Thanks.
@enna6591
@enna6591 9 жыл бұрын
Im sure that using the TLC5940's would've saved you alot of time.
@WoodmanFFM
@WoodmanFFM 6 жыл бұрын
Actually, what you're doing isn't real bit angle modulation, but rather standard PWM - even though you're trying to distribute the on times. The idea of bit angle modulation is that the period for the higher bits is longer than for the lower bits, therefore reducing the number of cycles necessary. For your cube, using 4bit brightness, you'd have to have 4 different cycle lengths (8, 4, 2 and 1) and would therefore need a lot less cycles. Your cube is pretty awesome nonetheless... ;-)
@rainbowsalads
@rainbowsalads 11 жыл бұрын
How about a large LED cube in a shopping centre/mall that peope can txt by phone and donate to charity in the process ? say 20 percent for running costs?
@surenbono6063
@surenbono6063 11 ай бұрын
....wow...if you perfect the algorithm..than you have invented a 5D TV... Imagine ..a big t Rex walking show at night...with sound
@Robohac01
@Robohac01 9 жыл бұрын
Well this is much better explained than your code Video :) reat work, i think ill attempt to build a small version of this :) lets say 4*4*4 thats not that insain :)
@jakubracek3562
@jakubracek3562 10 жыл бұрын
What sorcery is this?
@Kevindarrah
@Kevindarrah 11 жыл бұрын
haha, yea this thing is a beast
@stephangosselsberger9861
@stephangosselsberger9861 11 жыл бұрын
no i dont mean that so i mean that when you have the full power, the leds are always on in one period of multiplexing. but what you do whenyou wanna light up all colors at full power ? you cant light every color in the row at the same time on ?
@stephangosselsberger9861
@stephangosselsberger9861 11 жыл бұрын
hey ! whyt you do, when you wanna light all colors (r,g,b) in on row at the maximum power ?
@Kevindarrah
@Kevindarrah 11 жыл бұрын
just 15,15,15
@rainbowsalads
@rainbowsalads 11 жыл бұрын
you could text your name to the cube , or a message for a loved one. : )
@Kevindarrah
@Kevindarrah 11 жыл бұрын
hehehe, I know. It's ugly, but I love it
@mandykal
@mandykal 11 жыл бұрын
Did u go to school for this?
@Watswat5
@Watswat5 10 жыл бұрын
So, ultimately, multiplexing isn't a great solution for large cubes. The larger the cube, the dimmer the highest level brightness of the LEDs. Combine that with the fact that this is an RGB LED cube, with essentially THREE TIMES the LEDs as a single color 8x8x8 cube. Eventually, it will become better to have an IC with more output pins, or to use shift registers to add output pins.
@salemcripple
@salemcripple 10 жыл бұрын
wow, the only thing this video did was make me feel really fucking stupid lol. Give me a car, and a welder, and i can do amazing things. Computers are all black magic and voodoo lol.
@Xilurous
@Xilurous 10 жыл бұрын
Aha give me a car and a welder and i'll find some way to break both
@officialanoopkumar
@officialanoopkumar 8 жыл бұрын
go on ride in your car to your home (DUMBVILLE)
@matty35644853
@matty35644853 9 жыл бұрын
hey dude, would you be interested in selling that?? xD really wan't one but it's a little out of my capability, lol just reply to my comment, i don't check my inbox.
@roboboy1595
@roboboy1595 10 жыл бұрын
Thanks, Leonardo DiCaprio Jr. !!
@FPRESLEY1
@FPRESLEY1 10 жыл бұрын
HUH??? This is so over my head, and why i'm not a software engineer. Or whatever this is for... is cool though.
@cpobyrne1
@cpobyrne1 8 жыл бұрын
looks great, but I can't follow. I'm an LED dunce
@3sc4p1sm
@3sc4p1sm 4 жыл бұрын
Why not just change clock rate rather than slow motion camera.. lol
@Zack-dk3pt
@Zack-dk3pt 7 жыл бұрын
and i thought my rats nest was bad
@ryanarmstrong7785
@ryanarmstrong7785 9 жыл бұрын
Sorry auto spell "am" not "American"
@LucasLAMY
@LucasLAMY 7 ай бұрын
Don't really care about dimness and more about how it works to chose a led.. Bit sad.
@jetlorider
@jetlorider 11 жыл бұрын
u lost me at 0
@brianj92505
@brianj92505 8 жыл бұрын
this guy is a horrible teacher, can't follow him at all.
@ewanlister9262
@ewanlister9262 8 жыл бұрын
+Brian Johnson What don't you understand that he said?
Making a 8x8x8 RGB LED Cube
12:16
yotudero
Рет қаралды 40 М.
How To RGB 8x8x8 LED CUBE - The BUILD!
28:12
Kevin Darrah
Рет қаралды 561 М.
1❤️#thankyou #shorts
00:21
あみか部
Рет қаралды 75 МЛН
Кәріс өшін алды...| Synyptas 3 | 10 серия
24:51
kak budto
Рет қаралды 1,3 МЛН
Заметили?
00:11
Double Bubble
Рет қаралды 3,6 МЛН
Controlling a BIG LED Matrix?! How Shift Registers work! || EB#39
12:33
Construction of an 8x8x8 RGB LED Cube. Part 6: Cube Final Assembly
8:47
How To RGB 8x8x8 LED CUBE - The CODE!
31:14
Kevin Darrah
Рет қаралды 127 М.
Build your own RGB LED Cube Part 1: the cube and case
6:40
GreatScott!
Рет қаралды 332 М.
Show and Tell: Hypnocube LED Cube!
2:28
Adam Savage’s Tested
Рет қаралды 149 М.
How to Multiplex an LED Grid...
7:39
SRGam3r
Рет қаралды 70 М.
How to make a 8x8x8 LED Cube at Home
16:49
Tapendra Mandal
Рет қаралды 1,6 МЛН
Make your own SIMPLE 5x5x5 RGB LED Cube (Part 2)
7:01
GreatScott!
Рет қаралды 359 М.
How To RGB 8x8x8 LED CUBE - THEORY
45:56
Kevin Darrah
Рет қаралды 89 М.
3D Spectrum Analyser (1280 LEDs) - MAKING OF
22:57
Pianistos
Рет қаралды 2,3 МЛН
Mi primera placa con dios
0:12
Eyal mewing
Рет қаралды 719 М.
Настоящий детектор , который нужен каждому!
0:16
Ender Пересказы
Рет қаралды 263 М.
Samsung S24 Ultra professional shooting kit #shorts
0:12
Photographer Army
Рет қаралды 14 МЛН
С ноутбуком придется попрощаться
0:18
Up Your Brains
Рет қаралды 440 М.