I Made An LED Cube The Weird Way

  Рет қаралды 10,832

David Fricke

David Fricke

Күн бұрын

This video is about the Charlieplexed matrix/ normal matrix hybrid LED cube I made. It covers the problems I had as well as the colorful end result.
Chapters
0:00 Intro
0:41 Main Idea
1:04 Charlieplexing
5:05 Using a Raspberry Pi
5:58 Constructing the Hardware
7:07 Problems with Programming
8:40 Results
#3dprinting #arduino #raspberrypi #diy

Пікірлер: 52
@m.sierra5258
@m.sierra5258 Ай бұрын
You completely skipped over one important detail: Dimming! Your explanation only shows how to switch the colors on and off, but how did you dim them? Pulse length for every LED?
@The3Doomer
@The3Doomer 21 күн бұрын
just PWM, why not
@nous404
@nous404 13 күн бұрын
For a Charlie plexed cube you can only have basically one LED lit at any point in time, you just have to very quickly loop over all the LEDs that need to be lit and give each one a small windows to be visible. Then rely on persistence of vision to make it look like they are all active at once. To dim an LED you just need to turn it on for less time or skip it for some update cycles. You cannot use PWM for this, each pin needs to be controls many LEDs and it is toggled in a non regular period. Note that because of this all the LEDs are quite dim to start with as they are only ever on for a fraction of the time.
@kosi2801
@kosi2801 5 күн бұрын
This question also came to my mind as it was one (of a few) issues that I also could not solve when I attempted to build a LED cube 10 years ago using a Raspi of the first gen. I also hit the activity flickering issue, but could solve it with OS priority settings (was about to switch to Realtime Linux at a later point for higher reliability). In the end I was unable to solve that dimming issue as with higher "framerate" to simulate PWM (or rather BAM) modulated dimming I got stuck with some sort of "phantom" issue, where the previous LED I had active was not turning off fast enough. Until today I could not solve that issue but I still have learned one bit or another over the years to undertake a new attempt, if I had the time nowadays 🙂 Great project and explanation!
@tiagoferreira086
@tiagoferreira086 Ай бұрын
I never did a led cube but i feel the pain you went trough...
@ChrisFredriksson
@ChrisFredriksson Ай бұрын
So fun to watch again! I remember when these first came out, just a few people over the world got one that they built in like a month or so.. I wanted to build one, I probably could have, but never got around to do it. But really great fun to watch one again, I love these! Great job and Great video! ❤
@kaoshavoc
@kaoshavoc Ай бұрын
I have only ever idly thought of doing this, and trust me, I would probably have never done it, but the thought has helped me stay awake a night or two. This is freaking awesome, and I don't know how you don't have a ridiculous amount of views by now. You have scratched an itch by brain had but could not provide the spoons for. Thank you.
@IronLungProductionsOfficial
@IronLungProductionsOfficial 2 ай бұрын
Awesome work! The lightshow was mesmerizing to watch!
@concreteeeEEE
@concreteeeEEE 2 ай бұрын
Wow, this is a really cool project. I cant imagine having to do that soldering job, good work :)
@jainvibhore1997
@jainvibhore1997 Ай бұрын
Amazing work dude! Looks so pretty! Keep it up!
@markeverett1393
@markeverett1393 Ай бұрын
Write it bare metal in forth. There would be no flickering and the processor would have plenty of cycles available.
@Sysshad
@Sysshad 4 күн бұрын
What you and most people today call "more difficult" was the standard on how the first cubes was made :P
@MaltWhiskey
@MaltWhiskey 7 күн бұрын
Indeed a weird way to make an led cube. You sure are original by making a 5 high instead of a 4 high cube, the 4 high makes for very elegant charlieplex wireing. The teensy 4 is way to powerful and expensive for this. A couple of transistors/mosfets and multiplexing combined with chalieplexing on the esp32 to reduce pins would have made more sense maybe?
@FiveFiveFiveFourOhOneSeven
@FiveFiveFiveFourOhOneSeven Ай бұрын
Excellent, David!
@airfriedquadsbw
@airfriedquadsbw Ай бұрын
I made a 16 x 16 x 16 led cube. Thats over 4100 solder joints once the bottom plane is attached to the board, and the wires are run to each plane. So ya, thats alot of soldering. And a lot of set up for each, and then debugging was not alot of fun. But it did turn out very cool.
@pp3v42_g3h
@pp3v42_g3h 21 күн бұрын
3:16 You could have made it a 19*20 matrix and not use an extra multiplexed part, wiring would be a bit harder, but still doable, because you can just split the 20 to 15+5
@Bianchi77
@Bianchi77 7 күн бұрын
Nice video, thank you :)
@Celesmeh
@Celesmeh 2 ай бұрын
This is really dope I would love to see you build something in a VIDEO- like set up a camera and build it!
@frickes_projects
@frickes_projects Ай бұрын
Yeah 😂. That's definitely the plan moving forward, but for these first few videos, the projects were already done when I decided to do a video.
@Parz9
@Parz9 2 ай бұрын
nice job david keep it up
@rrohbot
@rrohbot Ай бұрын
The cube looks awesome. What's the intro music?
@ThisRandomGuyYouDidntNotice
@ThisRandomGuyYouDidntNotice Ай бұрын
yeah guess every maker tried to do some real time computing on a raspberry at some point, for me it was a remote controlling a rc paramotor over wifi or bluetooth but as you found out too, constantly getting your code interrupted by an OS can be a real pain :D
@anotherguycalledsmith
@anotherguycalledsmith Ай бұрын
For an American, you have quite an Italian body language ;-) Looks _really_ great, thank you very much. I think making this cube somewhat larger would make it look even better… I looks rather dense, these LEDs are so strong that they would optically still work fine with more space around them - and make soldering somewhat more ”pleasant“ (if you can say so for 500+ soldering spots ;-)
@anotherguycalledsmith
@anotherguycalledsmith Ай бұрын
@@mal2ksc Yes, I already saw that ;-) I know that it is already an awful lot of work, but investing the additional time and material would be beneficial for the project. There are some guys here on KZbin presenting this as a kind of “artistic light installation”… And to have a whole m3 of it in the middle of your living room makes it really stunning. I myself hate this kind of never-ending work and try to avoid it, but if somebody even goes this _extra_ mile… ;-)
@TheCatherineCC
@TheCatherineCC Ай бұрын
Very cool
@___aZa___
@___aZa___ Ай бұрын
frickin cool!
@BariumCobaltNitrog3n
@BariumCobaltNitrog3n 27 күн бұрын
I forgot I have epilepsy and woke up on the porch naked. My house doesn't have a porch. My name is Charlie so I guess I got Charlieplexed.
@mechticulous8202
@mechticulous8202 25 күн бұрын
That's Frickin Awesome!😅
@murraymadness4674
@murraymadness4674 11 күн бұрын
Is this because it was 2020 and you could not get any parts at all to do this the right simple way? A simple ws2812 string requires one pin for all leds..Or the PL9823 leds that are not smd
@paulsengupta971
@paulsengupta971 Ай бұрын
Nice!
@WacKEDmaN
@WacKEDmaN Ай бұрын
this is the standard arduino setup...charlieplexed... ive still got my 4x4 cube sitting here i built in 2014...(i would have made more but..didnt have the leds on hand) you should really be using transistors on each row to power the leds otherwise you can burn out the mcu's gpio pin circuitry... ...you almost have a nice grid there to be able to make letters, numbers and symbols on the faces....
@generationalgamers8925
@generationalgamers8925 Ай бұрын
rotate the cube in the results or at least pan back and forth
@glowytheglowbug
@glowytheglowbug 2 ай бұрын
very cute :D
@Ernzt8
@Ernzt8 Ай бұрын
You really put your teeth in this project. Nice result!
@irkedoff
@irkedoff Ай бұрын
@woodzyfox4735
@woodzyfox4735 Ай бұрын
I wonder how one could make a 50x50 led cube :o
@Jdbye
@Jdbye Ай бұрын
You save a lot of pins, but you can only light up a single LED at a time rather than an entire row, reducing brightness significantly. Additionally, it makes the wiring and code more complicated, and unintuitive. Generally, I don't think the tradeoff is worth it, when both microcontrollers with a higher pin count and shift registers are cheaply available. Soldering a LED matrix is already annoying enough with conventional multiplexing. An Arduino Mega, for example, has more than enough pins for this purpose, and the clones are cheap.
@flipschwipp6572
@flipschwipp6572 29 күн бұрын
Thought the same, its unneccessary complex design bringing unneccesary drawbacks. Just shift reisters for the colums and you can live with using 8 pins for a 5x5x5 matrix
@trepidati0n533
@trepidati0n533 29 күн бұрын
@@flipschwipp6572 It is just a proverbial "thought experiment", the world gets pretty boring when everyone always converges on what, at the time, is optimal. No different than the guy who calculates pi with relays.
@SenorDerpyHooves
@SenorDerpyHooves 23 күн бұрын
kzbin.info/www/bejne/l3PUc6p6rK2qi8U mouse? would the Pi Zero W have been able to do the job if not running a GUI?
@zame2476
@zame2476 Ай бұрын
if you now put it inside a milky glass case. Imma subscribe
@nicolasfiore
@nicolasfiore Ай бұрын
Dude your head bobbles like Ron Desantis'
@User0000000000000004
@User0000000000000004 Ай бұрын
An LED Cube
@frickes_projects
@frickes_projects Ай бұрын
You're right. Thanks! I didn't know that.
@kevinperillo
@kevinperillo Ай бұрын
Nice project, but where was the complex part? Turning the leds on by put them into a matrix is the most simplest way I know 😅 Why not using a adressable leds and set the color via spi dma which can run in the background of the mcu? Sounds way more complicated than a led matrix . And you can do other stuff with the mcu 🙂
@Sonnell
@Sonnell Ай бұрын
So, it was easy for you at the first time? Or for anyone who is starting out with this? I see your comment more as loathing than kind and helpful.
@fritzlb
@fritzlb Ай бұрын
It may sound more complicated, but if you do something like that, you’re probably going to use libraries for the software, right? This in theory can be done without all of that. Also, using ws2812b only requires one wire going through all leds, so the wiring is a lot more simple
@kevinperillo
@kevinperillo Ай бұрын
@@fritzlb that is the complex part, not using existing Libaries some one already did. You have to read the datasheets, set the registers right. Especially if you have to read the reference datasheet, the device datasheet and multiple application notes to get all informations you need.
@fritzlb
@fritzlb Ай бұрын
Only setting the registers isn't that hard or complex, also there are enough tutorials online for common architectures Completely bitbanging the ptotocol in asm might be a challenge tho
@jtreg
@jtreg Ай бұрын
adhd cube.stop moving you are making me sick man
@sigrice
@sigrice Ай бұрын
Subscribed!
3 Cool DIY Projects I Found On The Internet
18:01
David Fricke
Рет қаралды 3 М.
World's First SCREW-BIKE
23:04
James Bruton
Рет қаралды 1,6 МЛН
白天使和小丑帮助黑天使。#天使 #超人不会飞 #超人夫妇
00:42
CAN FOXY TRICK HIM?! 🤣 #shorts *FOXY AND NUGGET!*
00:17
LankyBox
Рет қаралды 11 МЛН
Bizarre traveling flame discovery
14:34
Steve Mould
Рет қаралды 3 МЛН
What Happens When You Wire Speakers Backwards?
7:51
Audio University
Рет қаралды 1 МЛН
How I Made My Own Plasma Toroid
9:17
Kibly Built It
Рет қаралды 6 М.
Battle of the Zeros
19:44
Maker by Mistake
Рет қаралды 33 М.
Brick Layers - Why did no one do this before?
11:18
CNC Kitchen
Рет қаралды 949 М.
Building a Relay-Powered Pi Machine
17:35
The Science Elf
Рет қаралды 209 М.
We should use this amazing mechanism that's inside a grasshopper leg
19:19
Making Infinity LED CUBE
18:48
Mecharms
Рет қаралды 11 М.
Uncovering The Genius of Fibonnaci Turbines
17:42
Ziroth
Рет қаралды 510 М.
Я Создал Новый Айфон!
0:59
FLV
Рет қаралды 1,9 МЛН
Result of the portable iPhone electrical machine #hacks
1:01
KevKevKiwi
Рет қаралды 7 МЛН
Samsung or iPhone
0:19
rishton_vines😇
Рет қаралды 379 М.
Компьютер подписчику
0:40
Miracle
Рет қаралды 206 М.