3D Printed LED Infinity Cube Using FastLED, Arduino and ESP32

  Рет қаралды 150,026

Scott Marley

Scott Marley

Күн бұрын

A while ago I spotted this tiny USB strip, and thought I should make it into an infinity cube. Thankfully I didn't know at the time what a pain it would be to make. Howeve, the end result is really nice - KZfaq's compression algorithms really don't do it any favours!
GitHub link for code: github.com/s-marley/Infinity-...
Ultra-skinny LED tape from one of the following:
Adafruit (US) - www.adafruit.com/product/4368
PiHut (UK) - thepihut.com/products/ultra-s...
Alibaba (Worldwide) - ipixelleds.en.alibaba.com/pro...)
If you've found this useful and you'd like to support me to create more stuff, you can now buy me a coffee: www.buymeacoffee.com/scottmarley or buy something from Amazon UK or US at the links below. As an Amazon Associate I earn from qualifying purchases from the links below. It doesn't cost you any more and it helps me to keep making videos!
Amazon UK
Three pack of ESP32: amzn.to/2JDCtFX
Acrylic mirror (A4): amzn.to/2JDDgXr
Amazon US
Two pack of ESP32: amzn.to/3oaCccu
Acrylic mirror (12"x12"): amzn.to/3o8x5Kb
00:00 - Intro
00:40 - Hardware build
04:10 - Electronics
05:07 - Software
07:05 - Outro

