LED matrix glasses keep all eyes on you

posted May 3rd 2011 11:01am by
filed under: led hacks

my_shades_are_so_bright_i_gotta_wear_um_something

Instructables user [llopez-garcia] was looking for something that would make him stand out at music events or clubs, and decided that an LED matrix built into a set of sunglasses would do the trick.

He grabbed some LEDs and the biggest pair of sunglasses he could find at WalMart, then he got down to business. He had no experience in programming micro controllers, so he chose a PICAXE 20X2 to run his glasses, figuring that it would be easier to program in BASIC for his first project than C.

He drilled holes in the lenses and wired up two 5×5 LED grids, connecting them to the PICAXE as a single 10×5 array. That setup was chosen because the 20X2 limited him to 15 usable pins and he wanted to avoid using a shift register or LED driver to keep the part count down. The rest of the build is relatively straightforward with resistors in all the right places, and a pair of AAA batteries to power it – one strapped to either temple.

We think these are pretty cool, though we’re not sure if he can see anything while wearing them. Then again, who cares? You don’t need to be able to see with glasses this awesome.

If he had to do it all over again, [llopez-garcia] says he would beef up the LED structure a bit, as well as choose a different micro controller that can be programmed in C since he felt the PICAXE was a bit limited by BASIC.

Stick around to see a quick demo video of the glasses in action.

Read the rest of this entry »

A beginner’s guide to LED matrices

posted Apr 29th 2011 7:01am by
filed under: classic hacks, led hacks

led_tutorial

[Rajendra Bhatt] wrote in to share a tutorial he put together demonstrating the basics of using LED dot matrix displays. While this subject might be old hat to many out there, his helpful walkthroughs are geared more towards beginners who are exploring various electronics concepts for the first time.

He explains the theory behind LED displays using a PIC-driven 5×7 matrix as an example. He discusses persistence of vision and how tricking the human eye can save you quite a bit of time and a whole lot of pins. Multiplexing is broken down into its most basic steps, which [Rajendra] illustrates by showing how a letter would be drawn on the LED display one column at a time. The use of a ULN2803A Darlington Array is also discussed, and he details why it is used when pulling the five columns of LEDs to ground.

The only portion of the tutorial we thought could be expanded upon was the programming section. While he does show how each letter of the alphabet can be displayed via a series of five hex values, he does not cover the “why” part of the process. Obviously while anyone familiar with binary and hex can figure it out in pretty short order, we think that it would be a great place to pause and expand the readers’ knowledge even more.

Overall it’s a useful tutorial, and most beginners would likely find it quite helpful.




Webcam images processed and played back on LED display

posted Apr 10th 2011 6:27am by
filed under: led hacks

[Mathieu] has bee working to refine the code running on an LED matrix, and added some neat display tricks along the way. He wanted to make the display directly addressable from a computer. The 96×64 bi-color LED display is powered by an Atmel FPSLIC and already used double-buffering. Enabling a PC to write directly to one of the buffers was not too hard, requiring just a bit of optimization to get the timing right. From the look of the video after the break, he nailed it.

The video feed is generated from a webcam stream using Matlab to process each image. Just 50 lines of code captures a frame, sizes it appropriately, converts the result to black and white for edge detection, then finishes the job by compressing image data for transmission to the embedded processor. We’d like to say it’s easier that it sounds but we’re pretty impressed with this work. The display manages about 42 Hz with the current setup.

Read the rest of this entry »

A Charlieplex display and a board layout tip

posted Feb 7th 2011 12:00pm by
filed under: led hacks, Microcontrollers

[Ben] is getting himself up to speed with microcontrollers. He jumped into the deep end by taking on this Charlieplex LED matrix build. As you can see after the break, he not only made the display work, but coded Conway’s game of life to run on the ATtiny85 that drives the device. What you see above is the prototype version that [Ben] used to make sure he had the hardware just right. He’s seeing the project through to a manufactured board and this is where the layout tip comes from. In order to make sure he had enough space for all of his components he printed out the board artwork, taped it to some Styrofoam, and then inserted all of the through-hole parts. Now he can be sure that physically the design works, we’ll keep our fingers crossed that everything is also kosher electrically.

