Magnets Versus Laundry Detergent

Soap cleans clothes better than magnets. There, we are spoiling the ending so don’t accuse us of clickbaiting. The funny thing is that folks believe this is plausible enough to ask magnets experts so often that they dedicate a blog entry to comparing magnets and soap. Since you already know how this ends, let’s talk about why this is important. Science. Even though some magnet retailers, herein referred to as [the experts] can easily dismiss this question as fanciful or ridiculous, they apply the scientific method to show that their reasoning is sound and clean evidence is on their side. [The experts] detail the materials and techniques in their experiment so peers may replicate the tests and come to the same results themselves. We do not doubt that the outcome would be equally conclusive.

The experiment includes a control group which processes dirty clothes without detergent or magnets, one group with only magnets, one group with only detergent, and one group with both. White clothing was soiled with four well known garment killers and manually agitated in a bin of warm water. We guessed that magnets would be on par with the control group, and we were pleased to be right. [The experts] now have a body of work to reference the next time someone comes at them with this line. The only question now is if tricky spouses used science to get nerds to do the laundry.

In this age of spin, keeping facts straight instead of jumping to heartfelt conclusions is more vital than ever. We are all potentially citizen scientists so testing a conspiracy is within everyone’s grasp.

Continue reading “Magnets Versus Laundry Detergent”

How Much Wood Can A Woodpecker Chuck?

It’s probably clear to a Hackaday reader that we live in a golden era for hobbyist tool accessibility. Cheap single board computers can be bought at any neighborhood RadioShack or Maplin. 3D printers sell fully assembled and ready to run for less than $200. Even the humble CNC mill has come down the price curve, though as you might expect at the low end things can get pretty rough. Like a cheap 3D printer, a cheap mill tends to be missing some basic features you’d expect any reasonable machine to have. If you get your hands on one of these little wonders, [Shahada Abubakar] has a pair of great blog posts on the basic set of upgrades you’ll probably want to perform right out of the box.

Which cheap CNC mills are we talking about? They go by a few names. Last year our own [Kristina Panos] put together a review of a shockingly inexpensive “1610” type sold by Linksprite (go take a read if you’re already considering a purchase!). The “1610” class, so named for it’s 16 cm x 10 cm bed size, is pretty common under a wide variety of manufacturer names. You can find them in this size made of 8020 like [Kristina] did or as “upgraded” versions cut from 1/4″ mystery plastic (often referred to in the listings as Bakelite, but your guess is as good as ours as to the true material). 1610 is the smallest size but basically the same machine exists as an 1810, 2418, or 3018. Each has a 775 size spindle and a single PCBA that handles stepper drive and runs grbl.

So what’s the problem? Well for one none of these machines have limit switches, though the controllers support them. [Shahada]’s guide has handy instructions for what kind to buy, how to wire them, and where they can be attached. Plus an overview of the G-code instructions to send the controller in order to home and configure everything properly. The controllers also like to be driven continuously over serial (though some sellers seem to offer a separate board to drive them). This is fine if you have a computer handy, but like a 3D printer it can be nice to bolt a Pi Zero or similar onto the unit and control it over the network. [Shahada]’s second post has a link to a mounting plate you can print for exactly that setup, as well as some suggestions for configuring CNC.js to drive everything.

Do you have one of these machines? Done any upgrades? Tell us in the comments! We’re always looking for ways to upgrade our home shop.

Use A 3D Printer To Electrospin Textiles

We are all used to desktop 3D printers that extrude molten plastic in layers to build up finished items. A pair of researchers at the Human-Computer Interaction Institute at Carnegie Mellon University, [Michael Rivera] and [Scott Hudson], have added another capability to their printer: electrospinning of textiles.

Electrospinning is a technique in which an extruded material is accelerated from the extruder by an electrostatic charge to form an extremely thin fibre. By applying a many-kilovolt charge between the extruder and the bed, they can create a fibre and lay it down into a mesh from a height to create a felt-like fabric. The same extruder can also produce conventional solid prints, allowing the creation of composite fabric and solid items. They demonstrate a variety of prints including a folding mobile phone stand, a woven lamp, and an interactive wooly sheep, which along with others can be seen in the video below the break.

The full paper can be downloaded as a PDF, and makes for very interesting reading. The voltages involved mean that your Prusa clone may not have this capability any time soon, but we look forward to the moment when desktop electrospinning is a feature on affordable 3D printers.

Continue reading “Use A 3D Printer To Electrospin Textiles”

Driving A 16×2 LCD With Voltage Modulation

The basic 16×2 LCD is an extremely popular component that we’ve seen used in more projects than we could possibly count. Part of that is because modern microcontrollers make it so easy to work with; if you’ve got an I2C variant of the display, it only takes four wires to drive it. That puts printing a line of text on one of these LCDs a step or two above blinking an LED on a digital pin on the hierarchy of beginner’s electronics projects.

What’s that? Even four wires is too many? In that case, you might be interested in this hack from [Vinod] which shows how you can drive the classic 16×2 with data and power on the same pair of wires. You’ll still need a microcontroller “backpack” for the LCD to interpret the modulated voltage, but if you’ve got an application for a simple remote display, this is definitely worth checking out.

