Communicating With An LED Matrix

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.

Continue reading “Communicating With An LED Matrix”

Android Talks Pulsewave

Serial communications are a mainstay of digital computing. They don’t require much physical infrastructure and they exist in variations to fit almost any application. The behaviour of serial communications lines, varying from high to low voltage in a timed pattern, is analogous to a 1-bit DAC. Using a whole DAC for serial communication would be a waste in most cases, but the [RobotsEverywhere] team found an exception which you may have encountered already.

Since the audio output of the Android is accessible and addressable, [RobotsEverywhere] wrote source code to use the left and right channels as separate serial communication lines. This circumvents the need to bust into the device and muck about with the hardware which is great if you want a no-risk hack that allows communications to an RS232 port. Any hardware on which you can write to the DAC (and control the sampling rate) is a potential target.

There are some external electronics required to convert the audio signal to TTL, but it’s not very complicated–a couple of comparators and change. You can see it in action after the break.

As a bonus, when you’re done for the day you can plug in your headphones and listen to the soothing poetry of pulse waves all night long.

Continue reading “Android Talks Pulsewave”

Multiple Core Propeller Speeds Up Display Addressing

Th

If you ever wondered what an eight-core Propeller processor can do for you, [Tom] found one answer. He’s using the multiple cores to individually address serial displays. He has six display modules, and each of them incorporate six 8×8 LED modules. This makes for a total of 2304 LEDs, and since they’re addressed by cascading serial data, that means 2304 bytes pushed to the display. You’re going to suffer from quite a bit of slow-down if you choose that communication method.

This is where multiple-cores come in handy. Instead of cascading data between the six modules, he assigned a different core to each. Now he can concurrently address the six displays, reducing his serial data from 2304 bits per frame down to 384 bits per frame. As you can see in the video after the break, updating the display six times as fast as before yields fantastic results.

Now what if you’re using a processor that has forty of these multi-core Propeller chips?

This does make us wonder, can’t the same thing be done on a single-core processor? An eight-bit device takes one cycle to set all eight bits on a single port. So why not just connect the six serial connections on six bits of the same port? Weigh in with your thoughts in the comments.

Continue reading “Multiple Core Propeller Speeds Up Display Addressing”

Cheap And Easy SMS Via GSM For Your MCU

Non acronym version of the title: send and receive text messages via cell phone communication towers using an Arduino or other microcontroller. “We’ve been doing that for years!” you cry, well yes, technically. But [Fincham] lays it outs simply; commercial offerings are expensive and finding a cell phone that uses RS232 now a days is getting difficult, so a new way of doing the same old is necessary. The good news is USB GSM modems are readily available, cheap, and only require a few interface pins to get them talking with an Arduino. In fact, the image above is all you need.

Game Boy Printer USB Cable And Software

[Furrtek] hooked up his Game Boy printer for use with a PC (translated). The two-part hack started with a cable to attach the device via USB. A Nokia interface cable was used as a base to translate the USB signals into serial, and an ATtiny45 microcontroller added to talk to the printer. He did a great job of free-forming the circuit alterations and fitting it back into the plastic USB plug housing.The next step was to write some software. Using VB6 he coded an application that loads in an image, scales it to fit, and allows you to adjust the contrast that the thermal printer produces. For testing purposes he’s reusing old receipts. See it in action after the break.

Continue reading “Game Boy Printer USB Cable And Software”

Photo Booth For A Wedding

[Joe Bain] built a portable photo booth for his wedding. We’ve looked in on photo booths before, both as a robust feature in your apartment and as a mobile option. But making it part of a wedding reception is the best reason we’ve found to build one. [Joe’s] electronics consist of a laptop, camera, screen, and a big pushbutton that interfaces via a serial cable and adapter. He found some software that was written for photo booths which takes care of almost everything including polling the “go” button.

The booth itself is a frame build from PVC pipe (another chance to use those fancy fittings) with fabric dividers hanging from it. This is fun for the wedding-goers and it produces a bit of nostalgia for your scrapbook.

USB Adapter Options

[Ladyada] takes some time out of her day to explain the common options available for connecting projects through USB. You may be thinking that you already do this with an Arduino. Well, yes and no. The Arduino uses one of these options, an FTDI chip that handles the USB on one side and spits out microcontroller-friendly voltage signals on the other. This chip can be used with your projects, a topic that [Phil Burgess] covered in great detail.

In the video after the break you’ll also hear about USB to serial converters which connect to the Universal Serial Bus and output the traditional 12-20V serial signals (with the exception of cheap knockoff cables like the one from last week). These need to be stepped down to 5 volts or less using a MAX232 chip to work with your project.

Finally there’s the option of using a microcontroller running the V-USB firmware package. This is how the USBtinyISP works and I’ve used it in my own projects to build a LIRC compatible IR receiver.

Continue reading “USB Adapter Options”