STM32CubeMX Makes Makefiles

When hardware manufacturers make GUI code-generation tools, the resulting files often look like a canned-spaghetti truck overturned on the highway — there’s metaphorical overcooked noodles and red sauce all over the place. Sometimes we think they’re doing this willfully to tie you into their IDE. Not so the newest version of ST’s graphical STM32CubeMX, which guides you through a pleasant pin-allocation procedure and then dumps out, as of the latest version, a clean Makefile.

Yes, that’s right. This is a manufacturer software suite that outputs something you can actually use with whatever editor, GUI, compiler, or environment that you wish — even the command line. Before this release, you had to go through a hacky but functional script to get a Makefile out of the CubeMX. Now there’s official support for real hackers. Thanks, ST!

If you’re compiling on your own, you’ll need to update the BINPATH variable to point to your compiler. (We use the excellent GNU ARM Embedded Toolchain ourselves, which is super-easy to install on almost any Linux.) If you want to use STM32CubeMX with the Eclipse IDE, [kali prasad yadav] sent us PDF instructions — it’s not hard.

If you doubt that the availability of a free, open, and non-constraining toolchain can matter for a silicon vendor, we’d point to AVR and the Arduino platform that spun off of their support of GCC. Sure, Atmel still pushes their all-in-one wonder, Atmel Studio, which is better than the Arduino IDE by most any metric. But Studio is closed, and Arduino is open. We’d love to see the number of Studio users compared with Arduino users.

Congratulations to ST for taking a big step in the right, open-toolchain, direction.

Best Product Entry: Pocket Thermal Camera

One of the entries in the Hackaday Prize Best Product competition is [x-labz]’s pocket thermal imager. It’s more than a prototype, it’s a design conceived to get out into the world and be used by many. Best Product entries are open until July 24th, and with a $30,000 cash prize on the line let’s take a look at some of the things that elevate a project to product status.

Thanks to recent advances in the state of thermal image sensors, a tool that gives you Predator vision is almost a necessity on the modern workbench. The pocket thermal imager will find drafts in your house during winter, will tell you how to cook a steak, figure out what part is shorting out in your latest electronics project, and will tell you how terrible the heated bed is on your 3D printer.

[x-labz]’s thermal camera is based around the FLIR Lepton image sensor, an 80×60 pixel thermal imaging sensor that’s good enough for most uses. This camera is soldered onto a PCB sandwich containing an Atmel SAMD21 microcontroller, full-color OLED display, SD card, and a battery management system.

What we’ve mentioned so far isn’t out of the ordinary for any other entry in the Hackaday Prize. Building something for the Best Product competition is different, though: a lot of thought has to go into the manufacturability and the fit and finish of this device. So far, everything’s looking great for [x-labz]’s camera. There’s a 3D printed case that looks like it could be easily translated into an injection-moldable shell and at least some of the parts of the user interface are unbelievably satisfying. We’re looking forward to seeing the full Bill of Materials and a business plan (a new requirement this year). That’s an area where many hardware designers lack experience; being able to study the examples from Best Product entries will be a welcomed resource.

There’s a world of difference between building a project and building a product, and the entire goal of the Best Product portion of the Hackaday Prize is to reward those people who go the extra mile as aspiring entrepreneurs and show us how that’s done. $50k in cash prizes are set aside for Best Product; $30,000 for the winner as we mentioned before, but there is also $1000 for each of the twenty entries that make it to the finals in this category in addition to some much deserved notoriety from Hackaday’s community of hardware aficionados and early adopters.

Heathkit’s New RF Meter: Who Is It For?

Electronic hackers and ham radio operators of a certain age have a soft spot for the Heathkit brand. Maybe that’s why we had a rush of nostalgia when we saw the Heathkit site had a new product. You may recall that Heathkit had gone the way of the dodo until a few years ago when the brand started to resurface. Their latest kit is a precision RF meter which is available on preorder.

Before there were websites and hacker spaces and all the modern push to “do it yourself,” Heathkit was teaching people electronics through kit building. Sure, they were known for ham radio and test equipment, but many people built stereos (hi-fi), TVs, radio control gear, computers, and even robots. All with manuals that are hard to imagine if you haven’t seen one. They were world-class.

Continue reading “Heathkit’s New RF Meter: Who Is It For?”

Codebender Rises From The Ashes

If you were sad that Codebender had bit the dust, cheer up. A site called codeanywhere has acquired the online Arduino development environment and brought it back to life. In addition to the main Codebender site, the edu and blocks sites are also back on the air.

