Friday, March 7, 2008

I Rememeber When I Shook the Polaroid Picture

OK. so I really didn't shake it.  The Polaroids I took were the peel-apart type, so you waited 30 seconds, peeled off the paper, and voila, your photo was fully developed.  A couple of weeks ago Polaroid announced they were discontinuing all instant film, I was a bit disappointed but not surprised.   I didn't take a lot of Polaroid photos, but in college I picked up a used Polaroid Reporter camera at Gary Camera.  I don't recall the price, but it was pretty cheap. It used pack films like the fabulous 667 black and white.  Polaroid 667 was rated iso 3000 and incredibly fine-grained for a film that speed.   (By that time in the late '80s Polaroid pack films were mainly used by professionals with medium format cameras fitted with a Polaroid back.)  Unfortunately, while it was fun to play with, the Reporter was pretty much a piece of crap camera.   It was a rangefinder-type camera with a focus setting you just guessed at.  I think the lens was made out of plastic.

My intention was to use to use the camera when shooting photos for the Debris for instant "feedback" on a shoot, but in reality more often it was used for quick snapshots, whether it be to capture a problem one of my study partners and I had worked out on a chalkboard or a friend like Bubba at a party.

Friday, February 1, 2008

Telex network still in operation?

 This week the FCC invited comments from parties interested in Verizon's application to discontinue Telex service in all 50 states. Honestly, I was shocked to hear this as I would have thought this had already happened... Email and faxes supplanted the service a number of years ago. Telex (along with it's Bell System cousin, TWX) was a customer-dialed network that was a true forerunner to email, allowing users to send text messages instantly around the globe. Well, as instantly as 75 baud would allow. Interestingly, Telex was launched by Western Union in 1958, so this year the service would celebrate its 50 year anniversary. Telex is the last vestige of the once-ubiquitous Western Union telegraph network that predated the telephone network. (See the Western Union Alumni website for a lot of interesting info on the company...)



For awhile Telex was the most widely available telecommunications service in the world, even more available than voice. This was at least partially true until recent times as I recall folks from Caterpillar telling me that this was how they were communicating with many of their dealers in third world countries in the 1990s. Often when a government was toppled and the country's voice connections were severed, Telex connections were still available. (Probably because they could easily be tapped and recorded...)




It will be interesting to see if the Commission gets a lot of comments on this proceeding. It will also be interesting to see if this topic gets any press similar to the "Last Telegram" news stories of 2006. I rather doubt it as hardly anyone remembers what Telex was...

Monday, December 24, 2007

AVR hacking

For the past couple of weeks I have finally had the chance to play with AVR microcontrollers.  A few months ago I bought an Atmel STK-500 evaluation board but it took me a while to get it fired up.  I started out using the AVR Studio integrated development environment, but being more of an old school programmer, those fancy-schmancy GUI tools with their point-and-click code editing drive me crazy.  I can edit code much faster with vi than by having to move a pointer around with a mouse.  Besides that, I try to limit the use of Windows at home, so I have successfully moved to developing code on my Mac using the GNU AVR tool chain.  Thanks to the OSX-AVR distro, the transition was pretty smooth.

Since I am just starting out, I needed to write a Hello World program.  Using the ATmega8515L processor that came installed on the STK-500, I wrote some routines to drive some DL1414 alphanumeric displays I had.  Some of my first 68HC11 microcontroller projects back in the late '80s used similar DL1416 displays, so it was sort of returning to familiar territory.  However, the AVR environment is much nicer than what I did on the the 'HC11, since writing code in C is a lot easier than hammering out assembly code one instruction at a time.




The circuit I came up with for the DL1414 was simply the external memory interface Atmel recommends for the '8515L.   It's remarkably similar to the 68HC11 <-> DL1416 interface I devised back in 1989.  (See below)  However, the Atmel processor has a mode to support it directly so I can write to the display as write-only memory, no fancy bit-banging required.  I had to bit bang the individual I/O lines with the 68HC11 because interfacing memory to the processor would use up all of the parallel I/O lines unless you used port replication expansion chip, which I didn't have.




The only snag is that the characters on the display are addressed right to left whereas strings are handled in C from left to right. Thus I needed a little extra code to reverse the order of the characters:


int dl1414str(sp)

char *sp;  /* pointer to a string to display */

{
    int length;
    int i;
    char *daddr;

    length = (int) strlen(sp);

    if (length > DL_SIZE) length = DL_SIZE;

    daddr = (char *)DL_ADDR;

    /* We have to reverse the order of the characters since the
           addressing of display characters is "backwards." */
    for (i=0;i<length;i++) daddr[(DL_SIZE-1)-i]=sp[i];       

    /* Blank out end of line if string being displayed is shorter than
       the display itself */
    if (length < DL_SIZE) for (i=0;i<(DL_SIZE-length);i++)
        daddr[i]=' ';

    return(0);
}