AVR Controlled RGB LED Matrix Plays Tetris

[Stan] built this LED matrix using a 16×16 grid of RGB LEDs. He built the hardware and wrote some subroutines to randomize the colors. He’s not using PWM because frame buffering is not feasible for the 1k SRAM limit of the ATmega168 he used. Instead, shift registers drive the lights which can be mixed to achieve eight different colors (including off for black) reducing the framebuffer size to just 96 bytes. After he got done with the build he realized this is sized well for a game of Tetris. We’ve seen AVR tetris, PIC Tetris, and Tetris using composite video but it’s always a pleasure to see a new display build.

After the break we’ve embedded [Stan’s] demo video, several pictures, and a schematic. He’s using many of the same principles outlined in our How to Design an LED matrix tutorial.

Continue reading “AVR Controlled RGB LED Matrix Plays Tetris”

Home Automation Without Pulling Wires

Here’s a bit of simple home automation using hacks with which we’re become pretty familiar. [Mrx23] combined OpenWRT, a microcontroller, and a set of RF controlled outlet switches to add automation to his plug-in devices. An RF remote that controls the switched outlets has been connected to an Arduino. The router communicates with the Arduino via a serial connection. And the router is controlled by a web interface which means you can use a smartphone or other web device to control the outlets.

The best thing about this system is the power that the router wields. Since it has an underlying Linux kernel you have the option of setting CRON jobs to turn lighting on and off, and group settings can be established to set up a room’s lighting level for watching movies, hosting guests, etc. Combine this with the fact that OpenWRT can use port forwarding for Internet control and the possibilities really start to open up.

[Thanks Arpad]

Swapping Speedometer Needle For LEDs

[Ah2002] didn’t like the shaky needle in his car’s speedometer so he replaced it with a ring of LEDs. The old speedometer had a cable which rotated along with the gearbox for mechanical speed measurement. By connecting the stepper motor from a printer instead of this cable, a voltage is generated that fluctuates with the speed of the car. The fluctuation is linear so a given voltage measurement can be directly associated with one particular speed. By using a trimpot to calibrate the input voltage, [Ah2002] connected the signal to an LM3914 dot/bar display driver. These can be chained together, lighting a string of outputs based on the single voltage input. The result is the board seen above, which was covered with a printed paper graph in the final assembly.

Judging from the video after the break, we’d bet there was some distracted driving during the calibration process. The driver appears to be holding the video recorder, and since a cellphone GPS was used during calibration we wonder if [Ah2002] was adjusting the trimpot, looking at the GPS, and driving all at once. It’s a fairly awesome hack, but do be careful when you’re working on something like this.

Continue reading “Swapping Speedometer Needle For LEDs”

Build A Confetti Cannon For Your Next Party

[Scott] built a confetti canon to spice up the party. It’s pneumatic and re-purposes a fire extinguisher as the air tank. He had a refillable extinguisher that used water instead of chemical retardant. After emptying the water and ensuring all of the pressure had been release he swapped the hose and nozzle for a sprinkler solenoid valve. Securing the extinguisher’s actuator lever with a pipe clamp holds the internal valve open, leaving the solenoid to control the pressure release. This way the canon can be fired electronically, or manually.

This type of solenoid valve is a popular choice with pneumatic canons. We suppose you could even adapt this for use as a T-shirt cannon.

[Thanks BoBeR182]

Swiveling Arms Replace Laptop LCD Hinges

This swivel arm LCD screen is [Ben Heck’s] latest hack. It replaces the hinges that normally only allow one point of rotation on the screen. You can still use the laptop like normal, but when space is at a premium a second adjustment, both in rotation and linear position, has been added using the slots and screw knobs seen above. Ostensibly this is to use on an airplane, where there may not be enough space to fully open your laptop. We’ll let you decide if it’s wise to try to get your own hacks past airport security. Historically, the TSA hasn’t been impressed with hardware hackers. We like how this came out and could see ourselves using these techniques to make a convertible tablet notebook by reworking the cable routing.

We’ve embedded [Ben’s] quick demo of the finished product after the break. If you want to see the whole build process it is the subject of Episode 5 of the Ben Heck Show.

Continue reading “Swiveling Arms Replace Laptop LCD Hinges”

CNC Machine From PC Parts

[Mike Rankin] built a small CNC machine using some PC parts. He repurposed two optical drives and a floppy drive to create the plotter seen drawing the Hackaday logo above. The X and Y axes use the stepper motor controlled read heads from two optical drives. The Z axis is built using the read head hardware from a floppy drive. A 3-axis controller module from eBay drives the little machine, keeping the cost quite low at around $45.

As you can see in the video after the break it does a great job as a plotter. [Mike] doesn’t think there’s enough power in the hardware to be used as a mill. We’d still like to try adding a flexible shaft rotary tool and see if this could mill some rudimentary PCBs, but maybe you need to shell out just a little bit more for that functionality. It might also be possible to use an etchant resist marker instead of toner transfer or photo-resist.

Continue reading “CNC Machine From PC Parts”

Make A Knitting Machine Print Pixel Art

[Becky Stern] shows how to take an old electronic knitting machine and interface it with a computer. After seeing the Brother KH-930E knitting machine in the video after the break it looks like the controls function quite like a CNC milling machine. Patterns can be programmed in and stored on a floppy disk. Since we don’t want to use those anymore (unless they’re hacked as an SD card carriage) it is nice to see that this is how the machine is connected to a computer. Using an altered FTDI cable and a floppy-drive emulator written in Python a blank design file can be saved on the knitting machine, manipulated in the computer to add your own pixel art, then loaded back onto the machine for production. At the very least, it’s interesting to watch the knitting happen, but fans of knitted apparel and geek paraphernalia must be salivating by now.

We’ve never given up our dream to transition from Hack-A-Day to Craft-A-Day, this just fuels the fire for that cause.

Continue reading “Make A Knitting Machine Print Pixel Art”