Impressive Dev Boards For Your STM32 Dev Boards

stm32-discovery-breakout-boards

It seems there are a lot of people who have the same complaint about the STM32 Discovery boards; it can be difficult to add external hardware to them. Don’t get us wrong, we appreciate all of the pins being broken out (as opposed to the Stellaris Launchpad which we think has too few available). Here’s [Scot Kornak’s] solution to the problem. He created three different baseboards which the STM32 Discovery plugs into. Each is for a different model of dev board: the VL, F3, and F4. But he also thinks the baseboard we saw in this other project is a good choice for an F4 solution.

These large PCB add-ons bring functionality in two different ways. The first is by using expandable ports for drop in modules like serial communications connectors or Analog/SPI/I2C modules. For us, the second method is the most desirable. He routes each GPIO port to a 2×8 header and uses IDC cables (rainbow cable in these images) to connect them to a breadboard. Seeing this makes us wish STM had used discreet clusters of 16 pins instead of those super long dual pin headers.

Valentine’s Puzzle Box Makes You Work For What’s Inside

valentines-puzzle-box

Here’s a new take on a gift box which has been locked from the inside. I doesn’t rely on GPS coordinates or a real-time clock to unfasten the latch. Instead, the box itself acts as a puzzle. You follow the visual and audio clues, turning the box along three axes in order to input the unlock code.

There are three different difficulty settings. The easiest uses the LED heart to indicate which direction to turn the box next. This is accompanied by a beep for correct or a longer tone for incorrect movements. On the medium setting you can only go by the tones, but once you screw up the lights will aid you in getting back to where you where when making the mistake. The impossible setting doesn’t use the lights at all.

[Matt] took inspiration from some reverse geocache projects featured here on Hackaday. He already had an STM32F3 Discovery board on hand which he received as a sample. It’s driving all of the electronics inside, with the on-board gyroscope as the input device. Don’t miss the video after the break to see how well the thing works.

Continue reading “Valentine’s Puzzle Box Makes You Work For What’s Inside”

Running X86 Apps On Windows RT Devices

Windows RT, the version of Windows being loaded onto ARM-powered tablets and netbooks such as the new Microsoft Surface, has one drawback: there are tens of thousands of apps written for x86 hardware that simply won’t run on this new ARM-powered architecture. While this may present a problem for hospitals, banks, and other institutions needing a proper Wintel platform, we’re wondering how to get classic games such as Civ III and Age of Empires running on these new tablets.

It seems with a lot of black magic, [mamaich] over at the XDA Developers forum has a solution for us. He’s created a tool for running x86 Win32 apps on Windows RT. Basically, he’s created an x86 emulator for ARM devices that also passes Windows API calls to Windows RT.

So far, [mamaich] has been playing some classic Windows games on his Windows RT box, including Heroes of Might and Magic 3 and Space Cadet Pinball from Windows 95. A few utility apps such as 7Zip and WinRAR also work.

[mamaich]’s plans for his build are to make x86 emulation more automatic without the need for a separate launcher tool. Then, finally, we’ll have the perfect portable platform for RTS games.

UDP Between STM32-F4 Discovery Boards

stm32-f4-udp

[The Backwoods Engineer] tested out a new accessory kit for the STM32-F4 Discovery board. The image above shows two boards communicating with the UDP protocol. Notice the extra PCB into which each Discovery board has been plugged. This is a third-party add-on which adds Ethernet, RS-232, SD card slot, and a connector for LCD or Camera. We’ve had one of these F4 Discovery boards on hand for a while and haven’t figured out a good way to connect external hardware to the huge dual pin-headers. This doesn’t solve the problem — the base board also includes dual headers to break-out all the pins — but having Ethernet, serial, and SD certainly reduces the need to add all that much more. The other drawback to the hardware is that the sample firmware is targeted at the IAR Embedded Workbench which is neither free, nor in the realm of affordable for hobbyists.

The NIC used on the baseboard has auto-crossover capabilities so the boards were connected using a regular Cat6 patch cable. This example has the boards constantly sending UDP packets with the module on the right reporting status information to a terminal via the serial connection.

Stellaris Launchpad Shield Shows Good Fabrication Technique

launchpad-shield-with-great-fabrication

Here’s an LED and Button shield for the Stellaris Launchpad (translated) which you can fabricate at home. It gives you access to a 5×5 matrix of LEDs, and adds four more buttons. In order to cut down on the number of I/O pins required to operate the lights [Cosimo] is using the concept of Charlieplexing. This lets him get away with just six driver pins and four button pins.

It’s not just the finished product that interests us here. The fabrication itself is worth clicking through to his project post. What initially caught our eye is the use of Kapton tape as an insulator so that clipped off LEDs could be used as jumpers flat against the top side of the board before populating the LEDs themselves. After those are soldered in place he masks them off, as well as the button footprints, and uses spray paint to protect the top side of the board. The final look is more polished than most at-home project boards.

A Better Template For Your STM32 F3 Dev Board

If you’ve picked up one of those really cool STM32 ARM dev boards, you’ve probably poked around looking for a good toolchain. No fear, then, because [Matt] has your back. He put together a template for the ARM Cortex-M4 powered STM32 board.

[Matt] had been using a template for the STM32 F4 we’d covered before, but found the implementation a bit lacking. Wanting to exploit the functionality of his fancy STM32 F3 board, [Matt] took the F0 template whipped up by our very own [Mike S] and got it to work with the newer, fancier dev board.

There are a few bonuses to using [Matt]’s template; the ARM chip in the F3 Discovery board has a hardware floating-point unit that is inaccessible using the Code Sourcery G++: Lite Edition toolchain. [Matt]’s use of gcc-arm-embedded allows access to the hardware FPU, a great benefit for a great board.

A Guide And Helper Script For ARM Cross Compiling Toolchain On A Mac

mac-arm-toolchain-script

[Mitchell Johnson] wanted to develop for the STM32F4 Discovery board on his Mac. There are a few ready-to-use options when it comes to the ARM toolchains, but he couldn’t find one that satisfied all of his needs. After working out all the kinks he wrote a guide and tweaked a script to install the ARM tools on a Mac.

The problem he had with some of the pre-packaged tool chains is that they didn’t support the hardware floating point functionality of STM’s Cortex-M4 chips. To get around this without doing his own ground-up build (which can be quite a challenge) he forked the Summon Arm Toolchain script and modified it to include ST-Link support in the build. One of the things that we like about that script is it installs the tools in a sub-directory of your home directory. This way if you already have another ARM toolchain you can switch between the two by tweaking your PATH variable.