I have a bit of a love/hate relationship with the Arduino. But if I had two serious gripes about the original offering it was the 8-bit CPU and the lack of proper debugging support. Now there’s plenty of 32-bit support in the Arduino IDE, so that takes care of the first big issue. Taking care of having a real debugger, though, is a bit trickier. I recently set out to use one of the cheap “blue pill” STM32 ARM boards. These are available for just a few bucks from the usual Chinese sources. I picked mine up for about $6 because I wanted it in a week instead of a month. That’s still pretty inexpensive. The chip has a lot of great debugging features. Can we unlock them? You can, if you have the right approach.
For a few bucks, you can’t complain about the hardware. The STM32F103C8T6 onboard is a Cortex-M3 processor that runs at 72 MHz. There’s 64K of flash and 20K of RAM. There’s a
minimicro-USB that can act as a programming port (but not at first). There’s also many 5 V-tolerant pins, even though this a 3.3 V part.
You can find a lot more information on this wiki. The board is a clone–more or less–of a Maple Mini. In fact, that’s one way you can use these. You can use the serial or ST-Link port to program the Maple bootloader (all open source) and use it like a Maple. That is, you can program it via the USB cable.
From my point of view, though, I don’t want to try to debugging over the serial port and if I have the ST-Link port already set up, I don’t care about a bootloader. You can get hardware that acts as a USB to ST-Link device inexpensively, but I happen to have an STM32VLDISCOVER board hanging around. Most of the STM32 demo boards have an ST-Link programmer onboard that is made to use without the original target hardware. On some of the older boards, you had to cut traces, but most of the new ones just have two jumpers you remove when you want to use the programmer to drive another device.
The “blue pill” designation is just a common nickname referring to the Matrix, not the pharmaceuticals you see on TV ads. The board has four pins at one edge to accommodate the ST-Link interface. The pin ordering didn’t match up with the four pins on the STM32VLDISCOVER, so you can’t just use a straight four-pin cable. You also need to bring power over to the board since it will have to power the programmer, too. I took the power from the STM32VLDISCOVER board (which is getting its power from USB) and jumpered it to my breadboard since that was handy.
Continue reading “The $2 32-Bit Arduino (with Debugging)”
The review embargo is finally over and we can share what we found in the Nvidia Jetson TX2. It’s fast. It’s very fast. While the intended use for the TX2 may be a bit niche for someone building one-off prototypes, there’s a lot of promise here for some very interesting applications.
Last week, Nvidia announced the Jetson TX2, a high-performance single board computer designed to be the brains of self-driving cars, selfie-snapping drones, Alexa-like bots for the privacy-minded, and other applications that require a lot of processing on a significant power budget.
This is the follow-up to the Nvidia Jetson TX1. Since the release of the TX1, Nvidia has made some great strides. Now we have Pascal GPUs, and there’s never been a better time to buy a graphics card. Deep learning is a hot topic that every new CS grad wants to get into, and that means racks filled with GPUs and CUDA cores. The Jetson TX1 and TX2 are Nvidia’s strike at embedded deep learning, or devices that need a lot of processing power without sucking batteries dry.
Continue reading “Hands-On Nvidia Jetson TX2: Fast Processing for Embedded Devices”
2016 was a great year for Open Hardware. The Open Source Hardware Association released their certification program, and late in the year, a few silicon wizards met in Mountain View to show off the latest happenings in the RISC-V instruction set architecture.
The RISC-V ISA is completely unlike any other computer architecture. Nearly every other chip you’ll find out there, from the 8051s in embedded controllers, 6502s found in millions of toys, to AVR, PIC, and whatever Intel is working on are closed-source designs. You cannot study these chips, you cannot manufacture these chips, and if you want to use one of these chips, your list of suppliers is dependent on who has a licensing agreement with who.
We’ve seen a lot of RISC-V stuff in recent months, from OnChip’s Open-V, and now the HiFive 1 from SiFive. The folks at SiFive offered to give me a look at the HiFive 1, so here it is, the first hands-on with the first Open Hardware microcontroller.
Continue reading “Hands On With The First Open Source Microcontroller”
Get together with awesome hackers and build something cool. That’s the exact description for the workshops of the Hackaday SuperConference. Previously we announced all of the talks and some of the workshop presenters, but starting right now you can reserve your space in these inspiring hands-on sessions.
You must have a SuperCon ticket in order to purchase a workshop ticket. We anticipate SuperCon to be sold out before the end of this week so buy your ticket now! This is the ultimate hardware conference, held in Pasadena California on November 5th and 6th.
Workshops start at $5. This is a “skin in the game” rate to help encourage everyone who registers to show up. Space is limited and will surely sell out (last year the waiting list for some of the workshops was far bigger than the actual workshop). Any tickets above the $5 price are to cover the material expense for that workshop.
Delve into ultrasonics, try your hand at rapid prototyping connected devices, head out on the town with your robot, or get building with PCBs, FPGAs, conductive ink, and servo motors. These workshops span a range of very interesting skill sets and will send you away inspired to explore that next big hack.
Continue reading “Get Hands-On: Workshop Tickets Now Available”
The ESP32 is looking like an amazing chip, not the least for its price point. It combines WiFi and Bluetooth wireless capabilities with two CPU cores and a decent hardware peripheral set. There were modules in the wild for just under seven US dollars before they sold out, and they’re not going to get more expensive over time. Given the crazy success that Espressif had with the ESP8266, expectations are high.
And although they were just formally released ten days ago, we’ve had a couple in our hands for just about that long. It’s good to know hackers in high places — Hackaday Superfriend [Sprite_tm] works at Espressif and managed to get us a few modules, and has been great about answering our questions.
We’ve read all of the public documentation that’s out there, and spent a week writing our own “hello world” examples to confirm that things are working as they should, and root out the bugs wherever things aren’t. There’s a lot to love about these chips, but there are also many unknowns on the firmware front which is changing day-to-day. Read on for the full review.
Continue reading “ESP32 Hands-On: Awesome Promise”
I bet the hand saw really changed some things. One day you’re hacking away at a log with an ax. It’s sweaty, awful work, and the results are never what you’d expect. The next day the clever new apprentice down at the blacksmith’s shop is demoing his beta of his new Saw invention and looking for testers, investors, and a girlfriend. From that day onward the work is never the same again. It’s not an incremental change, it’s a change. Pure and simple.
This is one of those moments. The world of tools is seeing a new change, and I think this is the first of many tools that will change the way we build.
Like most things that are a big change, the components to build them have been around for a while. In fact, most of the time, the actual object in question has existed in some form or another for years. Like a crack in a dam, eventually someone comes up with the variation on the idea that is just right. That actually does what everything else has been promising to do. It’s not new, but it’s the difference between crude and gasoline.
My poetic rasping aside, the Shaper Origin is the future of making things. It’s tempting to boil it down and say that it’s a CNC machine, or a router. It’s just, more than that. It makes us more. Suddenly complex cuts on any flat surface are easy. Really easy. There’s no endless hours with the bandsaw and sander. There’s no need for a 25,000 dollar gantry router to take up half a garage. No need for layout tools. No need to stress about alignment. There’s not even a real need to jump between the tool and a computer. It can be both the design tool and the production tool. It’s like a magic pencil that summons whatever it draws. But even I had to see it to believe it.
Continue reading “Hands-On the Shaper Origin: A Tool That Changes How We Build”
A couple of weeks ago we covered the launch of the Odroid C2, a single board computer from the Korean company Hardkernel in the same form factor and price segment as the Raspberry Pi 3. With four ARM Cortex A53 cores at 2GHz and 2Gb of DDR3 on board it has a paper spec that comfortably exceeds that of the Pi 3’s 1.2GHz take on the same cores and 1Gb of DDR2. This could be a board of great interest to our readers, so we ordered one for review.
The parcel from Korea arrived in due course, the C2 in its box inside it well protected by a sturdy cardboard outer packaging. We had ordered a couple of extras: a micro-SD card preloaded with Ubuntu and a USB power lead (more on that later), both were present and correct.
When unpacking the board it is immediately obvious how closely they’ve followed the Raspberry Pi form factor. There are a few differences, no camera or DSI connectors, the SD card in a different place, a power jack where the Pi has its audio jack, and oddly the network port is the other way up. Otherwise it looks as though it should fit most Pi cases. Of course the only case we had to hand was a PiBow which are cut for specific Pi models, so sadly we couldn’t test that assertion.
Continue reading “Hands On With The Odroid C2; the Raspberry Pi 3 Challenger”