Black Magic Probe: The Best ARM JTAG Debugger?

We don’t always JTAG, but when we do, we use a Black Magic Probe. It’s a completely open ARM-chip debugging powerhouse. If you program the small ARM chips and you don’t have a BMP, you need a BMP. Right now, one of the main producers of these little gems is running a Kickstarter where you can get your hands on a nicely made one and/or a 1Bitsy STM32F415-based development board.

Why is the BMP so great? First off, it’s got a JTAG and a UART serial port in one device. You can flash the target, run your code, use the serial port for printf debugging like you know you want to, and then fall back on full-fledged JTAG-plus-GDB when you need to, all in one dongle. It’s just very convenient.

But the BMP’s killer feature is that it runs a GDB server on the probe. It opens up a virtual serial port that you can connect to directly through GDB on your host computer. No need to hassle around with OpenOCD configurations, or to open up a second window to run [texane]’s marvelous st-util. Just run GDB, target extended-remote /dev/ttyACM0 and you’re debugging. As the links above demonstrate, there are many hardware/software pairs that’ll get you up and debugging. But by combining the debug server with the JTAG hardware, the BMP is by far the slickest.

Full disclosure: we use a BMP that we built ourselves, which is to say that we compiled and flashed the firmware into a $4 STLink clone programmer that we had on hand. Breaking the required signals out required a bit of ugly, fiddly soldering, but we enjoy that sort of thing. If you don’t, the early-bird Kickstarter (with cables) looks like a good deal to us.

Arduino Controlled Micro Distillery

Booze, they say, is one of the major factors that shaped human history. And creating new and faster ways of making booze has always been a big engineering problem, so this project by [Goat Industries] is rather interesting. It’s a completely automated micro-distillery called the NanoStillery.

The whole thing can run unattended, but uploads data on the brewing process for remote monitoring and notification. Given that distilling involves explosive things like alcohol vapor, that’s a big plus. It is all home-made, including the boiler assembled from steel plate and an air-cooled condenser. It’s controlled by an Arduino Mega twinned with a couple of Adafruit boards that interface with the various sensors and pumps that control the flow of booze around the system. There is also an Adafruit FONA board that includes a cellular modem that uploads data to a database to monitor the progress and let you know when it is done.

The Instructable even includes the Arduino code that runs the process. It’s an impressive build from an engineering point of view, and the final touch has to be the creepy Cylon voice that the controller uses to narrate the process. There’s a video tour after the break.

Continue reading “Arduino Controlled Micro Distillery”

Payphone Boombox Straight Out Of The 1990’s.

Due largely to the overwhelming dominance of mobile phones, payphones are a sometimes overlooked relic from the 90’s and earlier eras. While seldom seen out in the wild these days, they can however still be acquired for a moderate fee — how many of you knew that? Setting out to prove the lasting usefulness of the payphone, Instructables user [Fuzzy-Wobble] has dialed the retro spirit way past eleven to his ’90 from the ’90s’ payphone boombox.

Conspicuously mounted in the corner of his office, a rangefinder sets the phone to ringing when somebody walks by — a fantastic trap for luring the curious into a nostalgia trip. Anyone who picks up will be prompted to punch in a code from the attached mini-phone book and those who do will be treated to one of ninety hits from — well —  the 1990’s. All of the songs have been specifically downgraded to 128kbps for that authentic 90’s sound — complete with audio artifacts. There’s even a little easter egg wherein hitting the coin-return lever triggers the payphone to shout “Get a job!”

Continue reading “Payphone Boombox Straight Out Of The 1990’s.”

Salvaged Scope Lets You Watch The Music

Everyone likes a good light show, but probably the children of the 60s and 70s appreciate them a bit more. That’s the era when some stereos came with built-in audio oscilloscopes, the search for which led [Tech Moan] to restore an audio monitor oscilloscope and use it to display oscilloscope music.