Пікірлер: 206
@jarchdm
@jarchdm 3 жыл бұрын
I'm currently working through your fast led videos. They are excellent. It will be some time before I try to tackle this kind of cube ,but it looks really good. Thanks for sharing.
@nicholassummerlee6843
@nicholassummerlee6843 3 жыл бұрын
Just stumbled upon your channel. Finally a good series of videos on individually addressable rgb projects. Bravo mate.
@ben_r_
@ben_r_ Жыл бұрын
Very well done for such a small build! You nailed it!
@jamesledcube5827
@jamesledcube5827 3 жыл бұрын
Awesome video and awesome result. Really well explained and demonstrated. Would definitely love to see you do a bigger one with ws2812’s, would give that a go for sure! Keep the great content coming, happy new year.
@ScottMarley
@ScottMarley 3 жыл бұрын
Cheers, a bigger one would be much easier!
@ChiefPoints
@ChiefPoints 3 жыл бұрын
Love the result, great job. I think this definitely moves to my "will build" list, and maybe move it up to full size LED tape for a larger cube. Thanks for sharing, take care!
@ScottMarley
@ScottMarley 3 жыл бұрын
If you're going to do this, go for a bigger one. It would be much less hassle to put together. On the other hand, I quite enjoyed the challenge of making this work ;) some people just wrap the tape around the inside of the cube, but you don't get the nice sharp corners that you do if you cut it into sections and wire it together. Each to their own though.
@ChiefPoints
@ChiefPoints 3 жыл бұрын
@@ScottMarley Thanks for the tips, like you, I always try to make my projects look as neat as possible. I enjoy the challenge of going that extra step to find the shortest wiring paths with my LED projects, for both looks and better power distribution.
@farzadbakhtiar
@farzadbakhtiar 3 жыл бұрын
Thanks for another great project and video. Your series on vu meters got me hooked and I’ve done a few sound reactive projects since then. I recently discovered the sound reactive fork of WLED and am playing with that as well. Would love to see a video on it from you.
@ScottMarley
@ScottMarley 3 жыл бұрын
That will probably be my next video :)
@kitemanmusic
@kitemanmusic 2 жыл бұрын
You have done a fantastic job with this!
@DJ-Daz
@DJ-Daz 3 жыл бұрын
As a DJ, I approve this video 😀 As a DJ, I can't wait for the sound reactive video. 😀
@LeonMOOK
@LeonMOOK 3 жыл бұрын
Puts hand up for that Djing job :-D
@ScottMarley
@ScottMarley 3 жыл бұрын
Yeah, sorry @DJ-Daz. I already have an on-call DJ for showing off my creations ;) @LeonMOOK
@Preske
@Preske 3 жыл бұрын
I have been looking for ages for proper acrylic mirrors like this for a regular infinity mirror. I tried a couple of films but they were horrible or didn't work as needed. Great stuff Scott. Love your projects.
@ScottMarley
@ScottMarley 3 жыл бұрын
Thank you, definitely go for this stuff, though be careful if you need to cut it, and score it along the aluminium-ised side before you snap it!
@Coltography
@Coltography 3 жыл бұрын
Such a cool project, I've been trying to think of how to make a modular frame for an infinity cube like this and you've definitely got my brain going. Super well done and excellent explanation! Wouldn't want to deal with pixels that small, ever!! Haha
@ScottMarley
@ScottMarley 3 жыл бұрын
I was originally thinking of a modular design, but eventually I decided it was too complicated and went for this instead. If you manage to sort one out (maybe PCBs that can snap together?), do let me know!
@anonymoususer900
@anonymoususer900 3 жыл бұрын
@@ScottMarley Wow pcb snapping is truly an awesome idea.....i will surely try to create the Gerbers.....if I am successful I would be happy to give them to you as I can't further continue due to lack of equipment
@ScottMarley
@ScottMarley 3 жыл бұрын
@@anonymoususer900 There are two main options for doing this with PCBs. One is to have a bunch of different designs for the edges that only go together one way. The other is to make each side generic, then have some way to specify the routing of the signal at each junction. Either way, it's not an easy problem to solve (or at least it wasn't for me!). Good luck!
@anonymoususer900
@anonymoususer900 3 жыл бұрын
@@ScottMarley well I ll try my best.....thanks by the way!!
@dmcalonan1359
@dmcalonan1359 6 ай бұрын
This is the most badass cube, fricken awesome, and marketable!
@Xraller
@Xraller 3 жыл бұрын
Wow! Very cool. Think I will have to give this a go.
@jouki1129
@jouki1129 3 жыл бұрын
Oh yeeea i would be so happy with some Sound visualization ideas😍😍
@basem99h
@basem99h 3 жыл бұрын
You really snd definitely deserve more subscribers I wish you to hit 1M subscribers asap
@ScottMarley
@ScottMarley 3 жыл бұрын
I think there's a long way to go until I get to 1M!
@jouki1129
@jouki1129 3 жыл бұрын
True🥺🥺🥺
@TheMysticChaosifiers
@TheMysticChaosifiers 3 жыл бұрын
This was a great video! I’ve just finished making a Rhombic dodecahedron infinity mirror, and would thoroughly recommend it!!
@ScottMarley
@ScottMarley 3 жыл бұрын
Great! Do you have a video?
@TheMysticChaosifiers
@TheMysticChaosifiers 3 жыл бұрын
@@ScottMarley Sadly not, I’m thinking it would be worth talking through how I made it on video! There’s a picture on my Instagram @thomasmalachihall if you want to check it out
@TheDradge
@TheDradge 2 ай бұрын
Great end result!
@paulkassenaar9474
@paulkassenaar9474 3 жыл бұрын
Wauw it looks impressive!!
@dhruv1067
@dhruv1067 2 жыл бұрын
This is simply brilliant !
@myles4652
@myles4652 3 жыл бұрын
Awesome video, I think I'm gonna give it a try!
@joelmiltoncontrerasccahuan5258
@joelmiltoncontrerasccahuan5258 Жыл бұрын
Excelente video y demostración
@yajuvendrasinghrajpurohit7888
@yajuvendrasinghrajpurohit7888 Жыл бұрын
It looks amazing
@rondlh20
@rondlh20 4 ай бұрын
Looks great!
@TrentSheather
@TrentSheather 3 жыл бұрын
Awesome build, thanks for taking the time to explain the challenges and what you would do differently. I only found your channel today and will be putting the mirrors in my own infinity cube this afternoon.
@ScottMarley
@ScottMarley 3 жыл бұрын
Welcome aboard and good luck with your project!
@ArtifySlides
@ArtifySlides 2 жыл бұрын
Thank you very much. This is the first project what i build. Love it, great Video
@ScottMarley
@ScottMarley 2 жыл бұрын
Don't build this for your first project, it's very difficult!
@tomladdus9264
@tomladdus9264 Жыл бұрын
it's beautiful.
@Tat2today
@Tat2today Жыл бұрын
Edit: I see where to get the data, thanks. Very well done the coding for the smooth transitions is incredibly frosty!!! Will you have this available for others?
@rewi.alchemy
@rewi.alchemy 2 жыл бұрын
Awesome. Your videos are fantastic, thanks
@ScottMarley
@ScottMarley 2 жыл бұрын
Thank you, that's very kind
@astronomiahoy264
@astronomiahoy264 11 ай бұрын
Super. excelente idea.
Ай бұрын
Love it!!
@owens.1544
@owens.1544 3 жыл бұрын
There are 6 one way mirrors attached to all sides.
@ScottMarley
@ScottMarley 3 жыл бұрын
Yes
@Richie_
@Richie_ 2 жыл бұрын
I don't have a 3D printer yet. It's on my list. I will be making this for sure.
@WanderFeetChronicles
@WanderFeetChronicles Жыл бұрын
Aww man this is amazing. Wish you were selling them. I’d have two!
@calebjohn6159
@calebjohn6159 3 жыл бұрын
id love to see the sound reactive one!
@DEINHODE
@DEINHODE 3 жыл бұрын
Yes that would be very nice :D
@adminos15
@adminos15 3 жыл бұрын
amazing
@donghocongnghe
@donghocongnghe Жыл бұрын
Good Job
@chrissavage5966
@chrissavage5966 Жыл бұрын
I may come to regret this....but inspired by just how good this looks, I'm having a stab...but using 4mm wide LED strip with double the density (300LED/m), and only 12 LEDs per side to keep costs down (a 50cm strip has 150 LEDs, so 12 x 12 works from one 50cm section). I've tweaked the cube drawing in Fusion to suit a 40mm LED strip length so it'll be 'interesting' to see how it looks...... LEDs and ESP arrived in the post today, code tweaked for 12 LEDs per segment and all good. Cube now printing...... All credit to Scott for doing a parametric design by the way - only had to adjust a few values to re-size it. Only fiddle was with the 'pips' on the joints, but easily sorted. The LEDs I bought have all 3 connections on the underside...so this should be 'fun' :) If this proves too awkward fro my aging eyes, I may well scale it up and use more sensibly sized LEDs. I'm sure there is an optimum for LEDs/cm vs size of cube to get the best visual impact. Anyhoo, thank you Scott, for sharing this awesome design. I've never used an ESP32 before, only the odd Arduino project. Using Arduino IDE V2, no issues with making a very simple tweak to the code, although when uploading I had to reduce the "upload speed" to 115200 and the "Flash frequency" to 40MHz to get it to program. I do have some modest experience with the 3D printing so that's all fine, although these are some small parts compared to my usual output.
@ScottMarley
@ScottMarley Жыл бұрын
Best of luck, I hope this works for you!
@chrissavage5966
@chrissavage5966 Жыл бұрын
@@ScottMarley Have to say, I love the way those LEDs look with your code. I've just fired up the entire strip for now to see how it looked and how it worked with 12 LEDs per segment. Thanks again for the inspiration and effort to make it easy for folks like me ;)
@billcameron7980
@billcameron7980 Жыл бұрын
good job
@Badkitty24
@Badkitty24 2 жыл бұрын
Just started 3D printing my cube an base...ordered the wrong lights (waterproof) waiting for non-waterproof then it's GO TIME ! update: Finished it. Though i changed my design a bit. i kept the W2812B controller in-line to control colors. I created 160mm long hollow triangular tubes to fit into each edge for strips to mount on. I 3D printed them. They're hollow to allow the data line to go backward to next strip in sequence. With 3M mounting tape they hold the lexan glass pretty solid, but i used Aluminum tape for decor and extra strength. I was going to use 1/2'' aluminum angle to frame it, but the tape does it's job and i didn't want to cut all those aluminum pieces haha. here is my video. kzfaq.info/get/bejne/frt0d5yTqrCtqX0.html
@bluesky1646
@bluesky1646 Жыл бұрын
Is there a video tutorial on how to make 3D Printed ?
@mcdjacedad7359
@mcdjacedad7359 Жыл бұрын
hi mate i am curranty making a 3d led cube like yours, i ran in to some problems, to do with your design my printer could not print, like the insert for the leds, but i did some adjustment to then, when it is up and runing i will send you a link to my youtube
@PosTMorteM
@PosTMorteM 3 жыл бұрын
Mesmerizing...wow
@ScottMarley
@ScottMarley 3 жыл бұрын
Thank you! I can't stop looking at it.
@tonywharton5220
@tonywharton5220 3 жыл бұрын
Amazing job. I made a lovely 3d star with addressable LEDs using WLED. 225 LEDs. 224 but as you say I always add 1 extra. I will give this a go for a decoration next Christmas 😀
@ScottMarley
@ScottMarley 3 жыл бұрын
Thank you :) You should make a video about your star!
@moritz9958
@moritz9958 3 жыл бұрын
Dear Scott, I really like your version of an infinity cube. Do you think that it would be possible to order custom pcbs and solder on some SMD LEDs? Im guessing that a higher pixel density could be achieved this way and the pcb could be as slim as the strip bc it only needs 3 lines for the LEDs and one for routing data back. I have ordered one way mirror film and 4mm led strips from ali to get started. The led strips only have 60leds /meter thought but it's not that bad. Let me know what you think. I have never orderd custom pcbs. Btw your fastled noise video allowed me to make a noise pattern on a 64x32 led matrix that has soundreactive Animation. Kind regards from Germany
@ScottMarley
@ScottMarley 3 жыл бұрын
Hi Moritz, this could absolutely be done using PCBs, and if I was to build these to sell, that's the way I would do it! I wouldn't even solder them myself, the assembly services from JLPCB and PCBWay are now cheap enough to have them do it for you. That being said, the design for something like that would take a bit of thinking about due to routing all the connections at each corner. Definitely achievable though! One thing to consider with higher density LEDs is the corespondingly higher power requirements. This would become difficult in a small cube ike this. I have a plan to make a cube to use as a coffee tabl which will be much bigger, but pandemic issues are preventing me from getting it done at the moment. All the best, Scott.
@moritz9958
@moritz9958 3 жыл бұрын
@@ScottMarley Thank you for this long answer. I was also thinking that the heat of many leds could be a problem. I'll make one with the supplies I ordered and if that works I'll think about making a better Version
@nicktaylor1508
@nicktaylor1508 8 ай бұрын
I have a cube I want to convert to an infinity cube. I only need 3 sides to "work" or be viewable. Do I still need to do a full build for the same light effects?
@ericoudammerveld424
@ericoudammerveld424 3 жыл бұрын
Impressive project, Scott! Did you consider making the case of opal (semi transparent white) material and add some extra leds lighting that up?
@ScottMarley
@ScottMarley 3 жыл бұрын
That would look amazing. But there's no way on earth I would have been able to make that!
@ericoudammerveld424
@ericoudammerveld424 3 жыл бұрын
@@ScottMarley well it would be made more simple with the parallel type of Neopixels. With a pre-built corner that uses a clamp and i.e. ground on the outside and +5v on the inside. Centered in the ground could be the -parallel data connection trace. Given it’s parallel; you would need only 3 of 6 pin connections “working”. There are newer Neopixels in development that have a fixed position meaning: 3 wires; (all in parallel) and I believe these can contain between 100 and 200 pixels. The protocol is pretty similar to the WS2812B you used for this project. Main problem is that we don’t know the exact led type yet. GeekMom (twitter) has been experimenting with these in a string. (Which still works even if one pixel breaks)
@ericoudammerveld424
@ericoudammerveld424 3 жыл бұрын
@@ScottMarley also instead of 3D printing some of the elements you might consider using EasyEda 2 to design your own thin PcB’s to have a very simple soldering of your strips. Would gladly give you a short training to get you going. PCB’s are fairly cheap nowadays and you can even have difficult SMT packages pre-soldered for a very low price. (Ideal for a more than a one-off)
@ScottMarley
@ScottMarley 3 жыл бұрын
@@ericoudammerveld424 I've heard of these LEDs, but I don't know why it would be easier with these? And are they small enough to build something like this? I went for these ones due to the width of the strip and relatively high density. Also, are these supported by FastLED? If not, I'm out ;)
@ScottMarley
@ScottMarley 3 жыл бұрын
@@ericoudammerveld424 my first thought was to design some PCBs that clip together. I'm happy using KiCad and have made a bunch of PCBs with PCBWay and JLPCB over the years. I just couldn't wrap my head around how to connect everything at the corners! Either each edge would have to be unique so the signal routes correctly, or each edge is generic and I think of a way to select which way the data goes at each junction. They would still need soldering together at the corners unless you went for something exotic like flexible PCBs. Then what would the mirrors attach to? In the end, I decided that this was much easier :)
@luigimorelli6444
@luigimorelli6444 3 жыл бұрын
Aaaah! The Krell Factory! :-D
@ScottMarley
@ScottMarley 3 жыл бұрын
I was thinking more the Borg cube ;)
@luigimorelli6444
@luigimorelli6444 3 жыл бұрын
@@ScottMarley You should have used more green and ultraviolet ;-)
@chrissavage5966
@chrissavage5966 Жыл бұрын
OK, finally finished my homage to this ;) As I mentioned, I made mine half-scale, which, with hindsight...was a stupid idea!!! Man, that was a fiddly little beggar to assemble. The LED strips I got had all the contacts on the underside, but they were only accessible every 5 LEDS, which didn't work, so all connections were made on the actual chips..which I will come to shortly. I decided to use 24AWG (0.5mm) enameled copper wire to join it all up, but at this scale, that's like trying to solder a chunk of 1/2" copper pipe to the leg of an IC. I managed to complete the thing, testing at each new connection and got all 12 strips working as they should. I then did a test-fit of a section of 'mirror' and had to 'ease' one of the wire links out of the way....which broke the whole cube. I quickly discovered that due to the size and relative stiffness of the 24AWG wire, when bending it, I had ripped the contact off the top of the chip, thus ruining it. I messed with it trying to repair this, but eventually realised it would never work with this gauge of wire. So, I identified and replaced the chips I had damaged - an experience in itself as I only had a few actual LEDs left over so had to de-solder good ones from the remnant of the strip, then swap out bad ones on the cube strips themselves, then re-built using 30AWG (0.25mm) wire which is flexible enough and small enough to work properly. To handle the reduced current capacity of the 30AWG I made a 'mesh' or ring out of the power connections which has ensured good brightness throughout the cube. I used some 2mm wide double sided tape to stick the 'mirrors' in, which seems to have worked OK. Overall, that was a seriously fiddly and testing exercise, next one will be bigger...... Again, many thanks to Scott for the inspiration, glad I persevered because it looks great....but I suspect a bigger one would look better. And for proof, a short video of my completed cube: kzfaq.infoFQqt0H7Ip38?feature=share
@ScottMarley
@ScottMarley Жыл бұрын
Incredblible, thanks so much for the write up! It might have been a pain to do, but I bet there was a lot of satisfaction in seeing job completed :) now do a bigger one!
@chrissavage5966
@chrissavage5966 11 ай бұрын
@@ScottMarley OK...bigger one now competed :) A straight copy of yours, the only mod I did was to enlarge the base a bit so it houses the ESP32. I ended up buying the LED strips direct from iPixel. The ones they supplied have a contact pad for all 3 lines at every LED so were really easy to work with. I once again used the 30AWG wire which worked a treat. kzfaq.info/get/bejne/mN1_msykr8DPdoU.html And as you say, it looks so much better in reality than on video. I just used my iPhone to take this and it somehow makes the mirrors look quite cloudy - they aren't at all. Might be flare I suppose. Anyway, once again, thank you for the inspiration. I might do a coffee table next.....
@naomimariah8879
@naomimariah8879 3 жыл бұрын
scott u legend
@easyhelper
@easyhelper Жыл бұрын
Nice!
@janrozema7650
@janrozema7650 2 жыл бұрын
Looks awesome, i don't have the expertise to build this, other wise i'd steal your idea
@chelolelo
@chelolelo 2 жыл бұрын
Jesus Christ @Scott Marley.. This is gorgeous. I would like to work on something like this as I was not a fan of the standard infinity mirror Thank you for the inspiration. !May I reach out to you if I have questions?
@ScottMarley
@ScottMarley 2 жыл бұрын
You can try but I'm really really busy, so please don't be offended if I don't get back to you!
@SomeKindaWhale
@SomeKindaWhale 2 жыл бұрын
Hi Scott, this is a great project! You mentioned not being able to use WLED and yet you have FastLED isn’t he title. How do the two differ? Thanks
@ScottMarley
@ScottMarley 2 жыл бұрын
In FastLED you write everything from scratch meaning it can do anything you want. In WLED you choose from preset patterns and colours. For most normal projects, WLED is much easier, but I wanted to write something that wasn't possible with it.
@thuyahtetaung8745
@thuyahtetaung8745 Жыл бұрын
I like this..
@gabrielgraf2521
@gabrielgraf2521 3 жыл бұрын
Hey Scott, I rebuild your Project In A bigger Version. It turned out nice but i have some trubbel with the Code. The last Animation pixels dont Work. And I mean if it comes up to play the Animation the strip is Completely Black until the next pettern comes up and I cant explain it to me. Hope for some help! I will uploud My files soon on thingiverse!
@dvijpatel2794
@dvijpatel2794 Жыл бұрын
i have run to this file but faces some issue in "FastLED.h " file. Like "FastLED.h: No such file or directory ".
@ethanpotter4081
@ethanpotter4081 3 ай бұрын
Do you have the fusion file for this, I would love to try and build this
@agentblueuk
@agentblueuk 3 жыл бұрын
Looks really good. Can you share an STL export as well as the fusion360 files please
@ScottMarley
@ScottMarley 3 жыл бұрын
Sure, give me a few mins and I'll upload them.
@ScottMarley
@ScottMarley 3 жыл бұрын
OK, STLs are in the Fusion folder on GitHub
@5VoltChannel
@5VoltChannel 3 жыл бұрын
👍👍
@tom-c1394
@tom-c1394 3 жыл бұрын
good job Scott! what size two way mirror do I have to order for this project? thanks
@ScottMarley
@ScottMarley 3 жыл бұрын
You're feeling brave if you're going to attempt this! I chose the size because I could get all 6 sides from a single piece A4 in size and that was easy for me to get.
@tom-c1394
@tom-c1394 3 жыл бұрын
@@ScottMarley thank you 🙏👍
@tom-c1394
@tom-c1394 3 жыл бұрын
@@ScottMarley Soctt can you share STL code for 3d printer? if yes you send to ccongus@yahoo.pl Thank you
@ScottMarley
@ScottMarley 3 жыл бұрын
@@tom-c1394 Hi Tom, STLs are all at the GitHub link under the Fusion360 folder
@tom-c1394
@tom-c1394 3 жыл бұрын
@@ScottMarley oh yes thank you 🙏
@user-zm3ph9gt4i
@user-zm3ph9gt4i 9 ай бұрын
Will it work on esp8266?
@nikitaseltor799
@nikitaseltor799 Жыл бұрын
I want to see what an infinite tetrahedron will look like
@felixbrooks7464
@felixbrooks7464 Жыл бұрын
Didn't you put the glass in backwards? I thought the mirror deflection went on the inside...
@ScottMarley
@ScottMarley Жыл бұрын
I tried both ways and it looks the same either way around.
@calebjohn6159
@calebjohn6159 3 жыл бұрын
Do you have to use that size capacitor or will it work with a smaller one?
@ScottMarley
@ScottMarley 3 жыл бұрын
Anything is fine, and it will probably work without one at all :)
@calebjohn6159
@calebjohn6159 3 жыл бұрын
@@ScottMarley awesome thanks
@gsuberland
@gsuberland 3 жыл бұрын
That 1000uF aluminium electrolytic capacitor isn't doing anything there, other than causing an inrush current when you plug it in. The switching rate of the LEDs is in the tens of kHz and that capacitor is going to look like a massive brick wall to any return currents at that frequency. I wouldn't bother with adding additional capacitance here at all, or at most I'd put a 10uF MLCC cap as close to the output pins to the LED strips as possible.
@davemartin7374
@davemartin7374 3 жыл бұрын
It’s across the supply isn’t it?
@gsuberland
@gsuberland 3 жыл бұрын
@@davemartin7374 Yes, but that doesn't matter. A capacitor that large is massive overkill for ripple voltages, and utterly useless at filtering high frequency return currents. Those return currents will look at that capacitor like a brick wall - you might as well connect a 10M resistor over the supply instead. The ESP32 board already has decoupling over VIN, and again a 1000uF cap is not going to do any good there. If the intention is to decouple the LED strip for EMI reasons, then putting the cap (let alone an aluminium electrolytic!) at the end of a pair of 75mm+ wires is also useless - that path is far too high impedance and the fields will just spread out and couple through the data line or whatever else is nearby.
@davemartin7374
@davemartin7374 3 жыл бұрын
@@gsuberland how about low frequency changes in load? Having the whole strip flashing on and off a couple of times a second? Would this large capacitor help even out the supply voltage from a distant power supply?
@ScottMarley
@ScottMarley 3 жыл бұрын
Interesting. I've always assumed that this cap was recommended to smooth power spikes being drawn as the LEDs flash on and off rather than for EMI interference. Saying that, when I've made sound reactive things using a line-in for example, without a big cap like this on the power rails you can hear noise from the LEDs flashing through the aux line. Adding a cap removes that noise, and the larger the cap, the more the noise is reduced. Anyway, having this present is recommended on the FastLED and WLED webpages so I don't see there being any harm to having it.
@gsuberland
@gsuberland 3 жыл бұрын
​@@ScottMarley There are a few things at play here, and the noise largely comes from two things: EMI and switching noise. The first thing to understand about physical circuits is where the energy is. There's no energy in the copper. This sounds counter-intuitive, but it's true. The energy in a circuit exists in the electric and magnetic fields between a signal and its reference plane (usually ground). If you have two wires next to each other - one signal, one ground - they form a field in the space in between. In a PCB the fields exist between the trace on top and the ground reference plane below. The current flowing through the trace returns through the ground plane directly beneath that trace. The trace is just acting as a waveguide to steer the field around. If you don't reference a signal to a ground, the fields spread out through the space (air, plastic, fiberglass, whatever) to find a low impedance path to ground. That's radiative EMI. If you take a 4-layer PCB and put a signal on the top layer, a signal on the second layer, and a ground plane on third, then the electric fields from the signal on the top layer will couple through the signal on the second layer, and cause cross-talk. Same goes for signals on wires instead of PCBs. This is why so many cables are shielded - you get a ground reference plane in all directions around the wires, so the fields don't spread out and cross-couple with other signals. While decoupling is often talked about in terms of acting as a local energy reservoir to smooth out voltage spikes, it's also a key factor in EMI and cross-talk. The reason you decouple is to provide a low impedance path for high frequency return currents. If you make those currents flow further along a PCB, the fields generated by those currents will spread out looking for the lowest impedance path to ground. Often that isn't what you intend to be ground - the fields will couple into other signals and flow back into your ICs and jump to ground that way, creating a ton of noise (because you've got high frequency return currents in your signals) and radiative EMI. Remember that in the most basic model of things, capacitors allow high frequency signals to pass but block DC. So when you put a capacitor between a signal or voltage rail and ground, you're allowing high frequency currents to flow through the capacitor straight to ground (like a short!) but not allowing low frequency currents (DC or near DC) to flow. The high frequency return currents use it as a low impedance path to get to ground. The critical part here is that the capacitor *must* have sufficiently low impedance. In practice, the bigger the capacitor you use, the more impedance it has at a given frequency, and some types are better than others. That's why you typically see 100nF ceramic decoupling caps next to ICs, not 100uF electrolytics. The capacitance itself is not there as a "reservoir" - if that were the case you could just make it as big as you like. It's there because if you look at the impedance graph for a 100nF capacitor it'll have the lowest impedance at the expected frequency of the return currents for most modern ICs (which is not a product of clock frequency, but rise and fall time). When you hear noise on an aux line in a scenario like this, it's caused by cross-coupling effects. High frequency return currents are coupling through the supply rails and the aux line to get back to ground. There are two main reasons why it might occur. The first is direct EMI from the LED strips, due to return currents having to flow long distances before finding a return path, leading to the fields spreading out and coupling with other signals in the circuit. The second reason is that the board itself (particularly the switch-mode supply) may be poorly designed, leading to EMI whose frequency and amplitude modulates based on the amount of power demand there is. When the rate of change of power demand is within the audible frequency range (likely with LED strips) then the modulation of the switching signals causes audible cross-talk. When you add your giant capacitor, you aren't really solving either issue directly. The radiative EMI from the LED strips is still there, completely unaffected, but you just haven't noticed it because you're not pushing things to the kinds of limits where signal reflections and crosstalk become problematic. The EMI from the regulator isn't gone, either, but the huge capacitor forms an RC low pass filter using the parasitic resistance of the wiring and traces on the board, which lowers the rate of change of the power demand, which lowers the rate of change of noise being coupled into the rest of the circuit. Because the resistance of these traces is very low, you need a large capacitance to bring the pole of the filter down below the kHz range. Assuming a 100mOhm trace, the 1000uF capacitor forms an LPF with a pole at around 1500Hz. This is why you slowly hear less and less of the noise. If you want a more in-depth understanding of how all of this works, I highly recommend Rick Hartley's talk "The extreme importance of PC Board stack-up" at Altium Live a few years back. It's extremely eye-opening.
@gilvancosta5448
@gilvancosta5448 Жыл бұрын
Can you upload the code? The one on the link description gives me the message (arduino nano low memory available, stability problems may occur). Every time I try to upload it on my ARDUINO nano
@ScottMarley
@ScottMarley Жыл бұрын
You can't run this on a nano I'm afraid. I used an ESP32.
@gilvancosta5448
@gilvancosta5448 Жыл бұрын
@@ScottMarley ok. I will buy the ESP32 and upload your code then. Thank you. Your pattern is amazing, it is the best I've ever seen it.
@mosijames8348
@mosijames8348 15 күн бұрын
nice do you shaire new code
@djjoker7010
@djjoker7010 7 ай бұрын
Can we do this project with ws2812b?
@ScottMarley
@ScottMarley 7 ай бұрын
Yes. But the current will be much higher, so you will need a higher wattage power supply.
@djjoker7010
@djjoker7010 7 ай бұрын
@@ScottMarley So we can do it in the same project with the same codes.
@gabrielgraf2521
@gabrielgraf2521 3 жыл бұрын
Works the Code with ws2812b LEDs?
@ScottMarley
@ScottMarley 3 жыл бұрын
Yes, these are WS2812B, just tiny versions!
@gabrielgraf2521
@gabrielgraf2521 3 жыл бұрын
@@ScottMarley thank You, I will defenetly rebuild it🔥🇩🇪⚡
@helsbellsbda
@helsbellsbda 3 жыл бұрын
No Amazon Canada affiliate link!?!
@ScottMarley
@ScottMarley 3 жыл бұрын
Aw sorry, it takes ages to sort all these links out as I don't know what I'm doing! I just have to go for places most of my viewers are from. If it helps, I'd rather live in Canada than the US! (Or the UK tbh)
@dropemoff1877
@dropemoff1877 3 жыл бұрын
Does it have to go to music?
@ScottMarley
@ScottMarley 3 жыл бұрын
This one doesn't with this code, but it absolutely could. To make it as easy as possible, I would recommend installing the sound reactive fork of WLED from here github.com/atuline/WLED
@GelatoNYC
@GelatoNYC 3 жыл бұрын
POV: you saw this on Snapchat and wanna know if it’s real
@ScottMarley
@ScottMarley 3 жыл бұрын
Can I ask you to send me a screenshot of the Snapchat thing? I don't use Snapchat, so whatever it is has been posted by someone else. I'm a bit confused as to why they are using my video!
@obsidianookami
@obsidianookami 3 жыл бұрын
@@ScottMarley for me it was an ad that linked to a website to buy these: www.myinfinitycube.com/product-page/pen
@cameron7612
@cameron7612 3 жыл бұрын
@@ScottMarley I gotchu 😉, where can I send you this... what’s your insta?
@ScottMarley
@ScottMarley 3 жыл бұрын
@@cameron7612 I don't do insta either, sorry! Email scottmarley85@gmail.com would be great though ;)
@cameron7612
@cameron7612 3 жыл бұрын
@@ScottMarley okay
@davemartin7374
@davemartin7374 3 жыл бұрын
How many sides are mirrors?
@ScottMarley
@ScottMarley 3 жыл бұрын
All of them!
@davemartin7374
@davemartin7374 3 жыл бұрын
@@ScottMarley so these are two way mirrors! I didn’t get that from the video.. thx.. keep up the great work btw.. I love all your projects and it has inspired me to make some.. currently waiting for my 16x16 matrices, esp32 and ender 3 to arrive!
@ScottMarley
@ScottMarley 3 жыл бұрын
@@davemartin7374 yeah, sorry I didn't mention that! Sounds like you might have the beginnings of an LED obesession there, be careful ;)
@scienceoftheuniverse9155
@scienceoftheuniverse9155 3 жыл бұрын
Wow great project really love to build it but I don't have 3d printer
@ScottMarley
@ScottMarley 3 жыл бұрын
There are definitely other ways to do this, but a 3D printer really opens up ways of making stuff that's just really hard otherwise. You can get a decent one now for $200, start saving up and ask for birthday donations or something!
@agentblueuk
@agentblueuk 3 жыл бұрын
Ask about, see if you know someone locally with one who can print for you
@DrTRonik
@DrTRonik 3 жыл бұрын
✔✔👍✔✔
@takemytaki
@takemytaki 3 жыл бұрын
1:55 we learned this in elementary 💀😭
@TheIskateTV
@TheIskateTV 3 жыл бұрын
Now are you selling these cause I saw an ad for it on Snapchat?
@oliverware6384
@oliverware6384 3 жыл бұрын
same thats why I am here and i think the snapchat ad might be a scam
@ScottMarley
@ScottMarley 3 жыл бұрын
An ad for this actual thing? Or a different one? I'm definitely not selling this, took way too long to make!
@TheIskateTV
@TheIskateTV 3 жыл бұрын
@@ScottMarley Yes bro it was this exact one 😂 I was like no way!
@TheIskateTV
@TheIskateTV 3 жыл бұрын
@@oliverware6384 You saw it too? 😂
@ScottMarley
@ScottMarley 3 жыл бұрын
@@TheIskateTV Cheeky bastards!
@Hmoobtiamno
@Hmoobtiamno Жыл бұрын
Are you sale. I want to buy it
@marcodefocatis3978
@marcodefocatis3978 2 жыл бұрын
Where is the file stl for the cube?
@ScottMarley
@ScottMarley 2 жыл бұрын
GitHub, fusion 360 folder. Link in the description.
@marcodefocatis3978
@marcodefocatis3978 2 жыл бұрын
@@ScottMarley thank you very much
@loveaboveall2382
@loveaboveall2382 2 жыл бұрын
Are you taking orders?
@ScottMarley
@ScottMarley 2 жыл бұрын
Unfortunately not, it was a bit of a pain to make! Thanks though :)
@loveaboveall2382
@loveaboveall2382 2 жыл бұрын
@@ScottMarley understood. Thanks for the fast reply. Cheers mate!
@3dledcube-lawrence460
@3dledcube-lawrence460 Жыл бұрын
😎😎
@shalekthewise
@shalekthewise 3 жыл бұрын
You need to sell these
@SteelRainz1
@SteelRainz1 2 жыл бұрын
How much to make me one?
@ScottMarley
@ScottMarley 2 жыл бұрын
I don't want to make another one like this, it was quite annoying to build!
@LeonMOOK
@LeonMOOK 3 жыл бұрын
Fuckin ace
@santiagodeleon4556
@santiagodeleon4556 Жыл бұрын
Now do a tesseract
@brycemontgomery6896
@brycemontgomery6896 3 жыл бұрын
Yeah I just saw the ad on insta and I bought one off it it. I’m pretty sure that it’s fake now that I look at it
@Weeklygamesvaibhav
@Weeklygamesvaibhav 2 жыл бұрын
8:40 contra stage 3
@ScottMarley
@ScottMarley 2 жыл бұрын
Sounds like it doesn't it!
@ScottMarley
@ScottMarley 3 жыл бұрын
I've been informed by viewers that this is somehow being 'advertised' on Snapchat. I've now seen the ad and it is not my cube, and I have nothing to do with their site. Just FYI, if you order one from them, be prepared to lose your money. Reasons for suspicion: They don't appear on google at all, there are no reviews of their products other than their own site, it seems veeery cheap, the domain name was only registered 2 weeks ago and their email provider is yandex.ru, which is well known for its spam. EDIT: I've had confirmation now from several viewers that it's definitely a scam. Don't do it!
@infinitydaily
@infinitydaily 3 жыл бұрын
www.myinfinitycube.com/ they are selling them here
@puppergod9018
@puppergod9018 3 жыл бұрын
hey! I got some screenshots of the advert in question if you'd like them, pm me for my email. Also the seller in question is www.myinfinitycube.com. bang up job btw!
@puppergod9018
@puppergod9018 3 жыл бұрын
also just ordered one out of curiosity, we'll see what I end up with haha
@ScottMarley
@ScottMarley 3 жыл бұрын
@puppergod I'm suspicious. There is no mention of them on Google, no reviews that are not on their own site, and the domain name was only registered 2 weeks ago. It might be fine, but that seems like a very low price. If you don't mind risking the momney, I'd love to know how it goes!
@puppergod9018
@puppergod9018 3 жыл бұрын
@@ScottMarley Oh will do for sure! Im the type to waste money on curiosity so this fits right in, i wonder what garbage they send over haha. nobody is making these for 35$ and no way these guys have automated the process for making infinity cubes in less than a month
@nsdxacid5503
@nsdxacid5503 3 жыл бұрын
I got one off of tik tok like 4 days ago and haven’t heard a word from them
@ScottMarley
@ScottMarley 3 жыл бұрын
It's a scam, you're not going to get one I'm afraid. Sorry.
@nsdxacid5503
@nsdxacid5503 3 жыл бұрын
@@ScottMarley thank you for letting me know
@dukethurston9516
@dukethurston9516 3 жыл бұрын
Could I buy this off of you by chance? It would mean a lot :))
@ScottMarley
@ScottMarley 3 жыл бұрын
Haha, I'm afraid not! The cost would be way too high. Parts alone come to nearly £100, then it would take me a day to print, solder and build it, so your looking at around £300 in total. You can buy more professional-looking ones on Etsy for around that.
@dukethurston9516
@dukethurston9516 3 жыл бұрын
@@ScottMarley oh nice I’ll check on Etsy thank u for responding
@kingspade9499
@kingspade9499 3 жыл бұрын
How about you make them and we pay you for them, because theirs no way ill be able to make it😂
@ScottMarley
@ScottMarley 3 жыл бұрын
Oh man, the cost would be way too high. It would have to cost £300 or so to make it worthwhile! There must be a less time consuming way of doing it, but I haven't thought about how that would work!
@kingspade9499
@kingspade9499 3 жыл бұрын
@@ScottMarley well perfect if you ever find a more efficient way you should most definitely make and sell them because I'm sure that you'd get a lot of buyers including myself.
@josephtrimble7798
@josephtrimble7798 Жыл бұрын
Hmmm Funny looks like the exactly like the one they sale on Amazon exact same color parts & all even the same size even the Lil. Electrical box makes you wonder who really made it, Just Saying,
@ScottMarley
@ScottMarley Жыл бұрын
I made it. There's literally a video here of me making it along with access to all the files that I created in building it. Not sure what you're getting at here.
@sloolsking4611
@sloolsking4611 Жыл бұрын
Guys watch for yourselfs💙 (وَمَا هَـٰذِهِ ٱلۡحَیَوٰةُ ٱلدُّنۡیَاۤ إِلَّا لَهۡوࣱ وَلَعِبࣱۚ وَإِنَّ ٱلدَّارَ ٱلۡـَٔاخِرَةَ لَهِیَ ٱلۡحَیَوَانُۚ لَوۡ كَانُوا۟ یَعۡلَمُونَ) [سورة العنكبوت 64] It means The life of this world is merely an amusement and a diversion; the true life is in the Hereafter, if only they knew. (وَٱتَّقُوا۟ یَوۡمࣰا تُرۡجَعُونَ فِیهِ إِلَى ٱللَّهِۖ ثُمَّ تُوَفَّىٰ كُلُّ نَفۡسࣲ مَّا كَسَبَتۡ وَهُمۡ لَا یُظۡلَمُونَ) [Surah Al-Baqarah 281] It means Beware of a Day when you will be returned to God: every soul will be paid in full for what it has earned, and no one will be wronged. (فَذَرۡهُمۡ یَخُوضُوا۟ وَیَلۡعَبُوا۟ حَتَّىٰ یُلَـٰقُوا۟ یَوۡمَهُمُ ٱلَّذِی یُوعَدُونَ) [سورة الزخرف ٨٣ ] It means Leave them to wade in deeper and play about, until they face the Day they have been promised. ...
@wolfgangboettcher3126
@wolfgangboettcher3126 2 жыл бұрын
Ich denke billig er
@ScottMarley
@ScottMarley 2 жыл бұрын
The LEDs are quite expensive, but it's cheaper than buying a pre-made cube!
@user-oo5ij9wr5v
@user-oo5ij9wr5v Жыл бұрын
мария ефимова ис самары я тебя люблю ТЫ богиня хелла
How to make a 16x16x16 LED CUBE at home with Arduino platform
20:09
Malt Whiskey
Рет қаралды 4,1 МЛН
where is the ball to play this?😳⚽
00:13
LOL
Рет қаралды 14 МЛН
ОДИН ДОМА #shorts
00:34
Паша Осадчий
Рет қаралды 6 МЛН
Normal vs Smokers !! 😱😱😱
00:12
Tibo InShape
Рет қаралды 98 МЛН
How i Made this Amazing Hollow Clock | Arduino
5:31
The Wrench
Рет қаралды 2 МЛН
Adam Savage's One Day Builds: Rhombic Dodecahedron with Matt Parker!
50:07
Adam Savage’s Tested
Рет қаралды 2,5 МЛН
LED Cube showing my CPU status
6:06
there oughta be
Рет қаралды 267 М.
How to make a 8x8x8 LED Cube at Home
16:49
Tapendra Mandal
Рет қаралды 1,6 МЛН
SPECTRUM ANALYSER and Animations in 16x16x16 LED CUBE
9:48
Malt Whiskey
Рет қаралды 94 М.
DIVERGE // DEEPLIGHT LIGHTSHOW #1
5:31
DeepLight Labs
Рет қаралды 134 М.
Comment fabriquer ce magnifique cube infini.
14:15
Heliox
Рет қаралды 454 М.
I made two INFINITE WORLDS in ONE BOX?!!
18:21
Jazza
Рет қаралды 1,2 МЛН
I’m Never Buying LEDs Again! EASY DIY WLED!
13:11
TechFlow
Рет қаралды 1,2 МЛН
Nokia 3310 versus Red Hot Ball
0:37
PressTube
Рет қаралды 1,7 МЛН
The power button can never be pressed!!
0:57
Maker Y
Рет қаралды 47 МЛН