You Can Now Buy A Practical Gauss Gun

Occasionally we come across a piece of information which reminds us that, while flying cars are still nowhere to be found, we’re definitely living in the future. Usually it’s about some new application of artificial intelligence, or maybe another success in the rapidly developing field of private spaceflight. But sometimes it’s when you look at a website and say to yourself: “Oh cool, they have 1.5kW electromagnetic accelerators in stock.”

Arcflash Labs, a partnership between [David Wirth] and [Jason Murray], have put their EMG-01A Gauss gun up for sale for anyone who’s brave enough and willing to put down $1,000 USD on what’s essentially a high-tech BB gun. The creators claim it obtains an efficiency of 6.5% out of its RC-style 6S LiPo battery pack, which allows it to fire over 100 rounds before needing to be recharged. Firing 4.6g steel projectiles at a rather leisurely 45 m/s, this futuristic weapon would be more of a match for tin cans than invading alien forces, but at least you’ll be blasting those cans from a position of supreme technical superiority.

The EMG-01A builds on the work of the team’s previous experiments, such as the semi-automatic railgun we covered last year. They’ve made the device much smaller and lighter than their previous guns, as well as worked on making them safer and more reliable. That said, the page for the EMG-01A has a number of warnings and caveats that you won’t see on the back of a Red Ryder BB gun box; it’s certainly not a toy, and anyone who takes ownership of one needs to be respectful of the responsibility they’re taking on.

Speaking of which, who can actually buy one of these things? The Arcflash Labs site makes it clear they will only ship to the United States, and further gives a list of states and cities were they can’t send a completed gun. Essentially they are following the same laws and guidelines used for shipping air guns within the US, as they believe that’s a fair classification for their electromagnetic guns. Whether or not the ATF feels the same way is unclear, and it should be interesting to see what kind of legal response there may be if Arcflash Labs starts moving enough units.

If you’d like to wage warfare on your recyclables without spending quite so much cash, you can always build your own for less. Or nearly nothing, if you want to go the full MacGyver route.

Continue reading “You Can Now Buy A Practical Gauss Gun”

Old Laptop? Mobile X86 Game System!

Between smartphones and tablets, computing is becoming increasingly mobile in nature. It used to be that everyone had a desktop computer, then laptops became the norm, and now many people don’t have anything beyond their mobile device. Unless you’re the kind of person who actually needs the power and versatility offered by a “real” computer, mobile devices are simply a more convenient option to browse the web and consume content.

But what if your needs are somewhere in the middle? You want an x86 computer and full operating system, but you also want something that’s more mobile than a tablet? If you’re like [mnt], you take an old Atom laptop that’s on its last legs and rebuild it as the Hacktop.

[mnt] describes the Hacktop as an “Emergency Gaming/Hacking Station”, and says he uses it everywhere he goes. Inspired by his Nintendo DSi, gaming controls are front-and-center on the Hacktop and he uses the machine to play everything from Half-Life to classic emulators.

But the Hacktop is capable of more than just playing Amiga games. The hand-soldered QWERTZ keyboard can be used with his thumbs, and the D-Pad doubles as the cursor keys. There’s a laptop touch pad on the back of the case, and the ten-inch LCD display is a touch screen as well. Definitely no shortage of input devices on this thing. It’s also packing some interesting special features, such as integrated RTL-SDR and LIRC hardware for mobile exploration and experimentation. [mnt] says the nine-cell battery should keep it alive and kicking for twelve hours or so, but it of course depends on what kind of stuff he gets into while out and about.

Hackers have been building their own mobile devices for a long time, and we’re always struck by the creative approaches individuals take compared to the rather cookie-cutter world of mobile consumer technology.

Shoehorning A Slick Spotify Remote Into An ESP8266

In 2017 Spotify finally deprecated their public vanilla C SDK library,  libspotify, and officially replaced it with dedicated SDKs for iOS and Android and this new-fangled web thing we’ve all heard so much about. This is probably great for their maintainability but makes writing a native application for a Linux or a hardware device significantly harder, at least without an application process and NDA. Or is it? Instead of using that boring slab of glass and metal in their pocket [Dani] wanted to build a handy “now playing” display and remote control interface but was constrained by the aforementioned SDK limitations. So they came up with a series of clever optimizations resulting in the clearly-named ESP8266 Spotify Remote Control.

The Spotify Remote Control has a color LCD with a touchscreen. Once attached to a Spotify account it will show the album art of the currently playing track (with a loading indicator!) and let you play/pause/skip tracks from its touch screen, all with impressively low latency. To get here [Dani] faced two major challenges: authorizing the ESP to interact with a user’s Spotify account, and low latency LCD drawing.

2 Bit Cover Art

If you’re not on iOS or Android, the Spotify web API is the remaining non-NDA’d interface available. But it’s really designed to be used on relatively rich platforms such as fully featured web browsers, not an embedded device. To that end, gone are the days of asking a user to enter their username and password in a static login box, the newer (better) way is to negotiate for a per-user token (which is individually authorized per application), then to use that to authenticate your interaction. With this regime 3rd party applications (in this case an ESP8266) never see a user’s password. One codified and very common version of this process is called OAuth and the token dance is called a “workflow”. [Dani] has a pretty good writeup of the process in their post if you want more detail about the theory. After banging out the web requests and exception handling (user declines to authorize the device, etc) the final magic ended up being using mDNS to get the user’s browser to redirect itself to the ESP’s local web server without looking up an IP first. So the setup process is this: the ESP boots and displays a URL to go to, the user navigates there on a WiFi connected device and operates the authorization workflow, then tokens are exchanged and the Remote Control is authorized.

