RTFM: ADCs And DACs

It’s tough to find a project these days that doesn’t use an analog-to-digital converter (ADC) or digital-to-analog converter (DAC) for something. Whether these converters come as built-in peripherals on a microcontroller, or as separate devices connected over SPI, I2C, or parallel buses, all these converters share some common attributes, and knowing how to read the specs on them can save you a lot of headaches when it comes to getting things working properly.

There are some key things to know about these devices, and the first time you try to navigate a datasheet on one, you may find yourself a bit confused. Let’s take a deep dive into the static (DC) properties of these converters — the AC performance is complex enough to warrant its own follow-up article.

Continue reading “RTFM: ADCs And DACs”

Pack Your Bags – Systemd Is Taking You To A New Home

Home directories have been a fundamental part on any Unixy system since day one. They’re such a basic element, we usually don’t give them much thought. And why would we? From a low level point of view, whatever location $HOME is pointing to, is a directory just like any other of the countless ones you will find on the system — apart from maybe being located on its own disk partition. Home directories are so unspectacular in their nature, it wouldn’t usually cross anyone’s mind to even consider to change anything about them. And then there’s Lennart Poettering.

In case you’re not familiar with the name, he is the main developer behind the systemd init system, which has nowadays been adopted by the majority of Linux distributions as replacement for its oldschool, Unix-style init-system predecessors, essentially changing everything we knew about the system boot process. Not only did this change personally insult every single Perl-loving, Ken-Thompson-action-figure-owning grey beard, it engendered contempt towards systemd and Lennart himself that approaches Nickelback level. At this point, it probably doesn’t matter anymore what he does next, haters gonna hate. So who better than him to disrupt everything we know about home directories? Where you _live_?

Although, home directories are just one part of the equation that his latest creation — the systemd-homed project — is going to make people hate him even more tackle. The big picture is really more about the whole concept of user management as we know it, which sounds bold and scary, but which in its current state is also a lot more flawed than we might realize. So let’s have a look at what it’s all about, the motivation behind homed, the problems it’s going to both solve and raise, and how it’s maybe time to leave some outdated philosophies behind us.

Continue reading “Pack Your Bags – Systemd Is Taking You To A New Home”

The Final Days Of The Fire Lookouts

For more than a century, the United States Forest Service has employed men and women to monitor vast swaths of wilderness from isolated lookout towers. Armed with little more than a pair of binoculars and a map, these lookouts served as an early warning system for combating wildfires. Eventually the towers would be equipped with radios, and later still a cellular or satellite connection to the Internet, but beyond that the job of fire lookout has changed little since the 1900s.

Like the lighthouse keepers of old, there’s a certain romance surrounding the fire lookouts. Sitting alone in their tower, the majority of their time is spent looking at a horizon they’ve memorized over years or even decades, carefully watching for the slightest whiff of smoke. The isolation has been a prison for some, and a paradise for others. Author Jack Kerouac spent the summer of 1956 in a lookout tower on Desolation Peak in Washington state, an experience which he wrote about in several works including Desolation Angels.

But slowly, in a change completely imperceptible to the public, the era of the fire lookouts has been drawing to a close. As technology improves, the idea of perching a human on top of a tall tower for months on end seems increasingly archaic. Many are staunchly opposed to the idea of automation replacing human workers, but in the case of the fire lookouts, it’s difficult to argue against it. Computer vision offers an unwavering eye that can detect even the smallest column of smoke amongst acres of woodland, while drones equipped with GPS can pinpoint its location and make on-site assessments without risk to human life.

At one point, the United States Forest Service operated more than 5,000 permanent fire lookout towers, but today that number has dwindled into the hundreds. As this niche job fades even farther into obscurity, let’s take a look at the fire lookout’s most famous tool, and the modern technology poised to replace it.

Continue reading “The Final Days Of The Fire Lookouts”

Prusa Unveils New Mini 3D Printer, Shakes Up The Competition

For the last couple of years, consumer desktop 3D printer choices in the under $1,000 USD range have fallen into two broad categories: everything bellow $500 USD, and the latest Prusa i3. There are plenty of respectable printers made by companies such as Monoprice and Creality to choose from on that lower end of the scale. It wasn’t a luxury everyone could justify, but if you had the budget to swing the $749 for Prusa’s i3 kit, the choice became obvious.

Of course, that was before the Prusa Mini. Available as a kit for just $349, it’s far and away the cheapest printer that Prusa Research has ever offered. But this isn’t just some rebranded hardware, and it doesn’t compromise on the ideals that have made the company’s flagship machine the de facto open source FDM printer. For less than half the cost of the i3 MK3S, you’re not only getting most of the larger printer’s best features and Prusa’s renowned customer support, but even capabilities that presumably won’t make it to the i3 line until the MK4 is released.

Josef Průša was on hand to officially unveil his latest printer at the 2019 East Coast Reprap Festival, where I got the chance to get up close and personal with the diminutive machine. While it might be awhile before we can do a full review on the Mini, it’s safe to say that this small printer is going to have a big impact on the entry-level market.

Continue reading “Prusa Unveils New Mini 3D Printer, Shakes Up The Competition”

Tools, You Can’t Take Them With You

When I die I hope be buried in the English rural churchyard that has been my responsibility as churchwarden, after a funeral service that has been a celebration of my life. I am neither an Egyptian pharaoh nor a Viking queen though, so my grave will not contain all my tools and equipment to serve me in the afterlife. Instead aside from my mortal remains it will contain only a suitably biodegradable coffin, and my headstone will be a modest one bearing perhaps a technical puzzle to entertain visitors to the churchyard.

My workshop, my bench, and my tools will be the responsibility of my nearest and dearest, and I hope I will have suitably equipped them for the task of their dispersal. But for anyone who has a sizeable collection of gear, have you thought of what would happen if someone else had to clean it all out? What is profession for some and hobby for others, we deal in specialization that might as well be tools of arcane magic to the uninitiated.

Continue reading “Tools, You Can’t Take Them With You”

What Will We Do With The Turbine Blades?

As the global climate emergency continues to loom over human civilization, feverish work is underway around the world to find technical and political solutions to the problem. Much has been gained in recent years, but as global emissions continue to increase, there remains much left to do to stave off the most catastrophic effects of climate change.

Renewable energy has led the charge, allowing humanity to continue to enjoy the wonders of electricity with a reduced environmental impact. The future looks promising, with renewable sources becoming cheaper than traditional fossil fuel energy plants in many cases, both in the US and abroad. At the same time, the rise of renewable technologies has brought new and varied challenges to the fore, which must be dealt with in kind. Take wind energy, for instance. Continue reading “What Will We Do With The Turbine Blades?”

Willem Kolff’s Artificial Organs

In my youth I worked for a paid ambulance service, and while we all lived for the emergency calls, the routine transports were the calls that paid the bills. Compared with the glamor and excitement of a lights-and-siren run to a car wreck or heart attack, transports were dull as dirt. And dullest of all were the daily runs from nursing homes to the dialysis center, where rows of comfy chairs sat, each before a refrigerator-sized machine designed to filter the blood of a patient in renal failure, giving them another few days of life.

Sadly, most of those patients were doomed; many were in need of a kidney transplant for which there was no suitable donor, while some were simply not candidates for transplantation. Dialysis was literally all that stood between them and a slow, painful death, and I could see that at least some of them were cheered by the sight of the waiting dialysis machine. The principles of how the kidneys work have been known since at least the 1800s, but it would take until 1945 for the efforts of a Dutch doctor, using used car parts and sausage casings, to make the predecessor of those machines: the first artificial kidney.

Continue reading “Willem Kolff’s Artificial Organs”