ATtiny Hacks: ATtiny-controlled 4x4x4 LED cube has a unique design

ATtiny Hacks Theme Banner

simple_attiny_led_cube_charlieplexing

[Tom] recently started experimenting with Charlieplexing, and wrote in to share the 4x4x4 cube he built with an ATtiny24. Similar to this minimalist 4x4x4 LED cube we featured the other day, [Tom’s] version attempts to use the least pins possible to drive the LEDs, but in a different manner.

[Tom] didn’t want to sacrifice brightness, so he decided that the LEDs would have a 1/8 duty cycle. The problem is that the ATtiny’s I/O ports can’t support that kind of current so he needed a different means of driving the LEDs. Rather than employ any sort of shift register to control the LEDs, he opted to exclusively use transistors as he had done in previous projects.

For his Charlieplexed cube to use a total of 9 I/O pins he had to get creative with his design. He broke each level of the structure into two non-connected groups of LEDs, utilizing diagonal interconnects to get everything wired up properly.

It seems to work quite nicely as you can see in the video below. While it uses two more I/O lines than the other ATtiny cube we featured recently, we love the simple, shift register-less design.

9 thoughts on “ATtiny Hacks: ATtiny-controlled 4x4x4 LED cube has a unique design

  1. seeing all these cubes, and having all this time gives me the sudden urge to try my hand at building one, but with no experience in ic’s idk how well it will go

      1. I remember in the 90’s reading William Gibson novels and listening to that music. They were both sort of new then. Now he’s mainstream. I think that’s what Señor Dragon meant… when he debuted, he was ahead of his time.

  2. can someone please help me figure out how to program the ATtiny24 using an arduino?!? I am so lost! I have built the charlieplexed cube according to Tom’s schematic but I have no idea how to program the micro controller :( please help :(

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s