The second problem was smooth drawing. By the ESP’s standards the album art for a given track at full color depth is pretty storage-large, meaning slow transfers to the display and large memory requirements. [Dani] used a few tricks here. The first was to try 2 bit color depth which turned out atrociously (see image above). Eventually the solution became to decompress and draw the album art directly to the screen (instead of a frame buffer) only when the track changed, then redraw the transport controls quickly with 2 bit color. The final problem was that network transfers were also slow, requiring manual timesharing between the download code and the display drawing routing to ensure everything was redrawn frequently.

Check out [Dani]’s video after the break, and take a peek at the sources to try building a Spotify Remote Control yourself.

Continue reading “Shoehorning A Slick Spotify Remote Into An ESP8266”

Diode Recovery Time Explained

There are at least two phases to learning about electronics. In the first phase, you learn about how components are supposed to work. In the second phase, you learn about how they really work. Wires have resistance and inductance. Adjacent wires have capacitance. Capacitors leak. Inductors have resistance. All of these things matter. [Learnelectronics] has a recent video that explores recovery time for a diode — a phase two conversation.

If you haven’t run into recovery time before, it is the amount of time the diode takes to shut off after it is conducting. This manifests itself as a little undershoot where the signal that the diode should block leaks through briefly.

Continue reading “Diode Recovery Time Explained”

A Graph Plotting Metal Detector

Metal detectors can be a great source of fun, and occasionally even found wealth. They allow the detection of metal objects at a distance, enabling hidden treasures to be discovered. They’re also highly critical to the work of minesweepers and unexploded ordnance disposal teams. [Andrius] wanted to add such a device to his kit when motorcycling through the woods of Lithuania, and thus decided to undertake a build of his own. (Editor’s note: original link went bad, this is through the Wayback Machine.)

The detector is a thoroughly modern one – fans of the 555 may want to look away now. A Collpits oscillator, built from two transistors, is used to generate a frequency that is passed through the detection coil. This frequency is measured by an Arduino that plots a graph of the received frequency on an OLED display. As the coil is passed near metal objects, the oscillator frequency changes, and this is visible on the frequency plot on-screen.

Not only is it a quick and easy build that is achievable from what are now junkdraw components, it’s also one that would be readily usable by the hearing-impaired, too. It’s a great project to tackle if you’re looking to get to grips with basic oscillators, frequency measurement, or just microcontroller programming in general.

Still need more inspiration? We’ve seen a similar concept executed before.

Building a gasometer

Building A Gasometer To Store Wood Gas And Other Bio-Fuels

Old solutions are often so elegant and effective that they keep coming back. The gasometer, or gas holder, is one such example. Now [NightHawkInLight] has built one for storing the wood gas he’s been experimenting with, and it’s pretty neat to watch it rise and fall as he first adds gas and then burns it off. The mechanism couldn’t be simpler.

How a gasometer works

For those who, like us, are hearing about this low tech for the first time, gasometers are a means of safely storing gas stemming from the 1700s when gas was king and electricity was little more than a gentleman scientist’s pursuit. In its simplest form, it consists of a container of water with another container filled with gas sitting upside down in the water. Gas pressure is controlled by the weight of the gas-filled container and the water provides a seal, preventing the gas from escaping. Adding gas simply raises the gas-filled container, and removing or using gas lowers it. Simple, safe, and elegant.

We’ll leave the details of how he made his gasometer to the video below, but suffice it to say that his use of a double-walled gas pipe originally intended as a furnace chimney just adds more elegance to this whole hack.

[NightHawkInLight’s] cool projects have graced the pages of Hackaday before. For example, in the area of gas alone there’s his propane-powered plasma rifle, his transparent hybrid rocket engine, and his thermic lance which was hot enough to melt rocks.

Continue reading “Building A Gasometer To Store Wood Gas And Other Bio-Fuels”

Robotic Muscles From Fishing Line And Nichrome

Did you know that under the right conditions, nylon can be used as a type of artificial muscle? We certainly didn’t until we came across [Brandon T. Wood]’s Material Linear-Actuator for Robotics entry for the 2018 Hackaday Prize.

When [Brandon] first learned about Nylon Linear Material Actuators (NLMAs), he became determined to find a repeatable and practical method of making and experimenting with them. This is how it works: hyper-wound coils of nylon, when heated, will contract along their length while expanding in width. Upon cooling, they return to their original shape.

[Brandon] has been busy mainly with the kind of work that is important but not very flashy: finding accessible methods to reliably create strands of artificial nylon muscles cheaply and reliably. His current method uses a jig to wind nylon fishing line until it coils upon itself tightly, then twist a length of nichrome wire around the outside to act as a heater. Using this method, the coils can be electrically controlled. [Brandon] is currently experimenting with creating bundles of individual nylon coils to act all together as one big muscle, because while one wire isn’t particularly strong, a bundle could be quite another story. It’s definitely unusual and is doing a lot of work to turn a known phenomenon into something hackable, which makes it lovely to see in this year’s Hackaday Prize.