New Part Day: The Wi-Fi Stepper Gets Ideas Working Faster

Like most of us, I sometimes indulge in buying a part for its potential or anticipated utility rather than for a specific project or purpose. That’s exactly how I ended up with the WSX100 Wi-Fi Stepper, a single board device intended to be one of the fastest and easiest ways to get a stepper motor integrated into a project. Mine came from their Crowd Supply campaign, which raised money for production and continues to accept orders.

What’s It For?

The WSX100 Wi-Fi Stepper Driver (with motor), by Good Robotics

The main reason the Wi-Fi Stepper exists is to make getting a stepper motor up and running fast and simple, in a way that doesn’t paint a design into a corner. The device can certainly be used outside of prototyping, but I think one of its best features is the ability to help quickly turn an idea into something physical. When prototyping, it’s always better to spend less time on basic bits like driving motors.

In a way, stepper motors are a bit like RGB LEDs or LCD displays were before integrated drivers and easy interfaces became common for them. Steppers require work (and suitable power supplies) to get up and running, and that effort can be a barrier to getting an idea off the ground. With the Wi-Fi Stepper, a motor can be fired up and given positional commands (or set to a speed and direction) in no time at all. By sending commands over WiFi, there isn’t even the need to wire up any control logic.

Continue reading “New Part Day: The Wi-Fi Stepper Gets Ideas Working Faster”

Turning A Problem Around: The Whitney Cotton Gin

If you went to elementary school in the United States, you no doubt learned about Eli Whitney’s cotton gin as an example of how the industrial revolution took previously manual processes and replaced the low-efficiency of human labor with machines. The development of the cotton gin — patented in 1794 — involves an interesting lesson about solving engineering problems.

Farmers in the southern United States had a big problem. Tobacco was a cash crop, but it eventually left your fields barren and how to solve that problem wasn’t understood yet. Indigo was valuable for dye, but the British were eating away that market with indigo created in its colonies. Rice requires a lot of water and swamp, so it was only suitable for certain areas.

There was one thing that grew very readily in much of the land: cotton. Unfortunately, the cotton had little seeds you had to remove. A single person could clean — maybe — a pound of cotton a day. In the late 1700s, plantation owner Catharine Littlefield Greene introduced Whitney to a group of farmers were trying to decide if there was a way to make cotton a more profitable crop.

Continue reading “Turning A Problem Around: The Whitney Cotton Gin”

Troubleshooting A Symlink — A Whodunnit For The Git Record Books

While I normally sport the well-worn fedora of a hard-boiled sysadmin, Sunday mornings I swap that neo-noir accessory for the tech-noir: a pair of pro headphones. This is the tale of the collision of those two roles. An educational caper, dear reader. You see, my weekly gig is to run a Facebook Live Stream, and Facebook just recently began enforcing a new policy: all video streams are required to use encryption. We have Fedora installed on the media machine, and use Open Broadcaster Software (OBS) to stream. It should have been easy to update the stream settings. I made the necessary changes and tested it out — no luck. The error message was less than helpful: “Failed to connect to server”. With a sigh, I took off my headphones, put my sysadmin hat on, and walked out into the digital darkness. It was time to get back to work.

Continue reading “Troubleshooting A Symlink — A Whodunnit For The Git Record Books”

Tipping Points In The Climate System: The Worst Kind Of Positive Feedback

With global temperatures continuing to break records in recent years, it’s important to cast an eye towards the future. While efforts to reduce emissions remain in a political quagmire, time is running out to arrest the slide into catastrophe.

Further compounding the issue are a variety of positive feedback loops that promise to further compound the problem. In these cases, initial warming has flow-on effects that then serve to further increase global temperatures. Avoiding these feedback mechanisms is crucial if the Earth is to remain comfortably livable out to the end of the century.

A Multitude of Causes

The issue of climate change often appears as a simple one, with the goal being to reduce greenhouse gas emissions in order to prevent negative consequences for human civilization. Despite this, the effects of climate change are often diffuse and intermingled. The various climate systems of the Earth interact in incredibly complex ways, and there are many mechanisms at play in these feedback effects that could tip things over the edge.

