CNC On The Desktop Hack Chat

Join us on Wednesday, August 26 at noon Pacific for the CNC on the Desktop Hack Chat with Matt Hertel and John Allwine!

Once limited to multi-million dollar machines on the floors of cavernous factories, CNC technology has moved so far downscale in terms of machine size that it’s often easy to lose track of where it pops up. Everything from 3D-printers to laser engravers use computer numeric control to move a tool to some point in three-dimensional space, and do it with unmatched precision and reproducibility.

CNC has gotten so pervasive that chances are pretty good that there’s a CNC machine of some sort pretty close to everyone reading this, with many of those machines being homebrew designs. That’s the backstory of Pocket NC, a company that was literally started in a one-bedroom apartment in 2011 by Matt and Michelle Hertel. After a successful Kickstarter that delivered 100 of their flagship five-axis desktop CNC mills to backers, they geared up for production and now turn out affordable machine tools for the masses. We’ve even seen some very complex parts made on these mills show up in projects we’ve featured.

For this Hack Chat, we’ll be joined by Pocket NC CTO and co-founder Matt Hertel and John Allwine, who recently joined the company as Principal Software Engineer. We’ll discuss not only Pocket NC’s success and future plans, but the desktop CNC landscape in general. Drop by with your questions regarding both the hardware and the software side of CNC, about turning an idea into a business, and where the CNC world and next-generation manufacturing will be heading in the future.

join-hack-chatOur Hack Chats are live community events in the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Wednesday, August 26 at 12:00 PM Pacific time. If time zones baffle you as much as us, we have a handy time zone converter.

Click that speech bubble to the right, and you’ll be taken directly to the Hack Chat group on Hackaday.io. You don’t have to wait until Wednesday; join whenever you want and you can see what the community is talking about.

Evaluating Raspberry Pi As A Programmable Logic Controller

It should be no surprise to many that one can use a Raspbery Pi SBC as an industrial controller, but is it any good at that? That was the question which [Dough Reneker] and [William Shaffer] built a test rig to see how a Raspberry Pi performs in head to head tests. They compared a Python-based control loop on a Raspberry Pi 3B against an C0-12DD1E-2-D AutomationDirect CLICK Programmable Logic Controller (PLC) using a simple water heating example.

A major snag with using the Raspberry Pi as a PLC is the lack of industrial I/O capacity. This requires additional hardware, in this case adding a four-channel ADC board as well as a custom board to condition the signals. The Raspberry Pi looks for 0-3 V inputs where industrial control applications are usually in the -10 to 10 V range and often use a 4-20 mA current loop.

Using a PLC leverages so-called ladder logic, where each action depends on conditions. With each update scan, the PLC ensures that all input conditions are translated into the appropriate output conditions in real-time. It’s only job is to monitor the process at hand and it does this very well.

Here the flexibility and generic nature of the Raspberry Pi running Linux was a disadvantage. Unlike the PLC, the lack of a hard real-time OS means you can’t guarantee the Pi will be as responsive to changing inputs.

The behavior of the two systems showed that while both did the task they were programmed for, the Raspberry Pi was decidedly more erratic. Although one could program around a lot of these issues (presumably using Linux in stripped-down, soft real-time configuration with interrupt-driven native code), the effort needed to make a Raspberry Pi system suitable for an industrial environment shows why single-board computers haven’t seen adoption as replacements for PLCs.

Continue reading “Evaluating Raspberry Pi As A Programmable Logic Controller”

Damage To Arecibo Leaves Gaping Hole In Astronomy

In the early morning hours of August 10th, a support cable at the Arecibo Observatory pulled lose from its mount and crashed through the face of the primary reflector below. Images taken from below the iconic 305 meter dish, made famous by films such as Contact and GoldenEye, show an incredible amount of damage. The section of thick cable, estimated to weigh in at around 6,000 kilograms (13,000 pounds), had little difficulty tearing through the reflector’s thin mesh construction.

Worse still, the cable also struck the so-called “Gregorian dome”, the structure suspended over the dish where the sensitive instruments are mounted. At the time of this writing it’s still unclear as to whether or not any of that instrumentation has been damaged, though NASA at least has said that the equipment they operate inside the dome appears to have survived unscathed. At the very least, the damage to the dome structure itself will need to be addressed before the Observatory can resume normal operations.

The Arecibo Observatory by JidoBG [CC-BY-SA 4.0]
But how long will the repairs take, and who’s going to pay for them? It’s no secret that funding for the 60 year old telescope has been difficult to come by since at least the early 2000s. The cost of repairing the relatively minor damage to the telescope sustained during Hurricane Maria in 2017 may have been enough to shutter the installation permanently if it hadn’t been for a consortium led by the University of Central Florida. They agreed to share the burden of operating the Observatory with the National Science Foundation and put up several million dollars of additional funding.

It’s far too early to know how much time and money it will take to get Arecibo Observatory back up to operational status, but with the current world situation, it seems likely the telescope will be out of commission for at least the rest of the year. Given the fact that repairs from the 2017 damage still haven’t been completed, perhaps even longer than that. In the meantime, astronomers around the globe are left without this wholly unique resource.

Continue reading “Damage To Arecibo Leaves Gaping Hole In Astronomy”

Raspberry Pi Makes A Practical Tricorder

