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.

540 PCBs Make A Giant LED Cube

Just about anyone can make a simple LED cube. But what if you want to make a 1-meter cube using 512 LEDs? [Hari] wanted to do it, so he created two different kinds of LED boards using EasyEDA. There are 270  of each type of board, for a total of 540 (there are only 512 LEDs, so we guess he got some spares due to how the small boards panelized). The goal is to combine these boards to form a cube measuring over three feet on each side.

To simplify wiring, the boards are made to daisy chain like a cordwood module. However, to get things to line up, each column of LED boards have to rotate 90 degrees. You can see several videos about the project below.

Continue reading “540 PCBs Make A Giant LED Cube”

Go Portable With GameCube Advance SP

Off the hop, we love portable consoles. To be clear, we don’t just mean handhelds like the 3DS, or RetroPie builds, but when a maker takes a home console from generations past and hacks a childhood fantasy into reality — that’s amore. So, it’s only natural that [Bill Paxton]’s GameCube re-imagined as a Game Boy Advance SP has us enthralled.

Originally inspired by an early 2000’s imagined mockup of a ‘next-gen’ Game Boy Advance, [Paxton] first tried to wedge a Wii disk drive into this build. Finding it a bit too unwieldy, he opted for running games off of SD cards using a WASP Fusion board instead. Integrating the controller buttons into the 3D printed case took several revisions. Looking at the precise modeling needed to include the L and R shoulder buttons, that is no small feat.

Sadly, this GameCube SP doesn’t have an on-board battery, so you can’t go walking about with Windwaker. It does, however, include a 15 pin mini-din VGA-style port to copy game saves to the internal memory card, a switching headphone jack, amp, and speakers. Check it out after the break!

Continue reading “Go Portable With GameCube Advance SP”

Interview: Nacer Chahat Designs Antennas For Mars CubeSats

You have a shoe box sized computer that you want to use in a Mars fly by. How do you communicate with it? The answer is a very clever set of antennas. I got to sit down with Nacer Chahat, one of the engineers on the Jet Propulsion Laboratory team responsible for antenna design on Mars Cube One (MarCO). Two of these CubeSats that will soon be used to help a lander reach Mars. We talked about the work that went into MarCO, the deployable radar antenna he’s worked on for the RainCube project, and the early progress on OMERA, the One Meter Reflectarray.

This is a fascinating discussion of dealing with a multitude of engineering challenges including lack of available space for the antenna components, and power and weight limitations. Check out the video interview to see how the people at JPL fit it all into this, and other tiny satellites, then join us below for more details.

Continue reading “Interview: Nacer Chahat Designs Antennas For Mars CubeSats”

World’s Smallest LED Cube – Again

There’s a new challenger on the block for the title of the “Worlds Smallest 4x4x4 RGB LED Cube“. At 13x13x36 mm, [nqtronix]’s Cube Pendant is significantly smaller than [HariFun’s] version, which measures in at about 17x17x17 mm just for the cube, plus the external electronics. It took about a year for [nqtronix] to claim this spot, and from reading the comments section, it seems [HariFun] isn’t complaining. The Cube Pendant is small enough to be used as a key fob, and [nqtronix] has managed to really cram a lot of electronics in it.

The LED’s used are 0606 RGB’s which are 1.6mm square, although he did consider using 0404’s before scrubbing the idea. There’s many ways of driving 192 IO’s, but in this case, Charlieplexing seemed like the best solution, requiring 16 IO’s. Unlike [HariFun]’s build, this one is fully integrated, with micro-controller, battery and everything else wrapped up in a case made entirely from PCB — inspired by [Voja Antonic]’s FR4 enclosure technique, and the LED array is embedded in clear resin.

Continue reading “World’s Smallest LED Cube – Again”

Python Solution To A Snake Cube Puzzle

Puzzles provide many hours of applied fun beyond any perfunctory tasks that occupy our days. When your son or daughter receives a snake cube puzzle as a Christmas gift — and it turns out to be deceptively complex — you can sit there for hours to try to figure out a solution, or use the power of Python to sort out the serpentine conundrum and use brute-force to solve it.

Continue reading “Python Solution To A Snake Cube Puzzle”

RainCube Spreads Its Umbrella

There are times when a mechanism comes to your attention that you have to watch time and time again, to study its intricacies and marvel at the skill of its designer. Sometimes it can be a complex mechanism such as a musical automaton or a mechanical loom, but other times it can be a device whose apparent simplicity hides its underlying cleverness. Such a moment came for us today, and it’s one we have to share with you.

RainCube is a satellite, as its name suggests in the CubeSat form factor and carrying radar instruments to study Earthly precipitation. One of the demands of its radar system is a parabolic dish antenna, and even at its 37.5 GHz  that antenna needs to be significantly larger than its 6U CubeSat chassis.

The unfolding parabola in action.
The unfolding parabola in action.

It is the JPL engineers’ solution to this problem that is the beautiful mechanism we want to show you. The parabola is folded within itself and tightly furled round the feedhorn within the body of the satellite. As the feedhorn emerges, first the inner sections unfurl and then the outer edge of the parabola springs out to form the dish antenna shape. Simultaneously a mechanism of simplicity, cleverness, and beauty, one we’d be very proud of if it were our creation.

There is nothing new in collapsible parabolas used in spacecraft antennas, petal and umbrella-like designs have been a feature of some of the most famous craft. But the way that this one has been fitted into such a small space (and so elegantly) makes it special, we hope you’ll agree.

[via space.com]