I Made An LED Cube The Weird Way

  Переглядів 11,422

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
@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! ❤
@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 Місяць тому
just PWM, why not
@nous404
@nous404 23 дні тому
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 14 днів тому
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!
@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!
@tiagoferreira086
@tiagoferreira086 Місяць тому
I never did a led cube but i feel the pain you went trough...
@jainvibhore1997
@jainvibhore1997 Місяць тому
Amazing work dude! Looks so pretty! Keep it up!
@concreteeeEEE
@concreteeeEEE 2 місяці тому
Wow, this is a really cool project. I cant imagine having to do that soldering job, good work :)
@markeverett1393
@markeverett1393 Місяць тому
Write it bare metal in forth. There would be no flickering and the processor would have plenty of cycles available.
@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.
@Bianchi77
@Bianchi77 16 днів тому
Nice video, thank you :)
@rrohbot
@rrohbot Місяць тому
The cube looks awesome. What's the intro music?
@murraymadness4674
@murraymadness4674 20 днів тому
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
@Parz9
@Parz9 2 місяці тому
nice job david keep it up
@MaltWhiskey
@MaltWhiskey 16 днів тому
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?
@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.
@pp3v42_g3h
@pp3v42_g3h Місяць тому
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
@Sysshad
@Sysshad 13 днів тому
What you and most people today call "more difficult" was the standard on how the first cubes was made :P
@TheCatherineCC
@TheCatherineCC 2 місяці тому
Very cool
@___aZa___
@___aZa___ Місяць тому
frickin cool!
@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
@paulsengupta971
@paulsengupta971 Місяць тому
Nice!
@mechticulous8202
@mechticulous8202 Місяць тому
That's Frickin Awesome!😅
@irkedoff
@irkedoff Місяць тому
@Ernzt8
@Ernzt8 Місяць тому
You really put your teeth in this project. Nice result!
@generationalgamers8925
@generationalgamers8925 Місяць тому
rotate the cube in the results or at least pan back and forth
@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....
@glowytheglowbug
@glowytheglowbug 2 місяці тому
very cute :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 UKposts 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… ;-)
@BariumCobaltNitrog3n
@BariumCobaltNitrog3n Місяць тому
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.
@SenorDerpyHooves
@SenorDerpyHooves Місяць тому
ukposts.info/have/v-deo/mXKidq17rn6otpc.html mouse? would the Pi Zero W have been able to do the job if not running a GUI?
@woodzyfox4735
@woodzyfox4735 Місяць тому
I wonder how one could make a 50x50 led cube :o
@nicolasfiore
@nicolasfiore Місяць тому
Dude your head bobbles like Ron Desantis'
@zame2476
@zame2476 Місяць тому
if you now put it inside a milky glass case. Imma subscribe
@User0000000000000004
@User0000000000000004 Місяць тому
An LED Cube
@frickes_projects
@frickes_projects Місяць тому
You're right. Thanks! I didn't know that.
@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 Місяць тому
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 Місяць тому
@@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.
@kevinperillo
@kevinperillo 2 місяці тому
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 2 місяці тому
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 2 місяці тому
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 2 місяці тому
@@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 2 місяці тому
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!
You’ve Never Seen WiFi Like This
20:43
Data Slayer
Переглядів 365 тис.
ШАХТАР - ДИНАМО. КОМЕНТУВАННЯ. УПЛ. 28 ТУР
4:04:31
3 Cool DIY Projects I Found On The Internet
18:01
David Fricke
Переглядів 3,8 тис.
From blink to DIY Mini Game - Charlieplexing explained
15:12
bitluni
Переглядів 118 тис.
How I Made My Own Plasma Toroid
9:17
Kibly Built It
Переглядів 7 тис.
Make Dumb Electronics Smart for $3
13:13
I Like To Make Stuff
Переглядів 371 тис.
Making Infinity LED CUBE
18:48
Mecharms
Переглядів 11 тис.
I tried to make a camera sensor
30:00
Breaking Taps
Переглядів 350 тис.
Bizarre traveling flame discovery
14:34
Steve Mould
Переглядів 3,2 млн
Building a Mini Vegas-Sphere
7:16
Carl Bugeja
Переглядів 689 тис.
Your Powerbank has 1 BIG Problem! (That we can "Hack")
12:13
GreatScott!
Переглядів 339 тис.
Tiny volumetric display
5:23
mitxela
Переглядів 2,5 млн
Xiaomi Note 13 Pro по безумной цене в России
0:43
Простые Технологии
Переглядів 301 тис.
поворотний механізм для антени
0:17
Lazeruk
Переглядів 14 тис.
поворотний механізм для антени
0:17
Lazeruk
Переглядів 14 тис.
Phone charger explosion
0:43
_vector_
Переглядів 48 млн