library

We’re still not sure exactly how [connornishijima]’s motion detector works, though many readers offered plausible explanations in the comments the last time we covered it. It works well enough, though, and he’s gone and doubled down on the Arduino way and bundled it up nicely into a library.

In the previous article we covered [connor] demonstrating the motion detector. Something about the way the ADC circuit for the Arduino is wired up makes it work. The least likely theory so far involves life force, or more specifically, the Force… from Star Wars. The most likely theories are arguing between capacitance and electrostatic charge.

Either way, it was reliable enough a phenomenon that he put the promised time in and wrote a library. There’s even documentation on the GitHub. To initialize the library simply tell it which analog pin is hooked up, what the local AC frequency is (so its noise can be filtered out), and a final value that tells the Arduino how long to average values before reporting an event.

It seems to work well and might be fun to play with or wow the younger hackers in your life with your wizarding magics.

When was the last time you went to a library? If it’s been more than a couple of years, the library is probably a very different place than you remember. Public libraries pride themselves on keeping up with changing technology, especially technology that benefits the communities they serve. No matter your age or your interests, libraries are a great resource for learning new skills, doing research, or getting help with just about any task. After all, library science is about gathering together all of human knowledge and indexing it for easy lookup.

It doesn’t matter if you’re not a researcher or a student. Libraries exist to serve everyone in a class-free environment. In recent years, patrons have started looking to libraries to get their piece of the burgeoning DIY culture. They want to learn to make their lives better. Public libraries have stepped up to meet this need by adding new materials to their collections, building makerspaces, and starting tool libraries. And this is in addition to ever-growing collections of electronic resources. Somehow, they manage to do all of this with increasingly strained budgets.

The purpose of this article is to explore the ways that libraries of all stripes can be a valuable resource to our readers. From the public library system to the sprawling academic libraries on college campuses, there is something for hackers and makers at all levels.

Sure, you’re a hardcore superuser, but that doesn’t mean you don’t enjoy the finer things in life — like shiny squircles and getting every new app first. But, what’s an OS-indiscriminate person like yourself going to do when it comes time to purchase music? That’s where the recover_itunes tool shines, and if you’re a Linux user with an iPhone, it might just be your new best friend.

[Evan] found his minion at a McDonald’s and took out essentially everything inside of it, using the minion as a case for all of the interesting bits. First he scavenged a PS/2 port from an old motherboard. An Arduino Nano is wired to an HC-05 Bluetooth chip to translate the signals from the PS/2 peripherals into Bluetooth. The HC-05 chip is a cheaper alternative to most other Bluetooth chips at around $3 vs. $40 for more traditional ones. The programming here is worth mentioning: [Evan] wrote a non-interrupt based and non-blocking PS/2 library for the Arduino that he open sourced which is the real jewel of this project.

Once all the wiring and programming is done [Evan] can turn essentially any old keyboard and mouse into something that’ll work on any modern device. He also put an NFC tag into the minion’s head so that all he has to do to connect the keyboard and mouse is to swipe his tablet or phone past the minion.

Textfiles.com is the largest repository of BBS archives and digital writings in the world, and admin [Jason Scott] has a nearly single-minded devotion to saving the documents of and relating to our electronic age. Now, he’s in a bit of a pickle. He found 25,000 manuals for all kinds of electronic items. The collection goes back to the 30s, [Jason] wants to save them, and the current owner of the collection needs the space. Have you ever noticed how terrible books are to move?

Included in this collection just outside Baltimore, MD are thousands of manuals for various pieces of equipment going back to the 1930s. There are Tektronix manuals, HP manuals, and instructions and schematics for equipment that hasn’t been made in a very, very long time. [Jason] put up a Flickr gallery of the library in all its glory. There’s bound to be some very interesting stuff in there.

Of course the acquisition of tens of thousands of out of print manuals will never go smoothly. [Jason] needs to start emptying out the shelves on Monday. The current plan is to go through all the manuals, remove the duplicates, and shuffle them over to a storage unit about a mile away until they can be dealt with properly. If you’re around Baltimore, or more specifically Finksburg, MD, [Jason] could use a few hands to clear out this archive on Monday.

For every computer error, there are two human errors, and one of them is blaming the computer. Whenever a human blames a computer for something, there are two tools, and one of them is the computer.

Not all of your nifty tools need to be fancy robots, CNC machines, or nifty Robertson screwdrivers; a computer is equally capable of being a fantastic tool, provided it has the right software. For this week’s Hacklet, we’re going through some of the best software tools on hackaday.io.

[Alan] was inspired to build a software tool for making sewing patterns. Sewing patterns are usually designed for the ‘average’ person, but if you’re making custom wearables, you should end up with a piece of clothing that fits perfectly.

The first project [Alan] is using this tool for is a fleece cap that fits the contour of his head. He captured a 3D mesh of his head, imported the mesh into Blender, and unwrapped the resulting mesh. The two halves of the hat were then plotted with a Silhouette Cameo, cut out of fleece, and sewn together. The result is a beanie that fits perfectly around [Alan]’s head. It’s an extremely cool and novel application of 3D modeling, and if you ever need to wrap a 3D object with a 2D material, this is the project you want to check out.

And you thought the autorouter in Eagle was bad.

[Anderson] built a tool called Pyrite that will take a schematic and build a layout in three-dimensional space. He calls them Volumetric Circuits, and it’s basically the point-to-point wiring found in old radios and amplifiers taken to the next level. We featured this project before, and there haven’t been many updates since then. Maybe giving [Anderson]’s project a few skulls will help motivate him to get back to the project.

[Snegovick] calls his project BCAM, and it’s exactly what you need to mill holes in PCBs, cut gears with a CNC router, engrave plastic, and anything else a 2.5 axis CNC machine can do. The project is written in Python, and yes, the source is available. Supported operations include drilling, path following, offset path following, and pocketing.

Write enough microcontroller projects, and you’ll eventually come up with your own library of common code that does one thing and one thing well. If you’re smart, you’ll reuse that code in future projects. [ericwazhung] is cutting through the hard part of developing all this code and released some things that are useful in a whole lot of projects.

Included in the commonCode library are the usual ‘heartbeat LED’, non-blocking input, a standard interface for AVR timers, bitmaps of text characters, DC motor control, and a whole bunch more. Extremely useful in any event.

That’s it for this round of the Hacklet, bringing you the best hackaday.io has to offer.

While playing music with floppy drives has been done many times over, making any device with a stepper motor play music still appeals to the hacker in all of us. [Tyler] designed an Arduino shield and a library which lets you get up and running in no time. [Tyler]’s shield includes pin headers to connect 4 floppy drives, which plug directly into the shield. The drives don’t need any modification before being used.

While you could simply wire a few floppy drives up to an Arduino with some jumpers, this breakout shield makes connecting your drives trivial. In addition to designing the shield, [Tyler] released an Arduino library to make things even easier. The library lets you simply set the frequency you want each drive to play, which saves a bit of legwork.

The floppy-controlling Arduino library is available on GitHub and a video of the controller is included after the break.