Energia brings Arduino IDE to the TI Launchpad

The Arduino IDE is an abstraction layer for the AVR chip which the board is based around. So it’s no surprise that it is now possible to use the Arduino IDE with the TI Launchpad board. This makes it dead simple for beginners to play around with the inexpensive and low-power MSP430 platform. This is all thanks to a lot of hard work on part of the Energia developers.

The project branches from Arduino so the look, feel, and function are all about the same. Most notably, the color scheme has migrated to red to match the board color of the Launchpad. You can configure the hardware the same way by selecting a COM port and target board. Almost everything is already working, but you should check the known issues page so that you don’t try to use a function that hasn’t been ported. Right now the list includes the random and random seed functions, as well as tone, notone, and micros. There is also an issue with analogWrite; it will only produce half the requested frequency and duty cycle can only be set from 0-50%. Still this is a great development if you’re most comfortable working from this IDE.

Logic analyzer add-on for the MSP430 Launchpad

Here’s a 6-channel logic analyzer shield for the MSP430 Launchpad. It manages an eyebrow-raising 16 million samples per second. The prototype seen above is made on a hunk of protoboard with point-to-point soldering. [oPossum] did lay out a PCB — which is just 50mmx50mm — but has not had any produced quite yet.

He calls it the LogicBoost, and based it on the the LogicShrimp design. The sextuplet of 8-pin chips are all SPI RAM. These are responsible for storing the samples, with a 74HC573 latch routing the traffic. The MSP430 chip provides the SPI clock, and the Launchpad’s virtual com port can be used to push the data to a computer for graphing. That’s a bit slow so [oPossum] also included an optional header for an FTDI board that will do a faster job. The sample rate can be adjusted by tweaking the internal oscillator setting of the chip; there’s plenty to choose from so it will work for just about any purpose (as long as you don’t surpass the 16 Msps speed limit).

[via Dangerous Prototypes]

Using Spy-Bi-Wire with the MSP430 Launchpad

[Suraj] has been working with some larger MSP430 chips with won’t fit on the Launchpad board. But that’s okay because he built a shield and wrote a guide about using the Spy-Bi-Wire protocol for programming the chips.

SBW is a four-wire interface. In the past we’ve used all of the board’s programming connections for in circuit programming, but the chips that support SBW only need a connection to the SBW and TEST pins (of course the other two connections are for voltage and ground). This shield brings the four pins together into one male pin header. In the image above [Suraj] is using the technique to program an MSP430F4152. His guide is Windows-based, but looking back, [Sprite_TM] shows how to use SBW when debugging in Eclipse.

Fine tune your Morse Code skills with this mint tin practice keyer

mint-tin-keyer

Hackaday reader [svofski] wrote in to share a device he built, which would be useful to any ham operators out there trying to hone their CW skills. He calls his practice keyer the Morseshnik, and it is a combination of various items [svofski] found while digging through his parts drawer.

He disassembled an old hard drive, saving its read arm to serve as the keyer’s paddle. He purchased some small angle brackets to create a set of contacts for the device, between which the lever sits, automatically centered by a pair of springs.

An MSP430, which was also collecting dust in [svofski’s] junk pile, resides inside the Morseshnik’s mint tin base on a small DIY PCB. It allows him to toggle between manual and automatic keying modes with the flick of a switch as he whiles his time away practicing his dits and dahs.

Continue reading to see a short video of the Morseshnik in action, and swing by his site for code and PCB schematics should you want to build one of your own.

[Read more...]

Firefly cap has no battery and is meant for indoor light harvesting

[Michael Ossman] wrote in to show off his newest project. He calls it the Firefly cap, which we think is something of a play on words. You can see that it serves as the cap of a Mason jar, but it also uses a supercap instead of a rechargeable battery.

Posts about firelfly jars go way back. And [Michael] mentions that a similar firefly project was his first embedded project. The concept uses LEDs suspended in a jar. When a light detector senses the target level of darkness, the lights inside begin to twinkle like their insect namesakes.

We like this design for two reasons. It’s aimed at collecting light in an indoor environment so you don’t have to worry about placing it in the sun. And it uses a super capacitor instead of a battery so this should truly keep going and going without wearing out the energy storage components. We also like the fact that although this is a Kickstarter project, everything you need to build your own is already available at the Github repository.

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.

Finding your keys with Bluetooth

[doragasu]‘s wife is always misplacing her keys. To solve this problem, [doragasu] created a small Bluetooth-enabled key fob that is able to remotely sound an alarm when commanded to by a cell phone.

The case and LiPo battery of [doragasu]‘s project comes from a small photo frame key fob. The LCD display and PCB of the photo frame were tossed aside for a future project, and the design of the circuit started. The Bluetooth buzzer key fob is based around an MSP430 microcontroller because of their extremely low power requirements.

On the software side of things, [doragasu] built a J2ME app to connect to the key fob and turn the buzzer on. His app is portable to any Android phone, and versions can be ported to Windows, OS X and iOS devices.

How does it work? Well, [doragasu]‘s wife sometimes forgets to charge her key fob, rendering the whole project useless. There are ideas for  updating the device to a Bluetooth 4.0 Low Energy device, but no actionable plans. Still, very good work. You can check out [doragasu]‘s walkthrough and demo video after the break.

[Read more...]