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.
[Bill] wants a little piece of mind when his infant is sleeping in the other room. For him, the audio-only baby monitor could use some improvement. His proof-of-concept is that blue patch Velcroed on the swaddled infant. It monitors movement, orientation, and temperature and alerts you when something’s amiss.
Inside the pouch you’ll find a TI Chronos eZ430 wristwatch with the band removed. It’s a nice hardware choice because it includes an accelerometer, temperature sensor, and RF link to a USB dongle. [Bill’s] code sends a data packet to the PC about once a second. The PC watches to make sure there’s slight motion, indicating the baby is breathing. This part doesn’t work all that well as the accelerometer doesn’t pick up tiny movements all too well, but it does have potential. In the video after the break you can see the functions which make sure the baby doesn’t roll onto its belly, and that she’s not too cold do work extremely well.
We wonder if the accelerometer would pick up more motion if the watch was hung from a string inside of a small enclosure. This way it would swing back and forth with small movements. But perhaps that would make the whole thing too bulky?
Continue reading “TI Chronos watch monitor your sleeping infant”
The [Fédération Internationale de Football Association] is joining the growing list of professional sports that is adopting technological means in an attempt to help the human referees. After a botched call in 2010 the organization called for a system that would work day or night, with 100% accuracy and the ability to report to the Refs in less than 1 second. The applicants have been weeded out and it comes down to two systems, both of which use a piece of personal hardware we’re quite familiar with. [Fe80], who sent in the tip, recognized the TI Chronos eZ430 watch in the image above.
The two systems both use the watch as an interface, but work very differently. The first, called GoalRef, uses a sensor suspended inside the ball. This detects a magnetic field made up by the goal posts. We’d guess it’s an inductance sensor that is triggered when it passes a coil in the goal posts (we didn’t find much in the way of technical info so please do your own speculation in the comments). The second system is very familiar. It’s the Hawkeye camera system used by the APT (Tennis) in all the major tournaments.
[Mike Field] was working on interfacing his TI Chronos eZ430 watch with the Raspberry Pi. As things were going pretty well, he took a side-trip from his intended hack and implemented watch-based control for an RPi audio player.
It really comes as no surprise that this is possible, and even easy. After all, the RPi board has native USB capability for hosting the watch‘s RF dongle, and it’s running Linux which we know already works well with the Chronos platform. But we still love the thought of having automation controls strapped to our wrist!
mpg321 is the audio playback program used for this hack. It plays MP3 files using ALSA for sound, which does have a few hiccups on the RPi. [Mike] found workarounds and included them in the C program he uses to gather everything into one nice code package. Control depends on keypresses sent from the watch (meant for use with PowerPoint) which are translated by his code and pushed to the audio/mp3 programs.
[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.
[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.
DIP, SOIC, BGA, MLF or QFP? None, so it seems.
This morning I received an email from Texas Instruments. Normally, these things go right into the spambox but this one was a bit unique. You can now buy some of TI’s IC’s without any packaging. Yup, just trays full of silicon squares. From TI’s point of view miniaturization has reached a point where that extra 0.1″ of PCB space is now too valuable to give to a piece of worthless plastic, and bonding micro-small wires to a silicon die is a feat that any manufacturer can preform with great accuracy, reliability and speed.
Whether this is a new paradigm in manufacturing or a premature April fool’s joke, if this process catches on smartphones just went from being almost unrepairable to 100% unrepairable, and ipod nanos might just start playing back 1080p video. It’s awesome and scary at the same time.
Now, are they crazy, or just ahead of their time? Tell us what you think.