HDLU-2416

Serial Backpack for Avago HDLx-2416 Using Teensy

I purchased an Avago HDLS-2416 display from eBay a while back for my refrigerator monitor project (Fridge Squid FTW!).  This is a really nice compact 4-character 5×7 alphanumeric display, extremely bright and readable.

Unfortunately it was the wrong part; the 2416 is a parallel display, requiring 16 pins for normal operation.  What I *should* have ordered was a HCMx-29xx display, which is a serial device that already has Arduino support (check out the library on the PJRC site).

Last week while researching batch PCB creation on the dorkboxpdx site I stumbled across an interesting post by Ward Cunningham (yes, THAT Ward Cunningham).  In this blog post Ward describes how the 2416 is a near-perfect fit for the Teensy USB development board, a tiny AVR-based board from PJRC.  While Ward’s post focuses on using Txtzyme via the USB port to drive the display, it got me thinking about how to turn this display into a simple serial device that wouldn’t use up all of the ports on my Arduino.

I already had a couple of Teensy boards in my collection from my initial Arduino purchasing frenzy; I picked them up before I discovered the Arduino FIO, which is a much better fit for my wireless sensor project.  Sure enough, the 2416 display fits the Teensy like a glove, almost like they were made for each other.  I initially thought that I’d mount the display using low-profile female headers; soldered the headers on the board, plugged in the display, and…nothing.  Turns out that the pins on the Avago display are far too fine to make reliable contact with the female header that I had installed.  Oops.

I’ve gotten pretty good at soldering over the last couple of months, but desoldering? Not so much.  Removing the female headers took some doing, but eventually I got them removed and soldered the display directly to the Teensy.  Plugged everything in, uploaded Txtzyme to my Teensy and ran Ward’s yow! Perl script.  Very close – alpha characters worked fine, but no numerics or punctuation.  A bit of debugging and I found the problem.  In my haste to remove the female headers I had accidentally pulled the solder pad from one of the Teensy’s pins; a quick jumper to another digital pin, quick change to the perl script, and everything was right with the world again.

I spent some time banging out a simple bit of code to run on the Teensy, and will post the library up on my GitHub account once I’m happy with it.

This could be a nice solution if you wanted to include a HDLx-2416 or similar but were running out of digital outputs on your microcontroller.  This solution provides display integration with a single serial pin, rather than the five required for the serial HCMx-29xx serial display.

Edit: 7/24/2011: Found a source on EBay selling a bunch of these for a very reasonable price ($12.50); check out the auction here.

2 thoughts on “Serial Backpack for Avago HDLx-2416 Using Teensy”

  1. Hey Steve,

    Look forward to hearing how your display works, it would be cool to have a SEGmeter with a display, though we have been using android 7 inch tablets a bit – and looking forward to honeycomb with SVG support.

    Keep at that de-solding! I’m starting to get pretty good at it! It just needs a nice hot iron, patience and I use a small tabletop vice to hold the board vertical. On hand heats the other either tweezers or sucks.

    Sam,
    @samotage

    In othern

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>