Reading A Digital Caliper With A Microcontroller

[Maris] wanted a way to read measurements from a digital caliper electronically. He ended up using the TI Launchpad to accomplish this, but not all of the necessary hardware is seen above. The calipers cost him about $7 on eBay, and they have four interface pins which made this hack quite a bit easier. After a bit of probing he established their purpose; voltage, ground, clock and data. A bit of scoping proved that data was being sent in 24-bit burst in packets that are quite easy to decode.

From there it’s just a matter of interfacing with a microcontroller. The chip he’s using is an MSP430G2231 that runs at 3.3V, but the caliper’s logic high is only 1.5v. By constructing an adapter using a pair of transistors, the data and clock from the calipers are able to pull pins on the MSP430 low. This is collected and analyzed by [Maris’] firmware and can be read on a PC using a terminal program.

[Thanks Chris]

Composite Video With MSP430 Chip

[NatureTM] used part of the Thanksgiving holiday to get composite video output working with an MSP430 microcontroller. He’s using one of the chips that came with the TI Launchpad, which is a big hardware limitation because of the relatively small code memory and RAM. The chip displays one still image at a resolution of 192×40 pixels. Still, this is a great way to learn about composite video signals, as a lot of other projects use a TVout library to save you the headaches. All you’ll need is a TI Launchpad, a 16 MHz crystal oscillator, two resistors, and an RCA jack. Dig through the code and see what a great job [NatureTM] did of offloading as much work onto the chip’s peripherals as possible.

Launchpad Takes Ultra Low Power To The Extreme

We’ve all known the MSP430s under the Launchpad are designed to be low power, but who wants to bet how long the chip can last on only 20F worth of capacitors? A couple of hours? A day at max? [Kenneth Finnegan] setup a MSP430 with supercaps to find out. To make sure the chip is actually running, [Kenneth] programmed it to count from 0 to 9 over a period of 10 seconds, and then reset. To get it ultra low power, the chip is in sleep mode most of the time, and a raw low current LCD is used to display the output. While [Kenneth] simply checks the chip every few hours to see if it’s still counting, a setup much like the Flash Destroyer, tracking a clock and then storing the current value would get a more exact time of death. Either way, it’s been over 3 weeks…and still counting. Video after the rift.

Continue reading “Launchpad Takes Ultra Low Power To The Extreme”

Launchpad Not Limited To Value Line Chips

Wanting to use my TI Launchpad as more than just a development board I thought I’d do a few experiments using it as an in-system programmer. After a few tripping points I was able to get it working and then some. It seems that the device is not limited to just the value line of microcontrollers it was intended to support. In the image above I’m using it to program an MSP430F2272 which is a pretty powerful little chip with 32 KB of program space. Click through the break for more information on the setup.

Continue reading “Launchpad Not Limited To Value Line Chips”

Meter Clock Using The TI Launchpad

Here’s an analog meter clock using an MSP430G2211 microcontroller. [Doug Paradis] chose this processor because it is the lesser of the two that come with the TI Launchpad. The parts count is fairly low too; a clock crystal, two analog meters, a few buttons, and a voltage regulator.

He’s done a nice job putting this together. We challenge you to give this a try yourself and build on [Doug’s] features. We really liked the calibration subroutine in [Alan’s] multi meter clock. It would be fun to implement that functionality and store the calibration code in the MSP’s flash memory. You can use our ported garage door opener code if you need an example of how to store data in flash.

How-to: Launchpad Programming With Linux

When TI released their Launchpad development board at the end of June it generated a lot of Buzz. Here’s a package that delivered a programmer, debugger, two microcontrollers, and some accessories for less than five bucks (including shipping). They even provided a choice of two software suites but only for users running Windows who don’t mind proprietary software. If you’re looking to go another way you should consider trying out the open source alternative MSPGCC. After the break we’ll take a look at getting the tool-chain up and running in a Linux environment.

Continue reading “How-to: Launchpad Programming With Linux”

MSP430 Based Single LED Clock

[Kenneth Finnegan’s] latest clock makes use of the TI Launchpad for programming and debugging MSP430 microprocessors. We took a look at the Launchpad when it was released and we’re glad to see some hacks resulting from availability of that tool. The clock reads out the time using a bi-color LED. Press the button and a series of flashes will tell you the time. A three-position toggle switch is used along with the push button for setting the time. The protocol he developed is outlined in his demo video after the break.

We like [Kenneth’s] use of a plastic electrical box as a project box. They’re cheap and you can find them everywhere in many different sizes. He mentions the difficulty in drilling through the faceplate. We’ve had our share of shattered plastic trying to drill holes in the darn things. If you’ve got some tips on faceplate-modification we’d love to hear them.

This clock is sure the polar opposite from the TTL clock that [Kenneth] showed us back in March, trading jumper wires for lines of code. We’re going to give this one a try, hopefully fixing the button debounce along the way.

Continue reading “MSP430 Based Single LED Clock”