Softly To Sleep, My Raspberry Pi

For all their capacity, shutting down a Raspberry Pi can be a bothersome routine depending on how you have it set up — historically and abrupt cut to the power risks corrupting the SD card. [madlab5] had to make a few changes to a Pi running in headless mode, requiring them to access it externally to shut it down to prevent any damage from pulling the plug. So, why not take the opportunity to whip up a soft shut-down switch?

This is a great beginner project to get one accustomed to working with a Pi. With this in mind, [madlab5] went through two revisions of this idea: the simple way, and the fun way. For the simple way just press the button and the Pi activates a script which shuts it down in thirty seconds. Job done. But, realizing there may be a few circumstances where they’d need more functionality, [madlab5] decided to take a second swing at this.

[madlab5]’s fun way involves a button with a built-in LED and a speaker to blare an announcement that the Pi will self destruct shut down after a short time. Setting the switch up this way takes a little more doing, but you get to add a little more character to your Pi with a custom shutdown report, as well as the option to cancel an accidental button-press.

For any newbies out there, [madlab5] is kind enough to provide their code and diagrams in their blog post. If remotes are more your thing, we have also featured a similar beginner project to shut down your Pi.

[via /r/Raspberry_Pi_Projects]

Tiny Light Bulb Flasher Vies For World’s Record

We’re going to go out on a limb here and declare this minuscule incandescent light flasher the smallest such circuit in the world. After all, when you need a microscope to see it work, you’ve probably succeeded in making the world’s smallest something.

Even if it’s not record breaking, [Ben Krasnow]’s diminutive entry in the 2017 Flashing Light Contest, which we recently covered, is still pretty keen. For those not familiar with the contest, it’s an informal challenge to build something that electrically switches an incandescent light on and off in the most interesting way possible for the chance to win £200. [Ben] says he’ll donate the prize money to a STEM charity if he wins, and we’d say he has a good chance with this flea-sized entry.

The incandescent lamp he chose is a specialty item for model makers and scale railroad enthusiasts; we’d heard of “grain of wheat” bulbs before, but this thing is ridiculous. The bulb makes the 4.6 mm diameter SR416 hearing aid battery that powers the flasher look enormous. The driver is a clever Schmitt trigger inverter with a tiny RC network to flash the bulb at about 1 Hz. The video below shows the flasher working and details the development and the build, which featured spot welding to the battery. [Ben] has even spec’d precisely how many Joules of energy will rupture the thing steel cases on these cells — we suspect involuntarily through trial and error.

[Ben]’s entry in the contest is now our favorite, and not just because he’s been a great friend to Hackaday with such classic hacks as watching a phonograph needle with an electron microscope and a homebrew CT scanner. This circuit is genuinely fascinating, and we hope it inspires you to try to top it. There’s a little less than a month left in the contest, so get to it.

Continue reading “Tiny Light Bulb Flasher Vies For World’s Record”

Will It Sell?

Many of us develop things for one of two purposes: to hack something cool, or to sell something cool. When hacking something cool, your target market is yourself, and you already know you’ve made the sale. If your goal is to sell the thing you are making, then a lot more thought and effort is required. You could develop the coolest product in the world, but if your target market is too small, your price is too high, your lead time is too long, or any of a dozen other factors is not quite right, you’ll be spending a lot of time and effort on what will amount to a huge disappointment. The Hackaday Prize Best Product has many great examples which let us study some of these success factors, so let’s take a look. Continue reading “Will It Sell?”

Mechanical Image Acquisition With A Nipkow Disc

If you mis-spent your teenage years fishing broken televisions from dumpsters and either robbing them for parts or fixing them for the ability to watch The A Team upstairs rather than in the living room as I did, then it’s possible that you too will have developed a keen interest in analogue television technology. You’ll know your front porch from your blanking interval and your colour burst, you might say.

An illustration of a simple Nipkow disk. Hzeller (CC BY-SA 3.0).

