Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Anyone playing with LED Cubes?

Status
Not open for further replies.

futz

Active Member
Saw **broken link removed** Friday and I was hooked immediately. The big complex RGB ones are very very cool! :D I didn't have any RGB LEDs, so I built a little 3x3 cube with some cheap Stanley LEDs I had kickin around.

Building cubes is a real pain in the butt. You can easily jig each level, but jigging the levels together vertically isn't so easy. The Makezine video glosses over lots of the details, making it look easier than it is. Fun stuff though.

My 18F452 board is driving the cube. I just now finished connecting everything up finally (couldn't find my transistors yesterday) and have only the most rudimentary of software in it so far. Now I have to get timer interrupt multiplexing working and get it doing something much more impressive.

If you build one, be sure to post some pics, like these :D Have fun!
**broken link removed**
**broken link removed**
**broken link removed**
**broken link removed**
**broken link removed**
**broken link removed**
 
Last edited:
Hmmmm... I wonder how hard it would be to try and CharliePlex a cube?
Kind of hard to film a cube that is multiplexed eh?
Looks like it might make a cool xmas project if you put LEDs in a glass sphere type ornament.
 
The closest I've come is to recommend a hardware design to a chap for an 8x8x8 cube that would only use 10 PIC pins.

I'm not sure there'd be any advantage trying to Charlieplex that 3x3x3 cube. The wiring would be a bit more complicated compared to standard multiplexed wiring.
 

Attachments

  • Cube Drawing.PNG
    Cube Drawing.PNG
    21 KB · Views: 2,632
kchriste said:
Hmmmm... I wonder how hard it would be to try and CharliePlex a cube?
It would definitely take some thinking. This thing, the way I've built it, eats 12 pins of I/O, so any improvements would be good. For anything bigger than 3x3 you'd definitely need some additional chips to drive the cube.

Kind of hard to film a cube that is multiplexed eh?
What's hard is getting it to look right. Stupid LEDs won't stay still. :D I won't use flash (looks like crap) and I'm using the smallest aperture this camera will do so I get decent depth of field, so I use slow shutter speeds with a 2 second timer and brace the camera against the table.
 
futz said:
This thing, the way I've built it, eats 12 pins of I/O, so any improvements would be good.
You could could use a serial-to-parallel 16 output constant current driver like the Allegro A6279 and a few transistors to drive a 3x3x3 matrix using 4 PIC pins or a 4x4x4 matrix using 5 PIC pins and you'd have full brightness with PWM brightness control as part of the bargain.
 

Attachments

  • 4x4x4 Cube.PNG
    4x4x4 Cube.PNG
    19.1 KB · Views: 771
Mike said:
You could could use a serial-to-parallel 16 output constant current driver like the Allegro A6279 and a few transistors to drive a 3x3x3 matrix using 4 PIC pins or a 4x4x4 matrix using 5 PIC pins and you'd have full brightness with PWM brightness control as part of the bargain.
I'll have a look at that for future cubes.

I was just looking at the MAX7219. I have a couple here. They're made to do only 7 segments and DP on up to 8 digits multiplexed by the chip. Doesn't help much when each level ("digit") I want to multiplex is 9 segments. Ah well, there's lots of other chips out there.
 
Last edited:
futz said:
I'll have a look at that for future cubes.

I was just looking at the MAX7219. I have a couple here. They're made to do only 7 segments and DP on up to 8 digits multiplexed by the chip. Doesn't help much when each level ("digit") I want to multiplex is 9 segments. Ah well, there's lots of other chips out there.
Just happens to work out perfectly for a 4x4x4 cube though, doesn't it (grin)?
 
Looks good. The patterns with just 2-3 LEDs lit at a time seem to show the 3D effect better. At least in the movie it seems that way.
 
kchriste said:
Looks good. The patterns with just 2-3 LEDs lit at a time seem to show the 3D effect better. At least in the movie it seems that way.
Some patterns look better from the side. I wasn't shooting directly from that side, so they don't look like much in the movie.
 
And then there is the BIG round one:
**broken link removed**
It's "dimensions" are 28 x 24 x 10 Leds and draws 400amps at 10V!!!
 
Hey futz,

Im doing today for my school work something like you did and now im searching for a programme 100% complete, so if possible you send me your programme i would be thankfull for that :D

The stanley led's look always fun to see :rolleyes:
 
im searching for a programme 100% complete

I think you did not understand the purpose of your school assignment. :rolleyes:

But, if you start off and get lost at some point I'm sure the members will happily help you out.
 
Oh I simple asked kindly for that :(

I will upload later some pic's of my 3x3x3 led cube :D but then i will really need a help for the programme :eek:
 
I would be interested in knowing what class this is for?

My students started by writting a program that stored data to create a series of patterns on a line of 16 LEDs. The data is stored in a constant array of 16 bit words.

The same program was modified for use with LED cubes. Instead of displaying 16 bits at a time the cube software display 9 bits (3x3x3 cube) on a single cube layer. Three frames will light the entire cube. If you switch between the top bottom and middle layer fast enough the entire cube is displayed.

Start by writting code to display a fixed pattern on all 3 layers. Whey you have that working read the data from your array to change the pattern at a fixed rate and you will have it.

This is how the software works. Whey you get stuck you can ask questions here. But you need to write the code.

3v0
 
3v0 im from 9th class and i only have 13 years, nobody teach me to programme, i just know a few things of c++ and Zelio Soft :eek:

This isn't really for school, it's an extra-assigment and my teacher said that i have to work in BASCOM to programme and i don't know a thing about that if you could help with the start, this will gone help me guys :p
 
I wonder if SMD LEDs would lead to easier construction, perhaps make up a thin plastic sheets for each level to mount the diodes on for each level?

Are there any small bright flat SMD LEDs?
 
Status
Not open for further replies.

Latest threads

Back
Top