Update: Whistled platform upgraded for simple word recognition

Some people may remember the whistled platform I [limpkin] designed a while back, which recognizes different whistles to control your lighting. Recently, I designed a firmware that transforms the board into a word recognition device, as the 50MHz ARM Cortex M4’s processing capabilities are good enough to do so.

The simple algorithm works by correlating successive Fast Fourier Transforms (FFT) of the amplified microphone output with the FFTs of a template word previously stored in memory. Simply connect the Whistled to your power supply, say the word you’d like it to recognize and you’re good to go.

As you will see in the video embedded after the break (sorry for the accent…), I briefly explain basic principles about word/sound recognition and what you can do to improve your algorithm performances. The source files can be downloaded, as well as the code for my whistle detection algorithm which wasn’t available the first time we looked at the project.

Continue reading “Update: Whistled platform upgraded for simple word recognition”

A $5 ARM development board

Most of you know that there are plenty of ARM powered development boards out there, so you may not be really sure what a new one can still bring to the table.

With a $5 price tag, the open hardware McHck (pronounced McHack) is meant for quickly building projects on a small budget. The board created by [Simon] is based on a Freescale Cortex M4 microcontroller, and can be plugged directly into one’s computer. As a Direct Firmware Update (DFU) bootloader is present on the microcontroller, there is no need for external programming equipment.

The board has unpopulated footprints that allow users to add other functionalities that may be required for their future projects: a Real Time Clock (RTC), a Boost regulator for single cell battery operation, Buck and linear regulators, a Lithium Polymer (LiPo) battery charger and even an External Flash storage.

The Bill of Materials can be found on the project wiki and the McHck community will soon launch a crowdfunding campaign to send the 5th version of the board to all the hobbyists that may be interested.

And if you’re curious, you can also have a look at all the other boards that Hackaday featured these last months: the browser based IDE arm boardquad-core ARM dev board and the Matchbox ARM.

Hands on the Stellaris Launchpad

We just got our hands on a Stellaris Launchpad. We had placed an order when the preorder was originally announced, but the marketing folks at TI reached out an offered to send us one a bit sooner and took them up on it. We’ve embedded a quick unboxing video after the break but read on for some info that didn’t make it into that clip.

The look and feel of the board and its packaging are almost exactly the same as the MSP430 version of the Launchpad. But why not? After all it worked so well the first time. This board hosts an ARM Cortex-M4 processor. The two buttons on the bottom are user buttons, the one on the upper right is a reset button. The top of the board is the programmer, with a micro USB port for connectivity. The kit also includes about a 2′ cable for this connection. Next to that jack is a switch that selects a power source. You’ll also notice a USB port to the left, this because the processor includes USB functionality, with a free library available from TI. Power can come from the programmer/debugger USB port, or from this device USB port. There are dual pin headers to either side on the face of the board, and pin sockets on the back which break out pins of the processor. Just below the reset button is a RGB LED, and a clock crystal has also been populated just above the chip.

When plugged in via the programmer’s USB port the PWR LED lights up as does the RGB LED. The firmware that ships on the device fades through a range of colors and the user buttons scroll through a set of predefined colors. The device enumerates as: “Bus 002 Device 005: ID 1cbe:00fd Luminary Micro Inc.” on our machine. But if you connect it via the device USB jack it enumerates as: “Bus 001 Device 015: ID 04e8:689e Samsung Electronics Co., Ltd GT-S5670 [Galaxy Fit]”. Interesting.

We have no idea if there are programming tools for flashing the board using a Linux box, but we’ll be trying to figure it out. If you have some info please share it in the comments.

Continue reading “Hands on the Stellaris Launchpad”

Help create a universal ARM programmer

The new crop of ARM Cortex M0/M3/M4 microcontrollers have a lot of interesting features for developers. In addition to supporting drag and drop programming via USB, the same hardware can also be used as a debugger. Setting breakpoints and inspecting memory at any point in the code is a wonderful feature, but not all the new ARM dev boards we’ve seen support this feature.

The folks over on SimpleCortex have a solution to this problem, but they need your help. To get their CMSIS-DAP hardware working with Open Source tools, they’re looking for a few good programmers and hardware developers to build a toolchain.

Right now, the hardware only works with Keil development tools. A closed source development environment is no good to anyone, so if you have some experience writing drivers and such, send the guys at SimpleCortex an email. They’ll give you a free board in return for a contribution to building an open source ARM toolchain.

Common sense requires us to mention that you should probably only send these guys an email if you actually plan on working on this problem. Still, it’s a great opportunity to contribute to open hardware.

ARM-based debugging tool aims to improve on the Bus Pirate performance

The Bus Pirate is a fantastic development tool. It does an amazing job at a lot of different things. And as it has matured, community support has driven it to new areas beyond the original design. This is where its hardware holds back performance a little bit. For instance, as an I2C or SPI sniffer it has limited capture speed. That’s the type of thing that this board could improve upon. It’s a debugging tool based on an STM32 F4 microcontroller. That’s an ARM Cortex-M4 chip which runs at 168 MHz, and has 192 KB of SRAM.

[TitanMKD] has been working on the design but it is still just in digital form. Since there’s no prototype there is also no firmware for the device. That’s a tall mountain to climb and it’s one of the reasons we’re featuring the project now. [Titan’s] plan is to model this after the Bus Pirate interface. We think it’s a good idea since a lot of folks have already learned the syntax. We didn’t see a contact form on his site, but if you’re interested in contributing to the project you might want to leave a comment here or on his project page (linked above).

Put your ARM skills to the test with the Freescale Make It Challenge

Throw down your mad skills and you might win some cash while you’re at it. [Zeta] tipped us off that Freescale just announced a new challenge. They call it the Make It Challenge and it centers around their 32-bit Kinetis microcontrollers. These are ARM Cortex-M4 chips and if you’re selected to compete they’ll offer their development hardware at a discount for you to get started.

You’ll need to jump through a few hoops. To be considered as a contestant you’ll need to preregister, cruise through some online training, and complete a quiz. From there, just come up with an idea and submit a design paper as the first round of competition. Ten finalists will rise from the group and take their design through to completion for judging in the fall. The top three will get some serious cash ($11,000 for first place) and be treated to an expense paid trip to Austin, Texas.