There was one piece of television technology that evaded a 1980s dumpster-diver, no 625-line PAL set from the 1970s was ever going to come close to the fascination of the earliest TV sets. Because instead of a CRT and its associated electronics, they featured a spinning disk with a spiral pattern of holes. These mechanical TV systems were quickly superseded in the 1930s by all-electronic systems, so of the very few sets manufactured only a fraction have survived the intervening decades.

The spinning disk in a mechanical TV is referred to as a Nipkow disk, after its inventor, [Paul Gottlieb Nipkow]. [Nipkow] conceived and patented the idea of a spinning disk with a spiral of holes to dissect an image sequentially into a series of lines in the 1880s, but without the benefit of the electronic amplification that would come a few decades later was unable to produce a viable system to demonstrate it. It would be in the 1920s before [John Logie Baird] would develop the first working television system using [Nipkow]’s invention.

Continue reading “Mechanical Image Acquisition With A Nipkow Disc”

The PDP-1: The Machine That Started Hacker Culture

One of my bucket list destinations is the Computer History Museum in Mountain View, California — I know, I aim high. I’d be chagrined to realize that my life has spanned a fair fraction of the Information Age, but I think I’d get a kick out of seeing the old machines, some of which I’ve actually laid hands on. But the machines I’d most like to see are the ones that predate me, and the ones that contributed to the birth of the hacker culture in which I and a lot of Hackaday regulars came of age.

If you were to trace hacker culture back to its beginning, chances are pretty good that the machine you’d find at the root of it all is the Digital Equipment Corporation’s PDP-1. That’s a tall claim for a machine that was introduced in 1959 and only sold 53 units, compared to contemporary offerings from IBM that sold tens of thousands of units. And it’s true that the leading edge of the explosion of digital computing in the late 50s and early 60s was mainly occupied by “big iron” machines, and that mainframes did a lot to establish the foundations for all the advances that were to come.

Continue reading “The PDP-1: The Machine That Started Hacker Culture”

CastAR Shuts Doors

Polygon reports CastAR is no more.

CastAR is the brainchild of renaissance woman [Jeri Ellsworth], who was hired by Valve to work on what would eventually become SteamVR. Valve let [Jeri] go, but allowed her to take her invention with her. [Jeri] founded a new company, Technical Illusions, with [Rick Johnson] and over the past few years the CastAR has appeared everywhere from Maker Faires to venues better focused towards innovative technologies.

In 2013, Technical Illusions got its start with a hugely successful Kickstarter, netting just north of one million dollars. This success drew the attention of investors and eventually led to a funding round of $15 million. With this success, Technical Illusions decided to refund the backers of its Kickstarter.

We’ve taken a look a CastAR in the past, and it’s something you can only experience first-hand. Unlike the Oculus, Google Cardboard, or any of the other VR plays companies are coming out with, CastAR is an augmented reality system that puts computer-generated objects in a real, physical setting. Any comparison between CastAR and a VR system is incomplete; these are entirely different systems with entirely different use cases. Think of it as the ultimate table top game, or the coolest D&D game you could possibly imagine.

Hacking An Inspection Microscope

Sometimes I need to be able to take photographs of very small things, and the so-called macro mode on my point-and-shoot camera just won’t cut it. And it never hurts to have an inspection scope on hand for tiny soldering jobs, either, though I prefer a simple jeweler’s loupe in one eye for most tasks. So I sent just over $40 off to my close friend Alibaba, and a few weeks later was the proud owner of a halfway usable inspection scope that records stills or video to an SD card.

Unfortunately, it’s only halfway useable because of chintzy interface design and a wobbly mount. So I spent an afternoon, took the microscope apart, and got it under microcontroller control, complete with WiFi and a scripting language. Much better! Now I can make microscope time-lapses, but much more importantly I can take blur-free photos without touching the wiggly rig. It was a fun hack, so I thought I’d share. Read on!

Continue reading “Hacking An Inspection Microscope”