A Raspberry Pi Grimoire For The Command Line Wizard

Who says there’s no such thing as magic? Not anyone who knows what a Unix pipe is, that’s for sure. If you do some of your best incantations at a blinking cursor, this scratch-built Raspberry Pi Zero “Spellbook” laptop created by [Calvin] might be just what the apothecary ordered. Lucky for us, he was kind enough to document the design and construction of this penguin-powered tome for anyone else who wishes to dabble in the GNU Dark Arts.

In the series of videos after the break, viewers have the opportunity to watch a project go from idea to final product. The first video was uploaded nearly a month before the project was completed, and goes over some of the design elements of the project as well as different ideas [Calvin] had in terms of things like component placement. Throughout the video, he illustrates his ideas in TinkerCAD, which might not have been our first choice for a project this complex, but it does go to show what’s possible in the free web-based CAD package.

By the second video, [Calvin] has printed some parts and now has the hardware coming together. The general idea is that the outside panels of the “book” are made out of steel cut from the side panel of an old computer, with the 3D printed components taking the form of spacers between the electronic components. These plastic “pages” are not only easier and faster to print than a complete case, but help sell the appearance of the book when viewed from the sides.

[Calvin] has shared his TinkerCAD design so that others can print out the necessary components for the book, though you’ll have to source your own steel plates. He also breaks down all the principle components he used and gives links to where you can buy them, from the display and keyboard down to the screws and standoffs. He went with the Pi Zero and sticks to mainly console work, but if you want something with enough power to throw around a graphical environment, he says there’s room in the case for a Pi 3.

Hackers seem to enjoy hiding hardware inside of books, PLA or otherwise. We’ve recently seen an iPad nestled snugly into a notebook, and of course no house would be complete without a book doubling as a hidden switch.

Continue reading “A Raspberry Pi Grimoire For The Command Line Wizard”

Visual Magnetic Fields

If you need help visualizing magnetic fields, these slow-motion video captures should educate or captivate you. Flux lines are difficult to describe in words, because magnet shape and strength play a part. It might thus be difficult to visualize what is happening with a conical magnet, for a person used to a bar magnet. We should advise you before you watch the video below the break, if you are repelled by the sight of magnetite sand clogging a bare magnet then flying on the floor, this is your only warning.

The technique and equipment are simple and shown in the video. A layer of black sand is spread on a piece of tense plastic to make something like a dirty trampoline, and a neodymium magnet is dropped in the middle. The bouncing action launches the sand and magnet simultaneously so they are hanging in the air and the particles can move with little more than air resistance.

These videos were all taken with a single camera and a single magnet. Multiple cameras would yield 3D visuals, and the intertwining fields of multiple magnets can be beautiful. Perhaps a helix of spherical magnets? What do you have lying around the hosue? In a twist, we can use magnets to simulate gas atoms and trick them into performing unusual feats.

Continue reading “Visual Magnetic Fields”

Know Your Fits And Tolerances

When designing parts on a screen, it’s very easy to type in a bunch of nice round numbers and watch everything slot together in perfect harmony. Unfortunately, the real world is not so kind. A 10mm shaft will not readily fit in a 10mm hole, and producing parts to perfect dimensions simply isn’t possible. This is where fits and tolerances come in, and [tarkka] have created a practical demonstration of this on Youtube.

Tighter tolerances require more care and thus increase production costs significantly.

Hole and shaft tolerances are important to ensure parts mate correctly and as intended. If a shaft is to fit into a hole easily and the dimensions aren’t critical, a clearance fit is called for. If assembly should be easy but the part is required to locate accurately, a running fit is called for. Alternatively, if the parts are intended to be pressed together permanently, an interference or force fit should be used.

The video covers the basics of fits and tolerances in an easy to understand way, with visual examples. The fits discussed are based in Imperial measurements, but the metric standard of hole and shaft tolerances (ISO 286-2) is also noted.

Getting your tolerances right is key to making good parts – we’ve covered common issues such as tolerance stacking before. Video after the break.

Continue reading “Know Your Fits And Tolerances”

Casting The Bed Of A CNC Machine In Granite

If you’re looking at CNC machines, or machine tools in general, heavier is better. That old drill press or mill made of a few hundred pounds of cast iron isn’t just better because it’s stood the test of time for a hundred years — greater mass equals less vibration. Thanks to modern epoxy resins, we now have a replacement for tons and tons of iron. Epoxy granite, or chips of granite bound together with epoxy resin, is a viable and very good base for CNC machines, mills, and other tools that are served well with a ton of mass. [Joerg Beigang] is building his own CNC router, and he’s building the base out of epoxy granite. Here’s how he’s doing it.

Before you pour epoxy into a mold, you’ll need to figure out how you’re going to attach your ways, linear rails, and ball screws. [Joreg] is bolting these parts to pieces of aluminum he cut on his home made panel saw before carefully drilling and tapping them to accept the linear rails. These aluminum plates were then mounted to the bottom panel of the mold, in this case melamine-coated plywood.

