Sort Out Chemical Storage For Your Shop

There is one constant in the world of hardware hacker’s workshops, be they a private workshop in your garage or a public hackspace, and it goes something like this:

Everybody’s a safety expert in whatever it is they are working with, right up until the accident.

In other words, it is very tempting to harbour a cavalier attitude to something that either you are familiar with or the hazards of which you do not understand, and this breeds an environment in which mishaps become a distinct possibility.

As hardware people, we are familiar with basic tool safety or electrical safety. The chances are that we’ve had it drummed into us at some time in our growing up, by a lab supervisor, a workshop teacher, or a parent. That you as readers and I as writer have survived this long is testament enough to the success of that education. But what about those areas in which we may not have received such an education, those things which we either encounter rarely or seem harmless enough that their safety needn’t be our concern? Chemicals, for example: everything from glue through solvents and soldering consumables to PCB chemicals and even paint. It all seems safe enough, what could possibly go wrong? The answer to that question is probably something most of us would prefer never to find out, so it’s worth looking in to how a well-run workshop can manage its chemicals in as safe a manner as possible.

Continue reading “Sort Out Chemical Storage For Your Shop”

Linux-Fu: Running Commands

One of the things that makes Linux and Unix-like systems both powerful and frustrating is that there are many ways to accomplish any particular goal. Take something simple like running a bunch of commands in sequence as an example. The obvious way is to write a shell script which offers a tremendous amount of flexibility. But what if you just want some set of commands to run? It sounds simple, but there are a lot of ways to issue a sequence of commands ranging from just typing them in, to scheduling them, to monitoring them the way a mainframe computer might monitor batch jobs.

Let’s jump in and take a look at a few ways you can execute sequences from bash (and many other Linux shells). This is cover the cron and at commands along with a batch processing system called task spooler. Like most things in Linux, this isn’t even close to a complete list, but it should give you some ideas on ways to control sequences of execution.

Continue reading “Linux-Fu: Running Commands”

LCaaS – Lawn Care As A Service?

As often happens while engaged in a mundane task, my mind wandered while I was mowing my small suburban plot of green this weekend. “Why, in 2017, am I still mowing the lawn?” In a lot of ways we’re living in the future  — we walk around with fantastically powerful computers in our pockets, some of us have semi-autonomous cars, and almost anything can be purchased at the touch of a finger and delivered the next day or sooner. We even have robots that can vacuum the floor, so why not a robot lawnmower?

It turns out we do have robotic lawnmowers, but unfortunately, they kind of suck: Continue reading “LCaaS – Lawn Care As A Service?”

Gyrators: The Fifth Element

A few years ago, there was a stir about a new fundamental component called a memristor. That wasn’t the first time a new component type was theorized though. In 1948 [Bernard Tellegen] postulated the gyrator. While you can’t buy one as a component, you can build one using other components. In fact, they are very necessary for some types of design. Put simply, a gyrator is a two-terminal device that inverts the current-voltage characteristic of an electrical component. Therefore, you can use a gyrator to convert a capacitor into an inductor or vice versa.

Keep in mind, the conversion is simply the electrical properties. Normally, current leads voltage in a capacitor and lags it in an inductor, and that’s what a gyrator changes. If you use a gyrator and a capacitor to make a virtual inductor, that inductor won’t magnetically couple to another inductor, real or simulated. There’s no magnetic field to do so. You also don’t get big voltage spikes caused by back EMF, which depending on your application could be a plus or a minus. But if you need an ungainly inductor in a circuit for its phase response, a gyrator may be just the ticket.

Continue reading “Gyrators: The Fifth Element”

Book Review: The Art Of The Patent

In bringing suitable illustrations to our articles, we Hackaday scribes use a variety of sources that offer images featuring permissive licences. Among the usual free image libraries there is one particularly rich source, the line drawings contained within the huge archives of patents granted by the various countries around the world. These are the illustrations used as part of the patent itself to describe the working of the patent being claimed. We use them because though the items they depict are legally protected from copying by the patents they are part of, they as part of the patents themselves are in the public domain. Thus we can easily find detailed hand drawn pictures of all kinds of technical innovations from the last couple of hundred years or so, and from time to time you as our readers reap the benefit.

The beauty in hand-rendered fonts from patent artwork, collected within the book.
The beauty in hand-rendered fonts from patent artwork, collected within the book.

If you spend a while browsing old patents through a search engine such as Google Patents, you can quickly become engrossed in these beautiful images of inventions past. Though their purpose is a functional one to convey the workings of an invention, the anonymous artists have often poured all of their skill into rendering them as considerably more than mere draughtsmanship. In those dusty Government archives lurk masterpieces, just waiting to be found.

It seems we here at Hackaday are not alone in sharing a fascination with these images, for a US patent agent, [Kevin Prince], wrote a fascinating exploration of the medium in his book, The Art of the Patent. Continue reading “Book Review: The Art Of The Patent”

Free As In Beer, Or The Story Of Windows Viruses

Whenever there’s a new Windows virus out there wreaking global havoc, the Linux types get smug. “That’ll never happen in our open operating system,” they say. “There are many eyes looking over the source code.” But then there’s a Heartbleed vulnerability that keeps them humble for a little while. Anyway, at least patches are propagated faster in the Linux world, right?

While the Linuxers are holier-than-thou, the Windows folks get defensive. They say that the problem isn’t with Windows, it’s just that it’s the number one target because it’s the most popular OS. Wrong, that’d be Android for the last few years, or Linux since forever in the server space. Then they say it’s a failure to apply patches and upgrade their systems, because their users are just less savvy, but that some new update system will solve the problem.

There’s some truth to the viruses and the patching, but when WannaCry is taking over hospitals’ IT systems or the radiation monitoring network at Chernobyl, it’s not likely to be the fault of the stereotypical naive users, and any automatic patch system is only likely to help around the margins.

So why is WannaCry, and variants, hitting unpatched XP machines, managed by professionals, all over the world? Why are there still XP machines in professional environments anyway? And what does any of this have to do with free software? The answer to all of these questions can be found in the ancient root of all evil, the want of money. Linux is more secure, ironically, at least partly because it’s free as in beer, and upgrading to a newer version is simply cheaper.

Continue reading “Free As In Beer, Or The Story Of Windows Viruses”

Retrotechtacular: DC To DC Conversion, Rotary Style

If you want to convert one voltage to another, what do you do? Well, if you are talking DC voltages today, you’ll probably use a DC to DC converter. Really, these converters generate some sort of AC waveform and then use either an inductor or a transformer to boost or buck the voltage as desired. Then they’ll convert it back to DC. If you are talking AC voltages, you could just use a transformer. But think about this: a transformer has two sides. The primary makes an alternating magnetic field. Just like rotating a shaft with magnets on it could. The secondary converts that alternating magnetic field into electricity just like a generator does. In other words, a transformer is just a generator that takes an AC input instead of a rotating mechanical input.

That’s a bit of an oversimplification, but in the old days, a lot of mobile radios (and other devices) took this idea to its logical conclusion. A M-G (Motor Generator) set was little more than a motor connected to a generator. The motor might take, say, 12V DC and the output could be, for example 300V AC that would get rectified for the plate voltage in a tube radio.

Continue reading “Retrotechtacular: DC To DC Conversion, Rotary Style”