[Barry] needed some way to get serial output to help debug his efforts to port Linux to the HTC TytnII (Windows mobile Pocket PC phone). He wrote some code to send serial output via one of the LEDs on the phone and rigged up an AVR to pic up the output and provide a USB interface to the computer. It runs at about 200bps – perfect for the quick debug session.
serial189 Articles
Tom’s RGB Mood Lamp
[Tom] has been refining a board that drives a high power RGB LED for applications like this moodlight. It’s based around an ATmega8 microcontroller. The goal was to make an RGB LED easy to work with: It can cycle between colors in standalone mode. You can control it via a serial interface. It also has a pin header to hooking up three potentiometers for manual color mixing. Boards aren’t available yet, but he’s already posted a build tutorial. The board looks straightforward enough that it shouldn’t be too hard to layout if you really want to.
Nokia Color LCD Flickr Frame
Tinkerlog got their hands on a color LCD from SparkFun and set it up to receive images from Flickr. These color LCDs are 128×128 pixel and the include a breakout board with a separate power supply for the backlight. Communication is via a three wire SPI bus plus a reset line. [Alex] used an ATmega48 for control, which is connected to the computer using an RS232 to USB converter. The wiring schematic is here.
For the software side of things, he adapted Sparkfun’s example ATmega8 code for the microcontroller (he couldn’t get the Arduino code to work). Beej’s Python Flickr API was used to grab the images. The Python Imaging Library converted them, and finally, they were sent to the display using pySerial. SparkFun has been offering these displays for quite some time; it’s good to see a quality writeup of one in use.
[via Make Flickr Pool]
How-To: Super Simple Serial Terminal
This hack shows how to make a dumb terminal out of a keyboard, LCD screen, and an 8-bit microcontroller. From time to time, a portable dumb terminal can be handy for when you have to rescue a headless server that’s acting up or if you are building a minicomputer out of a WRT, or if you just want to learn how to run a keyboard and LCD screen with a microcontroller. This super simple serial terminal will use RS-232 to control a headless linux system. Additionally, you might want to check into some of the command line interface programs that allow web browsing, AIM and IRC chatting and more directly from the terminal, but nothing beats being able to track your pizzas with this device.
The Linux system in question here will be Linux Mint. It’s a young distro based on Ubuntu that’s gaining a lot of attention lately, though the principles can be used for other Linux distros.
Porting CHDK To New Cameras
While researching the CHDK How-To, we came across the team’s instructions for porting the firmware to entirely new cameras. In theory, CHDK should work on any Canon running the DIGIC II or III processor since most of them are running the same VxWorks OS. A dump of the camera’s firmware is required before porting work can begin. On some cameras, the firmware was retrieved using software, but others required a hardware route. Pictured above is a Canon A610 that’s slowly flashing out every bit of its firmware using the built in LED. The photodiode is hooked up to a soundcard where the entire bitstream is recorded. It takes 1-7 hours to read the entire firmware. Once the sound file has been captured, it’s reverted to the original bytes and can then be decompiled with something like IDApro.
Maker Faire 2008: ShiftBright RGB LED Module
We made a point to stop by [garrett]’s booth at Maker Faire to to see what he had been working on. You may remember him from his random caps locker shenanigans. He’s just recently released the ShiftBright RGB LED module which makes it easy to implement a string of individually addressable LEDs. The module is based on the Allegro A6281 3-Channel Constant Current LED Driver. The driver chip is capable of displaying a billion colors using an RGB LED. The 3x3mm package is mounted to the backside of the board while a bright common-anode RGB is mounted to the front. The modules are designed to be daisy chained together and are individually addressed using a serial interface. You can find Arduino example code on the site and more info on how the item was developed. Read on for close up images.
Continue reading “Maker Faire 2008: ShiftBright RGB LED Module”
Serial Output For Your Weather Station
I spent part of my weekend with some sort of stomach virus, so Eliot stepped in for me yesterday. I’m taking next week off, so we’ll have a special guest starting Friday – but I’m not revealing who just yet.
[Fickara] sent in his AVR interface(in Italian) for an Oregon Scientific remote weather station. Thanks to the AVR, data is output via RS232. There are quite a few less expensive weather stations – usually PC output models are over $100, so this could be pretty handy. His page has several other projects including an oscope clock, POV on a stick, etc.