As you would expect, the most intricate part of this build isn’t globbing up a mold with epoxy resin. No, the real trick here is making sure the rails of the CNC are aligned perfectly before the epoxy goes in. This was done by bolting the linear rails to the mold box and checking everything with a dial indicator. Once that was done it was time to pour.

The bed itself is made of 18kg of epoxy granite, with the entire pour done in four batches. The best way to settle a big pour of epoxy granite is through vibration, just like concrete, but it looks as though [Joreg] is getting some good results by tamping it down with a few sticks. You can check out the first part of this build series below.

If we’ve captured your interest, it’s worth reminding you that this isn’t the first epoxy granite CNC machine we’ve featured.

Continue reading “Casting The Bed Of A CNC Machine In Granite”

E-Ink Price Tags Fall Off Store Shelves Onto Your Workbench

There’s always a magic moment for our community in the lifecycle of any piece of technology: the point at which it first becomes available for pennies on the surplus market. Something which could previously be had only at a price is rendered down to mere pennies, and we are free to hack to our heart’s content.

Such a moment came for [Aaron Christophel] when he bought a quantity of used e-ink price tags (German, Google Translate link) that had formerly graced the shelves of a supermarket. A pile of readily hackable e-ink displays lay before him, so he set to work.

Cracking them open he found the display itself as well as a PCB with its own microcontroller, but he soon identified it as compatible with a WaveShare module for which he had data. Since its interface was thus identified as SPI he could desolder the unknown CPU and break out the pins for an Arduino or other board. The display itself turned out to be a custom model with a few quirks for price tags, it had a black border that could be enabled, and for some reason it appeared as a two-colour red-and-black model in which its black pixels responded as though they were the red channel. He has a quick overview video that we’ve placed below the break.

These displays have started appearing in our community, not least in electronic conference badges. This source of cheap components from the surplus market makes them ever more accessible, and we look forward to the projects that will come from them.

Continue reading “E-Ink Price Tags Fall Off Store Shelves Onto Your Workbench”

Would You Like To Play A Game? WOPR Summit Is This Weekend

During the summer months it might be known as “America’s Playground”, but around this time of year, Atlantic City is generally the destination of choice for bus loads of seniors looking to burn up some of that fixed income. Of course, that was before the WOPR Summit came to town. From March 1st to the 3rd, it promises to transform Bally’s Hotel and Casino on the famous Atlantic City Boardwalk into a high-tech oasis in a sea of oxygen tanks and walkers. There might not be any fun in the sun to be had at this time of year, but a full schedule of talks and workshops covering everything from penetration testing to ham radio is more our speed anyway.

There’s still a couple days to register for WOPR online at a discount, but naturally they’ll be happy to take your money at the door if you miss the cutoff. As of this writing, there’s even still rooms left at Bally’s for the special WOPR rate, which you’ll probably want to take advantage of as the schedule has events running until well past our normal bedtime.

WOPR looks like it will be a nice mix between hardware and software, with a generous sprinkling of InfoSec. Presentations such as “Strategies for your projects: Concept to Prototype” and “Being Q. — Designing Hacking Gadgets” sound like classic Hackaday fare. But even if you aren’t normally into the security scene, talks such as “Ham Hacks: Breaking into Software Defined Radio” and “An Introduction to IoT Penetration Testing” seem like they’ll be an excellent way to cross the divide. In between the talks, they promise to have a hackerspace up and running for you to check out, complete with soldering classes and contests.

It’s not often that you get to witness the birth of a new hacking conference, especially one on the East Coast, so Hackaday will be shaking off the last bits of our long winters nap as I catch the next bus out of the Senior Center that’s headed towards the Boardwalk. Track me down and you might even be able to take some of our Jolly Wrencher stickers home along with your slot machine winnings. But even if you can’t make it to America’s rather chilled and blustery playground this weekend, I’ll be sure to report on all the highlights so you can live vicariously through the comforting flicker of your favorite screen.

Stethoscopes, Electronics, And Artificial Intelligence

For all the advances in medical diagnostics made over the last two centuries of modern medicine, from the ability to peer deep inside the body with the help of superconducting magnets to harnessing the power of molecular biology, it seems strange that the enduring symbol of the medical profession is something as simple as the stethoscope. Hardly a medical examination goes by without the frigid kiss of a stethoscope against one’s chest, while we search the practitioner’s face for a telltale frown revealing something wrong from deep inside us.

The stethoscope has changed little since its invention and yet remains a valuable if problematic diagnostic tool. Efforts have been made to solve these problems over the years, but only with relatively recent advances in digital signal processing (DSP), microelectromechanical systems (MEMS), and artificial intelligence has any real progress been made. This leaves so-called smart stethoscopes poised to make a real difference in diagnostics, especially in the developing world and under austere or emergency situations.

Continue reading “Stethoscopes, Electronics, And Artificial Intelligence”