Read the rest of this entry »

See-through LED display

posted Feb 3rd 2011 10:00am by
filed under: led hacks

[Ndsit] is having a party and wanted to liven up the place with some blinky lights. He’s a bit new when it comes to hobby electronics, and although we’d highly recommend inviting some resistors to participate, the LED matrix that he built is very nice. It’s 8×8, it’s big, and (as shown in the clip after the break) the lights seem to hover in midair. That’s because he didn’t use a substrate to make the display. A grid of enameled wire is strung between the four sides of the wooden frame. LEDs were gathered from a string of Christmas lights which means they’re in a holder and have insulated wires already connected. Each one was tied on at a junction point of the grid, then connected to a portion of the wire where enamel had been scraped off.

It works but there’s already one light that is out. We hope some current protection is added so that this can be used again and again.

Read the rest of this entry »




Bi-color LED matrix clock uses point-to-point construction

posted Dec 22nd 2010 11:33am by
filed under: clock hacks

[Daniel] wanted his child to stay in bed until a semi-decent time each morning. The problem is the kid doesn’t know how to read a clock, so [Daniel] built him a clock. Yeah, doesn’t make much sense to us either, but we’ve used our own shaky premises for projects so who are we do judge?

He used a bi-color 8×8 LED matrix as the clock display. What caught our eye is the point-to-point soldering he used for the three strip boards that make up the device. Note the use of a drill-bit to break the traces when needed. Each board has its own purpose; the matrix drive, the logic board, and the power board. A PIC 18F4550 lets [Daniel] control the clock via USB, and takes care of lighting up the hour as a red number when it’s time to sleep, and a green one when it’s okay to arise. There’s a flashing pixel for seconds, and a binary readout of minutes along the bottom.

We’ve asked [Daniel] to post a schematic and an image of the clock face when displaying the time. No word yet but we’ll keep our eye on it. In the mean-time, check out this clock that uses an RGB 8×8 LED matrix.

Barcode challenge for radio operators

posted Nov 27th 2010 11:00am by
filed under: radio hacks

[Scott Harden] came across a few posts about QR code matrix barcodes coming through on the 40m baud radio band. A few operators had captured the signals and assembled them into the code block seen above but they weren’t able to get a clear enough shot for a smartphone to decode the image. [Scott] took on the challenge and decoded the mysterious message himself. He tried some graphic editing to separate and enhance the color channels in order to up the contrasts of the image. This helped, but still couldn’t be read automatically. In a move similar to those seen in Hackaday’s own barcode challenges he dropped the image into Inkscape so that he could manually clean it up. Once it was overlaid on a grid the job was pretty simple. the left side did require some more image manipulation and precision”squinting” to eliminate interference from the vertical banding, but he managed to get the message. We won’t spoil it here in case you want to take on the challenge yourself. Good luck!

Communicating with an LED matrix

posted Nov 19th 2010 1:00pm by
filed under: led hacks

Most of the LED matrix posts we run delve into the hardware design. This time around [J Bremnant] used prefab modules and focused on writing code to address the display. The hardware combines two 24×16 LED boards from Sure Electronics with a Teensy 2.0 to drive the display and provide a USB connection. The firmware comes in just under 8k, leaving graphic manipulation up to a PC.

[J Bremnant's] Python script offers a lot of flexibility when working with the display. There are three modes selectable through a terminal interface. One just tests the display and then drops into Conway’s Game of Life. The second mode lets you send commands via serial interface so it can be used as a message ticker. The final feature is frame addressing that allows graphics to be dropped into the display. See each of these featured in the video after the break.

Read the rest of this entry »




Hack a Day serves up fresh hacks each day, every day from around the web as well as hacking related news.

Send us your hacks






     




Hacks

Resources