TI makes some great chips, and to sell those chips, they’re more than willing to put together some awesome tutorials, examples, and online classes to get engineers up and running. This isn’t limited to $5 Launchpads; TI has a great video and lab series for their precision OpAmps. These tutorials come with an evaluation module that costs about $200. Yes, that’s two Benjamins for a few OpAmps and a PCB. Of course no engineer would ever pay this; their job would. But what about someone who wants to learn at home?
That’s where [SUF]’s project for The Hackaday Prize comes in. He’s building a replica of a $200 lab board, and even without researching the cheapest solution for each individual component, [SUF] reckons he can build this kit for about $50. Like I said, the TI board is a business purchase.
The complete lab and tutorial TI offers uses NI’s virtual lab. This, again, isn’t something a random electron hacker could afford, but anyone who wants to go through this teaching module would probably use their own tools anyway.
As far as projects to teach electronics go, [SUF] has knocked it out of the park. He’s already relying on excellent tutorials, but bringing the price down to something a little more sane and amenable to checkbooks that aren’t tied to the corporate account.
It isn’t much trouble programming one of TI’s MSP430 chips, but outside of the official Flash Emulation Tool, TI doesn’t make programming one of these microcontrollers cheap. The most common way of programming an MSP430 is using a Launchpad Dev board, and [Vicente] has the best looking one yet.
The MSP430 series of chips can be programmed through JTAG or Spy-By-Wire, and the official, professional engineering tool from TI for these chips costs about $100. Those of us with more sense than money have another option – use one of the TI Launchpad dev boards as an MSP430 programmer.
[Vicente]’s project uses the MSP430G2 Launchpad, with just a few wires going to the proper connector found in the official programmer from TI. There are a few limitations; the programmer only works at 3.6V, so programming 1.8V devices might not be a good idea. Also, it only works with Spy-By-Wire and no JTAG support is available. Still, it’s a great looking project, and does exactly what it’s designed to.
In addition to all the cool boards and booster packs found at Texas Instruments’ booth at Maker Faire, the folks from 43oh.com made a showing, but not next to the TI booth. In fairness, the TI booth was right across from NASA. 43oh is cool, but not NASA cool.
[Eric], known on the 43oh forums as [spirilis] showed off a few of the neat bits and bobs developed on the forums including a lightning detector, a VFD clock, a robot, and a whole lot of blinky things. There was an astonishing array of projects and boards at the booth, covering everything from OLEDs to motor drivers.
43oh is an interesting community centered around TI’s microcontrollers, like the AVRfreaks forum built around Atmel’s offerings. 43oh has a very active forum, IRC, and a store featuring projects made by members. It was great to see these guys at the faire, and we wish more of the homespun unofficial communities would make more of a showing at cons in the future.
Sorry about the mic cutting out in the video above. There was a sea of spewing RF near the booth. If anyone has advice for a *digital* wireless mic setup, we’re all ears. This is the current rig.
Freescale was very kind to Hackaday at Maker Faire this weekend, showing off a few boards and answering a few questions about why old Motorola application notes aren’t available on the Internet.
The Hummingboard from SolidRun comes in an oddly familiar form factor to anyone who has ever handled a Raspberry Pi. It also has an interesting feature: the CPU is on a small module, allowing anyone to upgrade the chipset to something significantly more powerful. In the top of the line configuration, it has a two core iMX6 CPU with a Gig of RAM, LVDS output, and Gigabit Ethernet. All the complex bits for this board are on a single module, allowing anyone to take the module and put it in another project, a la the Intel Edison.
Also in the Freescale booth was the pcDuino, a dual core ARM Cortex A7 with Ethernet, WiFi, and a SATA, with Arduino form factor pinouts. It’s a somewhat niche product, but being able to stack shields on something comparable to a Raspi or BeagleBone is a nice feature.
[Trey German] from Texas Instruments showed off some very cool stuff, including a quadcopter board for a Launchpad microcontroller. This isn’t a board with an IMU and a few servo outputs; this is the whole shebang with a frame, motors, and props. The frame was cut from some odd composite that’s usually used for road signs, and even though it wasn’t flying at the Faire (nothing was flying, by the way), it’s pretty light for a quad made at a board house.
Also from TI was their CC3200 dev board. This is a single chip with an ARM Cortex M4 and a WiFi radio that we’ve seen before. The CC3200 runs TI’s Wiring/Arduino inspired development environment Energia, and at about $30 for the CC3200 Launchpad board, it’s an easy and cheap way to build an Internet of Things thing.
Energia is a tool that brings the Arduino and Wiring framework to Texas Instruments’ MSP430 microcontrollers and the MSP430 Launchpad development board. This allows for easy development in an Arduino-like environment while targeting a different microcontroller family.
One problem with Energia and Arduino is the difficulty of debugging. Usually, we’re stuck putting a Serial.println(); and watching the serial port to trace what our program is doing. Other options include blinking LEDs, or using external displays.
Code Composer Studio, TI’s official development tool, allows for line-by-line debugging of applications. You can set breakpoints, watch the value of variables, and step through an application one instruction at a time.
The good news is that the latest version of Code Composer Studio supports importing Energia sketches. Once imported, you can step through the code and easily debug your application. This is a huge help to people developing more complex software using Energia, such as libraries.
TI gives us an overview of the new feature in a video after the break.
[Thanks to Adrian for the tip!]
Continue reading “Proper Debugging for Energia Sketches”
Orientation trackers can be used for a ton of different applications: tracking mishandled packages, theft notification of valuables, and navigation are just a few examples! A recent blog post from Texas Instruments discusses how to build a low-cost and low-power orientation tracker with the MSP430.
Based on the MSP430 LaunchPad and CircuitCo’s Educational BoosterPack, the orientation tracker is very simple to put together. It can also be made wireless using any of the wireless BoosterPacks with a Fuel Tank BoosterPack, or by using the BLE Booster Pack with a built in Lithium Battery circuitry. TI provides all the necessary code and design files in their reference application for getting your orientation tracker up and running. Be sure to see the device in action after the break! This project not only involves building a low-power orientation tracker, but also showcases IQmathLib, a library of optimized fixed point math functions on the MSP430. One of the more challenging aspects of using small MCUs such as the MSP430 or Arduino is how inefficient built in math libraries are. Check out the IQmathLib, it greatly improves upon the built in math functions for the MSP430.
It would be interesting to see this project modified to be a DIY pedometer or be used on a self-balancing robot. It would also be interesting to see the IQmathLib ported to other micros, such as the Arduino. Take a look and see how you can use this reference design in your own projects!
Continue reading “Low-Power Orientation Tracker and an Optimized Math Library for the MSP430”
There is something to be said about how easy it is to write Arduino code. For those of who you are big fans of the MSP430 and Texas Instrument’s LaunchPad series, an upcoming release of Energia brings Arduino style coding to the two newest member of the LaunchPad family: the TivaC Connected LaunchPad EK-TM4C1294XL and Wolverine FRAM LaunchPad MSP-EXP430FR5969LP.
“Energia is an open-source electronics prototyping platform … with the goal to bring the Wiring and Arduino framework to the Texas Instruments MSP430 based LaunchPad.” The newest release of Energia is exciting for the sole reason that the new TivaC Connected LaunchPad and Wolverine FRAM LaunchPad are supported. The TivaC Connected LaunchPad is a $20 development board for TI’s low-power ARM processors that has Ethernet connectivity. The MSP430 at the heart of the Wolverine FRAM LaunchPad uses up to 250x less power than flash based MCUs at low speeds in addition to many other cool benefits.
Be sure to keep an eye out for the new version of Energia, it should be arriving sometime next week. Now is a better time than ever to try out the Tiva C or the MSP430 MCUs!