TI Launchpad as AVR ISP programmer

[Minifloat] is using his TI Launchpad development board as an In-System Programmer for AVR chips (translated). There are a ton of homebrew AVR programmers out there, and using an Arduino for ISP is quite popular. But recently we searched for a way to use the Launchpad as a programmer and didn’t find one. We’d venture to say this is the first.

There is one hardware modification that must be made. An external clock crystal (32.768 kHz) must be populated on the board. But since it was designed with the feature in mind that’s a pretty quick process. [Minifloat] followed Atmel’s ISP app note, and extended some of the code written for a different programmer to get things up and running. At first the device wouldn’t communicate with AVRdude, but that turns out to be a problem with the initialization conversation. AVRdude polls the connected programmer to see if it supports block mode, and the firmware on the MSP430G2211 wasn’t expecting this query. The problem was fixed and it now works.

It sounds like there are a couple of bugs left in the system. The first time AVRdude accesses the programmer after it has been plugged into the USB port it will fail. Subsequent attempts will succeed until the MSP430 chip is reset, or the USB connection is replugged. But if you’re just getting into the AVR line, this will let you figure out if you want to invest in a proper programmer.

Touch-based wirless RGB lamp control

[Alex] built an add-on board for his TI launchpad that lets him use it as a wireless controller for an RGB lamp (translated). As you can see above, the board has a pair of female pin-headers which make it easy to install or remove the board. This way you can use it for other projects without any hassle.

The board itself doesn’t have any buttons. Instead, [Alex] etched a two-sided PCB, including pads for use as capacitive touch sensors. Here we only see the underside of the board, which hosts four RGB LED modules. These give feedback by showing the levels which are about to be set for each color. In the clip after the break you’ll get a good look at the touch sensors. There are two that act like buttons, scrolling through each color channel, and sending the updated values to the lamp via a wireless module mounted on that same side. There are also four pads which act as a slider. We didn’t see any code but apparently this uses one of TI’s touch sensor libraries.

[Read more…]