The basic idea is to “blink” the 5 V line so quick that a capacitor on the LCD side can float the electronics over the dips in voltage. As long as one of the pins of the microcontroller is connected to the 5 V line before the capacitor, it will be able to pick up when the line goes low. With a high enough data rate and a large enough capacitor as a buffer, you’re well on the way to encoding your data to be displayed.

For the transmitting side, [Vinod] is using a Python script on his computer that’s sending out the text for the LCD over a standard USB to UART converter. That’s fed into a small circuit put together on a scrap of perfboard that triggers a MOSFET off of the UART TX line.

We actually covered the theory behind this technique years ago, but it’s always interesting to see somebody put together a real-world example. There might not be too many practical uses for this trick in the era of dirt-cheap microcontrollers bristling with I/O, but it might make a fun gag at your hackerspace.

Continue reading “Driving A 16×2 LCD With Voltage Modulation”

Junkbox MIDI

Do you ever peer into the void…of your hardware scrap box? It may be a wonderland of parts with near-infinite potential, and they just need to be assembled and depending on what you hoard, programmed. Access to a laser engraver doesn’t hurt either. The stuff in [Mr. Sobolak]’s bin is cooler than average, at least by Hackaday writer standards. His sound palette project is a wild mixture of interfaces, hardware, channels, and color. There are arcade pushbuttons, slider potentiometers, rotary potentiometers, miniature laser harp, touch piano, and drum pads which earns the title of junk box build extraordinaire.

Under the hood, we find the usual copper tape, wire and solder connecting operators to a Teensy 3.2. In the more esoteric part of the BOM, we find some fancy SoftPots which look like great fun to play. All the code is linked in the Instructable, but there is absolutely no reason to make an exact copy. MIDI is from the 80s and libraries abound for this protocol so the building may be the hardest part of making an interface that fits your character. Some of the techniques in the Instructable may help you, like how to connect a piezo element so it can read something lighter than a wrecking ball or the laser harp roughly the size of your palm.

We are not short of MIDI interfaces if you are thinking of making your own or be truly random.

Continue reading “Junkbox MIDI”

SNES Mode 7 Gets An HD Upgrade

Emulating SNES games hits us right in the nostalgic feels, but playing SNES games on an 1920×1080 monitor is a painful reminder of the limitations of SNES hardware. [DerKoun] felt the same consternation, and decided to do something about it. He realized that some SNES games have much higher resolution textures that weren’t being taken advantage of. The SNES had a revolutionary video mode, mode 7, that allowed a game to set a relatively high resolution background, and then rotate and scale that background during gameplay.

This pseudo 3d effect was amazing for its time, but taking a high resolution image and squashing it into a 320 by 240 pixel viewport makes for some painful artefacts. This is where [DerKoun]’s hack comes in. He wrote a modification to the bsnes emulator, allowing those rotations and scaling to happen in full resolution, vastly improving the visuals of mode 7 games.

The latest teaser for what’s to come is shown above, mapping the mode 7 backgrounds onto a widescreen viewport, as well as HD.

Come back after the break for some mind blowing SNES HD PilotWings action!

Update: Development discussion has continued in a new thread. Start with link above to get origin story and continue to the new dev thread for recent updates.
Continue reading “SNES Mode 7 Gets An HD Upgrade”

The No-CPU Computer Gets A C Compiler

C is the most perfect language and it will run on anything. It will even run on a computer without a CPU.

The computer in question here is the Gigatron, a fully-functional ‘home computer’ the likes of which you would find in the late 70s and early 80s, complete with a VGA output. What makes the Gigatron exceptional is the fact that there is no microprocessor; everything is just a RAM, a ROM, and a bunch of logic chips. There is no ALU chip. Or rather, there is; it’s just that an entire RISC CPU is implemented in basic logic chips and a whole lot of microcode on the ROM. It’s weird, yes, but it is cool. We’ve taken a look at the Gigatron before, and with this computer you get a glimpse of how clever engineers could have been if there were massive memories available in the late 70s.

While the Gigatron can be programmed in BASIC, the limiting factor of this computer is the fact that it remains exceptionally difficult to program. This is what the 8-Bit Guy says, and even though you can write some simple programs, it’s nothing compared to the likes of an Apple II or C64. If only there were a proper IDE, indeed if only there were a C compiler. That’s where [pgavlin] comes in. He has the LCC compiler working on the Gigatron. This is technically a C compiler for a computer without a CPU, or a computer that is entirely CPU. Either way you look at it, this is impressive.

As far as examples and demos go, [pgavlin] has a demo of Conway’s Game of Life working, and a program that will put dots on the screen. It’s not much, and it’s very slow, but check out the video below.

This isn’t a complete implementation of C, as multiplication, division, mod, and arbitrary shifts left or right haven’t been written yet. Floating point support will probably never be completed, and there’s no shame in that. The hardware is limited due to the fact of the fragmented memory map, but this can be improved by upgrading the Gigatron to a 64k memory model.

 

Continue reading “The No-CPU Computer Gets A C Compiler”