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.

Continue reading “ATtiny Hacks: ATtiny-controlled 4x4x4 LED Cube Has A Unique Design”

Robotic Disco Floor Is A Mobile Party

[Chris Williamson] designed the Rave Rover, a mobile disco floor with integrated stripper pole for this year’s DragonCon.

[Chris] started building combat robots back in 2000 for Battlebots and Robot Wars and cofounded the South Eastern Combat Robot league. He’s a lover and not a fighter, so for the DragonCon robotics track [Chris] built his mobile dance party. He put up an Instructable of his build and some of the features are really clever. Whenever the dance floor is being ‘used’, pneumatic cylinders lower the disco floor so it rests directly on the ground. A good idea, especially considering what we imagine happens on the Rave Rover.

For the light-up disco floor, [Chris] cut black ABS sheets on a CNC router and installed RGB LED modules controlled by an Arduino. The floor can display low-res animations, but random patterns look just a cool.

The Rave Rover was designed and built over a one month span to get ready in time for DragonCon. The build was a little hurried but the quality is still there. Check out video of the Rave Rover at DragonCon after the break.

Continue reading “Robotic Disco Floor Is A Mobile Party”

ATtiny Hacks: 2313 Driving A 4x4x4 LED Cube

ATtiny Hacks Theme Banner

[Kirill] wrote in to share his ATtiny hack, a 4x4x LED cube. The 64 LED display is a great choice to fully utilize the hardware he chose. It’s multiplexed by level. Each of the four levels are wired with common cathodes, switched by a 2N3904 transistor. The anodes are driven by two 595 shift registers, providing a total of 16 addressable pins which matches the 4×4 grid perfectly. All said and done it only takes seven of the ATtiny2313’s pins to drive the display. This is one pin more than the chip’s smaller cousins like the ATtiny85 can provide. But, this chip does include a UART which means the project could potentially be modified to receive animation instructions from a computer or other device.

You may have noticed the USB port in the image above. This is serving as a source for regulated power in lieu of having its own voltage regulation hardware and is not used for data at all. Check out the animations that [Kirill] uses on the display by watching the video after the break. You’ll find a link to the source code there as well.

Continue reading “ATtiny Hacks: 2313 Driving A 4x4x4 LED Cube”

A Light-Following Pong Game

Although not everyone has the ability to make a hacked Pong game Like [Marcelo], even fewer have the ability or the creativity to come up with the elaborate hack that he did. The basic premise of his game is a version of pong played on a breadboard with a 8×8 matrix of LEDs. The controls are really what sets this hack apart. Instead of using a paddle controller or normal switches, small flashlights are used to control the on-screen (on-LED matrix) paddle. This is accomplished using a series of photoresistors and a PIC processor.

Innovative as this would be by itself, [Marcelo] decided to make a program in Flash to display the action on a computer.  Communication is done serially, and C# is used to translate everything as Flash doesn’t natively work with a serial connection.

Another innovation is that there are two LEDs connected on either side powered via pulse width modulation. The lights get dimmer as one player is about to lose. Check out [Marcelo’s] pong game after the break!

Continue reading “A Light-Following Pong Game”

Spinning UV Light Writer

uv_light_writer_ring

[David] has always wanted use UV LEDs to write on a phosphorescent surface ever since saw an article about it on Make. He accidentally purchased UV LEDs when he meant to buy purple ones, so he figured that his mistake was all the reason he needed to give UV light writing a try.

He built a PIC16F628 UV POV board using the LEDs, and while manually swiping the writer across various glow in the dark surfaces was cool, he wanted to keep the POV board stationary, moving the writing medium instead. He bought some phosphorescent vinyl, but found that it wasn’t too flexible, meaning he could not use a conveyor belt approach for his display. One day it dawned on him that a vinyl ring might work pretty well, and using a motor from an old cassette player, he constructed the UV writer you see above.

It seems to work pretty well despite a small flaw in the UV ring, and while [David] is happy with the results, he already has plenty of ideas in mind for the second revision.

Check out the video of his UV light ring in action after the jump.

[Thanks, Riley]

Continue reading “Spinning UV Light Writer”

Playing Snake With A TV Remote

[vinod] sent in his replica of a Snake game, the game to play on old Nokia dumb phones.

The build is based on a PIC16F877 microcontroller just like previous Snake builds we’ve seen, but [vinod] didn’t use physical buttons in his build. Instead, he used a Philips infrared TV remote to control the game. The infrared controller only takes up one pin on the microcontroller, as opposed to the 4 pins of the easiest four button setup. [vinod] also threw in a simple one-transistor level converter so Snake can be played with a PC via RS-232. With the PIC code included in the build, it’s a great build that reminds us of a more civilized age.

The video of [vinod]’s snake game in action is posted after the break, but we noticed that the snake is allowed to ‘warp around’ the sides of the LED matrix. Some people might consider that cheating but that can be fixed by changing a few lines of code.

Continue reading “Playing Snake With A TV Remote”

POV Keychain From Prototype To SMD Board

[Augusto] wrote in to tell us about his keychain-sized persistence of vision project. He built the original prototype on some protoboard, using a PIC 16F627 to drive eight LEDs. Synchronization is managed by a tilt sensor on the board that starts the strobing to match the direction the board is traveling. This is a similar setup as the POV device that used an accelerometer, but it should be quite a bit easier to code for the tilt switch.

Once [Augusto] had the hardware dialed in he set to work laying out a surface mount design. The two AAA batteries were traded for a single 3V coin cell, which is on the back side of the board you see above. This is his first attempt at working with surface mount components and we think he did a great job. Check out the POV in action in the video after the break.

Continue reading “POV Keychain From Prototype To SMD Board”