Not only is this great news, but it also makes sense. The codeanywhere site is a development IDE in the cloud for many different programming languages. The downside? Well, all the people who said they’d be glad to pay to keep Codebender alive will get a chance to put their money where their mouth is.

Continue reading “Codebender Rises From The Ashes”

Friday Hack Chat: 8-Bit Micros With Microchip

A few years ago, Microchip acquired Atmel for $3.56 Billion. There are plenty of manufacturers of 8-bit microcontrollers, but everyone makes 8051s, and the MSP430 isn’t as popular as it should be. Microchip’s acquisition of Atmel created what is probably the largest manufacturer of 8-bit micros, with a portfolio ranging from ATtinys smaller than a grain of rice to gigantic PICs.

This Friday, we’re hosting a Hack Chat with the Technical Marketing Engineer of 8-bitters at Microchip. If you love AVR, this is the guy to talk to. If you’re still rocking the vintage 1993 PICkit, this is the guy to talk to.

On the docket for this Hack Chat are some new PICs and some very interesting peripherals coming down the line. ADCC — A2D with computation — is on the table, along with configurable logic cells. This Hack Chat is also going to go over Microchip design tools like MP Lab Xpress.

Of course, these Hack Chats are a question and answer session for the community. We’re encouraging everyone to ask a few questions about what Microchip is doing. We’ve opened up a discussion guide for this Hack Chat. If you have a question, just add it to the list.

If you can’t make the Hack Chat, don’t worry. We’re going to have a transcript of the entire chat. That should be available here shortly after the chat concludes.

Here’s How To Take Part:

join-hack-chatOur Hack Chats are live community events on the Hackaday.io Hack Chat group messaging. This hack chat will take place at noon Pacific time on Friday, June 9th. Here’s a fancy time and date converter if you need timezone help.

Log into Hackaday.io, visit that page, and look for the ‘Join this Project’ Button. Once you’re part of the project, the button will change to ‘Team Messaging’, which takes you directly to the Hack Chat.

You don’t have to wait until Friday; join whenever you want and you can see what the community is talking about

Hackaday Prize Entry: MakerNet

One of the biggest trends in whatever market ‘Maker’ stuff belongs to is the Legofication of electronics. Building electronics is hard, if you haven’t noticed. Anything that turns transmission lines, current loops, and RF wizardry into something a five-year-old can use has obvious applications to education. For his Hackaday Prize entry, [Jeremy Gilbert] is building a fast, intuitive, modular way to explore electronics. It’s easier to use than the 100-in-1 Radio Shack spring clip kits, and you can actually make useful projects with this system.

MakerNet is [Jeremy]’s solution to the problem of complicated electronics, Arduinos connected to breadboards with DuPont cables, and apparently, to actual electronic Lego sets. The core of this system is built around the Atmel SAM D21 microcontroller, an ARM Cortex-M0+ chip that has more than enough processing power for anything deserving of the ‘maker’ label. This mainboard connects to devices through what is basically an I2C bus. Each module in the system has an in and out header. A small SAM D11 (available for $1 USD) on each module handles all the communications.

Right now, [Jeremy] is experimenting with a dozen or so modules including a captouch board, an LED matrix, OLED display, rotary encoders, and lots of blinky LEDs. It’s just a prototype, but that’s exactly what we’re looking for at this stage of the Hackaday Prize. After looking at the video [Jeremy] produced (below), there’s a lot of promise here.

Continue reading “Hackaday Prize Entry: MakerNet”

Doomed Thermostat

It is amazing how the game Doom has been ported to so many things. Enter one more port, where the hardware in question is a Honeywell Prestige thermostat.

In his video, [cz7asm] shows us the game running quite nicely on the 480 x 272 LCD with an NES controller plugged into the USB port originally intended for software updates. The thermostat runs on a STM32F429 which is an ARM9 processor that has the juice to pull it off. The Doom engine being used is based on Chocolate Doom, an open source port of the game, and the binaries can be downloaded for Windows and Mac. The source code is also available as a download for your tinkering pleasure. This project by [cz7asm]  is extended from a code on GitHub by [floppes] that was meant for the STM32F429IDISCOVERY evaluation board.

The author shares his code for the STM32F4 on Dropbox as a zip and in order to compile it, the Atmel BSP for GNU GCC is used. The video below demonstrates the hack in action and, though there is no sound yet, the satisfaction that comes from such modifications is its own reward.

What else can you run Doom on? How about a calculator or maybe the Intel Edison or even an ATM machine! If there is a processor with enough muscle power, hackers will find a way to run Doom on it. So have you seen any alien computers lately that you think can be hacked? Continue reading “Doomed Thermostat”