Continue reading “Tipping Points In The Climate System: The Worst Kind Of Positive Feedback”

How To Hack A Portable Bluetooth Speaker By Skipping The Bluetooth

Portable Bluetooth speakers have joined the club of ubiquitous personal electronics. What was once an expensive luxury is now widely accessible thanks to a prolific landscape of manufacturers mass producing speakers to fit every taste and budget. Some have even become branded promotional giveaway items. As a consequence, nowadays it’s not unusual to have a small collection of them, a fertile field for hacking.

But many surplus speakers are put on a shelf for “do something with it later” only to collect dust. Our main obstacle is a side effect of market diversity: with so many different speakers, a hack posted for one speaker wouldn’t apply to another. Some speakers are amenable to custom firmware, but only a small minority have attracted a software development community. It doesn’t help that most Bluetooth audio modules are opaque, their development toolchains difficult to obtain.

So what if we just take advantage of the best parts of these speakers: great audio fidelity, portability, and the polished look of a consumer good, to serves as the host for our own audio-based hacks. Let’s throw the Bluetooth overboard but embrace all those other things. Now hacking these boxes just requires a change of mindset and a little detective work. I’ll show you how to drop an Arduino into a cheap speaker as the blueprint for your own audio adventures.

Continue reading “How To Hack A Portable Bluetooth Speaker By Skipping The Bluetooth”

Stinger: The Hacked Machine Gun Of Iwo Jima

During the Second World War, the United States was pumping out weapons, aircraft, and tanks at an absolutely astonishing rate. The production of military vehicles and equipment was industrialized like never before, and with luck, never will be again. But even still, soldiers overseas would occasionally find themselves in unique situations that required hardware that the factories back at home couldn’t provide them with.

A Stinger machine gun in WWII

Which is precisely how a few United States Marines designed and built the “Stinger” light machine gun (LMG) during the lead-up to the invasion of Iwo Jima in 1945. The Stinger was a Browning .30 caliber AN/M2, salvaged from a crashed or otherwise inoperable aircraft, that was modified for use by infantry. It was somewhat ungainly, and as it was designed to be cooled by the air flowing past it while in flight, had a tendency to overheat quickly. But even with those shortcomings it was an absolutely devastating weapon; with a rate of fire at least twice that of the standard Browning machine guns the Marines had access to at the time.

Six Stingers were produced, and at least on a Battalion level, were officially approved for use in combat. After seeing how successful the weapon was during the invasion of Iwo Jima, there was even some talk of putting the Stinger into larger scale production and distributing them. But the war ended before such a plan could be put into place.

As such, the Stinger is an exceedingly rare example of a field modified weapon that was not only produced in significant numbers, but officially recognized and even considered for adoption by the military. But the story of this hacked machine gun actually started years earlier and thousands of kilometers away, as Allied forces battled for control of the Solomon Islands.

Continue reading “Stinger: The Hacked Machine Gun Of Iwo Jima”

The Internet Of Football

While football in the United States means something totally different from what it means in the rest of the world, fans everywhere take it pretty seriously. This Sunday is the peak of U.S. football frenzy, the Super Bowl, and it is surprisingly high-tech. The NFL has invested in a lot of technology and today’s football stats are nothing like those of the last century thanks to some very modern devices.

It is kind of interesting since, at the core, the sport doesn’t really need a lot of high tech. A pigskin ball, some handkerchiefs, and a field marked off with some lime and a yardstick will suffice. However, we’ve seen a long arc of technology in scoreboards, cameras — like instant replay — and in the evolution of protective gear. But the last few years have seen the rise of data collection. It’s being driven by RFID tags in the player’s shoulder pads.

These aren’t the RFID chips in your credit card. These are long-range devices and in the right stadium, a computer can track not only the player’s position, but also his speed, acceleration, and a host of other statistics.

Continue reading “The Internet Of Football”