What do you get when you add a thermal camera, a software-defined radio dongle, and a battery to a Raspberry Pi? If you are [saveitforparts] you make a tricorder for sniffing radio signals and viewing heat signatures. He admits, the videos (see below) aren’t exactly a “how-to” but it will still give you some ideas for your next build.

You can sense the frustration with some Linux configuration issues, but [saveitforparts] admits he isn’t a Linux or Raspberry Pi guru. Version 1 seemed to be a bit of a prototype, but version 2 is more polished. We still aren’t sure we’d see Spock carrying a case like that, but some 3D printing could spiff that right up.

Of course, a real tricorder is a McGuffin that does whatever the plot calls for. This one is a bit more practical, but it can monitor thermal and RF energy and could accommodate more sensors. This is a great example of a project that would have been very hard to do in the past but is much easier today. The availability of cheap computers and ready-made modules along with associated software open up many possibilities.

If you want to do your own Tricorder hacking you could take over a commercial model. Then again, there’s an official replica on its way that seems like it might have some similar features.

Continue reading “Raspberry Pi Makes A Practical Tricorder”

MIDI Slide Whistle Shows The Value Of A Proper Fipple

We pride ourselves on knowing the proper terms for everyday things: aglet, glabella, borborygmi, ampersands. But we have to confess to never having heard of a “fipple” before finding this interesting MIDI-controlled slide whistle, where we learned that the mouthpiece of a penny whistle or a recorder is known as a fipple. The more you know.

This lesson comes to us by way of a Twitter post by [The Mixed SIgnal], which showed off the finished mechanism in a short video and not much else. We couldn’t leave that alone, so we reached out for more information and were happy to find that [The Mixed SIgnal] quickly posted a build log on Hackaday.io as well as the build video below.

The slide whistle is a homebrew version of the kind we’ve all probably annoyed our parents with at one time or another, with a 3D-printed fipple (!) and piston, both of which go into a PVC tube. Air is supplied to the pipe with a small centrifugal blower, while a 3D-printed rack and pinion gear of unusual proportions moves the piston back and forth. An Arduino Due with a CNC shield controls the single stepper motor. The crude glissandos of this primitive wind instrument honestly are a little on the quiet side, especially given the racket the stepper and rack and pinion make when queuing up a new note. Perhaps it needs more fipple.

While the humble author is new to fipple-isms, luckily the Hackaday editors see all and know that there two epic hacks featuring fipples to create bottle organs. These are far from the first weirdest instruments we’ve seen — a modulin, a Wubatron, and the Drum-Typeulator all fit that bill well. But we like what [The Mixed Signal] has done here, and we’re looking forward to more.

Continue reading “MIDI Slide Whistle Shows The Value Of A Proper Fipple”

Mobile Transmitter Gets Internal GPS And Bluetooth

While [Selim Olcer] was relatively happy with his Kenwood TM-D710a radio, he didn’t like the fact that it needed a bulky external GPS “backpack” for APRS location data. So he decided to crack open the head unit and see if he couldn’t integrate his own GPS hardware (machine translation). Not only did he succeed, but he even threw in Bluetooth compatibility for good measure.

With the repair manual circuit diagrams in hand, it was no problem to find the GPS RX and TX lines that were being broken out to the external connector. Unfortunately, the radio’s electronics are all 5 volts and the GPS module [Selim] wanted to use was only 3.3 V. So he came up with a small PCB that included not only the voltage regulator to power the GPS module, but also some voltage-dividers to level shift those signals.

Since the Kenwood TM-D710a was already designed to accept a GPS upgrade module, he just needed to change some configuration options in the radio’s menus for it to see the new hardware. Technically the project was done at this point, but since there was still room in the case and he had a GPS module spitting out NMEA sentences, [Selim] tacked on a common Bluetooth serial module so he could see the position information on his smartphone. With an application like APRSdroid, he now has a nice moving map display using the position pulled from the radio’s GPS.

With this modification done it looks like the head unit is ready to go, but that’s only the beginning for a mobile rig. Now we want to see how he integrates the whole thing into the car.

E-Paper Display Shows Movies Very, Very Slowly

How much would you enjoy a movie that took months to finish? We suppose it would very much depend on the film; the current batch of films from the Star Wars franchise are quite long enough as they are, thanks very much. But a film like Casablanca or 2001: A Space Odyssey might be a very different experience when played on this ultra-slow-motion e-paper movie player.

The idea of displaying a single frame of a movie up for hours rather than milliseconds has captivated [Tom Whitwell] since he saw [Bryan Boyer]’s take on the concept. The hardware [Tom] used is similar: a Raspberry Pi, an SD card hat with a 64 GB card for the movies, and a Waveshare e-paper display, all of which fits nicely in an IKEA picture frame.

[Tom]’s software is a bit different, though; a Python program uses FFmpeg to fetch and dither frames from a movie at a configurable rate, to customize the viewing experience a little more than the original. Showing one frame every two minutes and then skipping four frames, it has taken him more than two months to watch Psycho. He reports that the shower scene was over in a day and a half — almost as much time as it took to film — while the scene showing [Marion Crane] driving through the desert took weeks to finish. We always wondered why [Hitch] spent so much time on that scene.

With the proper films loaded, we can see this being an interesting way to really study the structure and flow of a good film. It’s also a good way to cut your teeth on e-paper displays, which we’ve seen pop up in everything from weather stations to Linux terminals.