Chip Shortage Engineering: Misusing DIP Packages

After years of seeing people showing off and trading their badge Simple Add-Ons (SAOs) at Supercon, this year I finally decided to make one myself. Now for a first attempt, it would have been enough to come up with some cool PCB art and stick a few LEDs on it. But naturally I started with a concept that was far more ambitious than necessary, and before long, had convinced myself that the only way to do the thing justice was to have an onboard microcontroller.

My first thought was to go with the venerable ATtiny85, and since I already had a considerable stock of the classic eight-pin DIP MCUs on hand, that’s what I started prototyping with. After I had something working on the breadboard, the plan was to switch over to the SOIC-8 version of the chip which would be far more appropriate for something as small as an SAO.

Unfortunately, that’s where things got tricky. I quickly found that none of the major players actually had the SMD version of the chip in stock. Both DigiKey and Mouser said they didn’t expect to get more in until early 2024, and while Arrow briefly showed around 3,000 on hand, they were all gone by the time I checked back. But that was only half the problem — even if they had them, $1.50 a piece seems a hell of a lot of money for an 8-bit MCU with 8K of flash in 2023.

The whole thing was made all the more frustrating by the pile of DIP8 ATtiny85s sitting on the bench, mocking me. Under normal circumstances, using them in an SAO wouldn’t really be a problem, but eight hand-soldered leads popping through the front artwork would screw up the look I had in mind.

While brooding over the situation my eyes happened to fall on one of the chips I had been fiddling with, it’s legs badly bent from repeated trips through the programmer. Suddenly it occurred to me that maybe there was a way to use the parts I already had…

Continue reading “Chip Shortage Engineering: Misusing DIP Packages”

Do Bounties Hurt FOSS?

As with many things in life, motivation is everything. This also applies to the development of software, which is a field that has become immensely important over the past decades. Within a commercial context, the motivation  to write software is primarily financial, in that a company’s products are developed by individuals who are being financially compensated for their time. This is often different with Free and Open Source Software (FOSS) projects, where the motivation to develop the software is in many cases derived more out of passion and sometimes a wildly successful hobby rather than any financial incentives.

Yet what if financial incentives are added by those who have a vested interest in seeing certain features added or changed in a FOSS project? While with a commercial project it’s clear (or should be) that the paying customers are the ones whose needs are to be met, with a volunteer-based FOSS project the addition of financial incentives make for a much more fuzzy system. This is where FOSS projects like the Zig programming language have put down their foot, calling FOSS bounties ‘damaging’.

Continue reading “Do Bounties Hurt FOSS?”

Inverse Vaccines Could Help Treat Autoimmune Conditions

Autoimmune diseases occur when the immune system starts attacking the body’s own cells. They can cause a wide range of deleterious symptoms that greatly reduce a patient’s quality of life. Treatments often involve globally suppressing the immune system, which can lead to a host of undesirable side effects.

However, researchers at the University of Chicago might have found a workaround by tapping into the body’s own control mechanisms. It may be possible to hack the immune system and change its targeting without disabling it entirely. The new technique of creating “inverse vaccines” could revolutionize the treatment of autoimmune conditions.

Continue reading “Inverse Vaccines Could Help Treat Autoimmune Conditions”

Books You Should Read: David Macaulay’s Architecture Series

For a lot of us, there’s a bright line separating the books we enjoyed as children from the “real” books of our more mature years. We all eventually age out of the thin, brightly illustrated picture books we enjoyed in our youth, replacing them with thicker, wordier volumes with fewer and fewer illustrations, until they become so dense with information that footnotes and appendices are needed to convey all the information, and a well-written index is a vital necessity to make use of any of it.

Such books seem like a lot less fun than kids’ books, and they probably are, but most of us adjust to the change and accept the fact that the children’s section of the library doesn’t hold much that’ll interest us anymore. But not all the books that get a “JUV” label on their spines are created equal. Some are far more than picture books, even if the pictures are the main attraction. The books of British-born American author David Macaulay come to mind, particularly the books comprising his Architecture Series.

Macaulay’s books were enormously influential in developing my engineering sensibilities, and are still a pleasure to thumb through these many years later. I still learn something about the history of construction and engineering when I pull one of these books off the shelf, which makes them Books You Should Read.

Continue reading “Books You Should Read: David Macaulay’s Architecture Series”

You’ve Got Mail: Reading Addresses With OCR

Last time I delivered on this column, I told you about the USPS’ attempts to fully automate a post office. Of course, that’s a bit of a misnomer, since it took 1,500 employees to actually operate the place on a daily basis. Although Project Turnkey in Rhode Island and Project Gateway in California were proving grounds for all kinds of mail sorting and processing equipment, the act of actually reading addresses and routing mail to its final destination still required human intervention and hand coding.

Today, the post office processes hundreds of millions of mail pieces each day using various pieces of equipment. One of those important pieces of equipment is the OCR address reader, which manages to make sense of all kinds of chicken scratch.

Continue reading “You’ve Got Mail: Reading Addresses With OCR”

The Challenge Of Weather Modification In The Face Of Climate Change

Over the past decades we have been able to observe a change in the Earth’s climate, caused by an increasing amount of energy being retained in the atmosphere. This in turn has affected weather systems around the globe, causing more extreme weather. As a result, the prospect of weather control is more relevant than ever for the nations which are most directly impacted by severe rain and winds.  Although the concept of weather modification is not new, it used to be primarily focused on rather limited aspects, such as cloud seeding to increase precipitation.

Recent proposals such as Japan’s weather modification moonshot program seek to find ways to prevent or lessen the impact of torrential rains, typhoons and similar extreme weather events which accompany climate change.  This proposal is part of Japan’s multi-topic Moonshot R&D program which seeks to advance the state of the art in a wide range of fields in a very significant way by 2050. As far as weather modification is concerned, this naturally raises many questions. Clearly we are capable of affecting the climate through emissions of e.g. greenhouse gases and large-scale construction, but are there ways in which humans can affect the climate and weather in a more refined manner that benefits society, or is this something which will remain beyond our grasp for the foreseeable future?

Continue reading “The Challenge Of Weather Modification In The Face Of Climate Change”

You’ve Got Mail: Automatic For The People

When we last left the post office, I told you all about various kinds of machinery the USPS uses to move mail around. Today I’m going to tell you about the time they thought they could automate nearly every function inside the standard post office — and no, it wasn’t anytime recently.

By 1953, the post office badly needed modernization. When Postmaster General Arthur Summerfield was appointed that year, he found the system essentially in shambles. Throughout the 1930s and 40s, the USPS had done absolutely no spending beyond the necessary, with little to no investment in the future. But Summerfield was an ideas man, and he had the notion to build a totally automated post office. One of them would be located in Providence, Rhode Island and be known as Project Turnkey — as in a turnkey operation. The other would be located in Oakland, California, and serve as a gateway to the Pacific.

Continue reading “You’ve Got Mail: Automatic For The People”