If the topic of oscilloscope music seems familiar, it may be because we covered [Jerobeam Fenderson]’s scope-driving compositions a while back. The technique will work on any oscilloscope that can handle X- and Y-axis inputs, but analog scopes make for the best display. The Tektronix 760A that [Tech Moan] scrounged off eBay is even better in that it was purpose-built to live in an audio engineer’s console for visualizing stereo audio signals. The vintage of the discontinued instrument isn’t clear, but from the DIPs and discrete components inside, we’ll hazard a guess of early to mid-1980s.  The eBay score was a bargain, but only because it was in less that perfect condition, and [Tech Moan] wisely purchased another burned out Tek scope with the same chassis to use for spares.

The restored 760A does a great job playing [Jerobeam]’s simultaneously haunting and annoying compositions; it’s hard to watch animated images playing across the scope’s screen and not marvel at the work put into composing the right signals to make it all happen. Hats off to [Tech Moan] for bringing the instrument back to life, and to [Jerobeam] for music fit for a scope.

Continue reading “Salvaged Scope Lets You Watch The Music”

We’re Hiring

Hackaday has been expanding into all kinds of new areas. We find ourselves stretched a bit thin and it’s time to ask for help. Want to lend a hand while making some extra dough to plow back into your projects? These are work-from-home (or wherever you like) positions and we’re looking for awesome, motivated people to help guide Hackaday forward!

Contributors are hired as private contractors and paid for each post. You should have the technical expertise to understand the projects you write about, and a passion for the wide range of topics we feature. If you’re interested, please email our jobs line, and include:

  • Details about your background (education, employment, etc.) that make you a valuable addition to the team
  • Links to your blog/project posts/etc. which have been published on the Internet
  • One example post written in the voice of Hackaday. Include a banner image, at least 150 words, the link to the project, and any in-links to related and relevant Hackaday features

What are you waiting for? Ladies and Gentlemen, start your applications!

Make Your Own Nuclear Battery

miami_nano
A commercial nuclear battery from City Labs.

A Betavoltaic cell is a device that uses a radioactive source of beta particles and a semiconductor p-n junction to generate electricity. Tritium, an isotope of hydrogen, is often used as the radioactive element. You may think that tritium is hard to obtain or even forbidden, however, recently you can find tritium in self-lightning key chains, and it is also used in watches and firearm night sights. The beta particles (electrons) from the tritium radioactive process causes phosphors in the device to glow, giving a light that can last for years.

[NurdRage] has just created a nuclear battery using tritium vials from key chains. After getting rid of the plastic containers, he sandwiches the vials between two small solar panels. That’s all! Instant power for the next 15 years. Of course, the amount of power you can get from this device is on the order of microwatts. The battery produces around 1.6 volts at 800 nano amps. He gets 1.23 microwatts, not much, but it is in fact more than the output of commercial units at 0.84 microwatts, for a ten percent of the cost. That minuscule amount of power is actually not easy to measure, and he does a great job explaining the circuit he used to measure the current.

Continue reading “Make Your Own Nuclear Battery”

Quickly Prototyping X-ray Backscatter Machines

Ben Krasnow is one of those people no one has a bad opinion of. He’s part of the team at Verily (Google’s Life Science Alphabit), where he’s busy curing cancer. He co-founded Valve’s hardware division and his YouTube channel, Applied Science, is an exploration of building very high-tech tools very quickly and on a very low budget. Ben has built everything from an electron microscope to a liquid nitrogen generator to a robot that makes individual chocolate chip cookies with ingredients in different proportions. He’s curing cancer and finding the perfect chocolate chip cookie recipe.

The focus of Ben’s talk at this year’s Hackaday SuperConference is building low-cost scientific apparatus quickly. From Applied Science, Ben has cemented his position as a wizard who can find anything either on eBay or at a surplus store. The real trick, Ben tells us, is getting his boss and accounting to understand this rapid prototyping mindset.

Continue reading “Quickly Prototyping X-ray Backscatter Machines”