Building A Sheet Metal Pistol

Floating around the Internet are plans for a semi-automatic pistol constructed out of sheet metal. Like so many plans for 3D printed guns, it appears no one has actually built one of these pistols. It exists only as a technological construct, with diagrams you can photocopy, trace onto a few bits of metal, and presumably assemble into a gun. The only proof these parts can be turned into a gun-shaped object are a few random blog posts from two years ago showing a very ugly pistol spray painted matte black.

[Clinton Westwood] decided to take up the challenge of turning these plans into a real, working gun. He’s documented his efforts on YouTube and put a bunch of pictures up of the entire build process. The gun doesn’t work quite yet, but it almost does, and he’s doing this entirely in a garage shop, with tools anyone can pick up from Home Depot.

Most of the construction of this gun is simple enough – it’s just sheet metal, after all. The magazine was constructed by tracing the pattern onto a piece of metal, wrapping it around a mandrel, and welding it together. The side plates of the gun, again, were created with a jigsaw. Rifling the barrel – the thing that makes this gun both accurate and legal – required the construction of a few interesting tools. The rifling tool is just a piece of round bar that fits through the barrel. A small piece of a hacksaw blade was cut to fit inside this round bar, and the barrel was cut very slowly with a shop-built tool.

The finished result is something that looks like it came from the finest post-apocalyptic craftsman. A gun that looks cool is useless if it doesn’t work, and here the DIY pistol falls short. The spent casings don’t eject. It’s still a step up from the first build of this gun that was only rumored to fire blanks.

Recently, the world of gunsmithing has been inundated with 3D printed pistols that don’t work, and 3D printed guns that do work, but are somehow 200 years behind the state of the art. We’re happy to see some people are still building things with their hands, and hope [Clinton] can eventually get this gun to work.

Continue reading “Building A Sheet Metal Pistol”

About Those Gravitational Waves

It was the year of 1687 when Isaac Newton published “The Principia“, which revealed the first mathematical description of gravity. Newton’s laws of motion along with his description of gravity laid before the world a revolutionary concept that could be used to describe everything from the motions of heavenly bodies to a falling apple. Newton would remain the unequivocal king of gravity for the next several hundred years. But that would all change at the dawn of the 20th century when a young man working at a Swiss patent office began to ask some profound questions. Einstein had come to the conclusion that Newtonian physics was not adequate to describe the findings of the emerging electromagnetic field theories.  In 1905, he published a paper entitled “On the Electrodynamics of Moving Bodies” which corrects Newton’s laws so they work when describing the motions of objects near the speed of light. This new description became known as Special Relativity.

It was ‘Special’ because it didn’t deal with gravity or acceleration. It would take Einstein another 10 years to work these two concepts into his relativity theory. He called it General Relativity – an understanding of which is necessary to fully grasp the significance of gravitational waves.

Continue reading “About Those Gravitational Waves”

Barcodes That Hack Devices

[virustracker] has been playing around with barcodes lately, and trying to use them as a vector to gain control of the system that’s reading them. It’s a promising attack — nobody expects a takeover via barcodes. The idea isn’t new, and in fact we’ve seen people trying to drop SQL attacks in barcodes long ago, but [virustracker] put a few different pieces together and came up with a viable attack.

The trick is that many POS terminals and barcode readers support command characters in their programming modes. Through use of these Advanced Data Formatting (ADF) modes, [virustracker] sends Windows-Key-r, and then cmd.exe, ftps a file down, and runs it. Whatever computer is on the other side of the barcode scanner has just been owned. ADF even supports a delay function to allow time for the command window to pop up before running the rest of the input.

The article details how they got their payload from requiring more than ten individual barcodes down to four. Still, it’s a suspicious-looking attack to try to pull off where other people (think cashiers) are looking. However, we have many automated machines in our everyday life that use barcodes. How many of these are vulnerable is an open question. [virustracker] suggests lottery machines, package-delivery automats, and even hospitals.

The defense is simple, and it’s the same as everywhere else: disable the debug and configuration modes in your production systems, and sanitize your input. Yes, even the barcodes.

It’s Alive! — Badge For Hackaday Belgrade

Hackaday Belgrade — our first ever conference in Europe — is coming up fast. One of the really exciting things for me is the hardware badge which [Voja Antonic] designed for the conference. He’s done a great job with hardware choices and I think we’ve hit the sweet spot for badge hacking. Let’s jump into the hardware and firmware details after the break.

Get your ticket now for ten hours of talks and workshops, evening concerts, and of course badge hacking the entire time. Earlybird sales close Monday. We’re still in the process of going through talk proposals but we’ll publish a post next week announcing all of the speakers.

Continue reading “It’s Alive! — Badge For Hackaday Belgrade”

Solar-powered Weather Station Knows Which Way The Wind Blows

Bob Dylan may not have needed a weatherman to tell him when the wind blows, but the rest of us rely on weather forecasts. These, in turn, rely on data from weather stations, and [Vlad] decided that his old weather station was in need of an upgrade.

His station, which uploads live data to the Weather Underground, needed to be solar-powered, weather-proof and easy to install. He seems to have succeed admirably with this upgrade, which is built around an ATmega328 and the 433 MHz link from the old station. As part of the upgrade, he built a 3D-printed enclosure and installed all-new sensors on a home-made PCB that are more accurate than the old ones.

He looked into upgrading the wireless leg to WiFi, but found that the school’s WiFi had a login page that he couldn’t get around. So he re-used the old 433 MHz radio and connected the other end of the link to an old laptop on the wired network. Good enough, we say. Now how about a snazzy display to go along with it?

Brain Waves Can Answer Spock’s (and VR’s) Toughest Question

In Star Trek IV: The Voyage Home, the usually unflappable Spock found himself stumped by one question: How do you feel? If researchers at the University of Memphis and IBM are correct, computers by Spock’s era might not have to ask. They’d know.

[Pouya Bashivan] and his colleagues used a relatively inexpensive EEG headset and machine learning techniques to determine if, with limited hardware, the computer could derive a subject’s mental state. This has several potential applications including adapting virtual reality avatars to match the user’s mood. A more practical application might be an alarm that alerts a drowsy driver.

Continue reading “Brain Waves Can Answer Spock’s (and VR’s) Toughest Question”

A Quadcopter Controlled By A Pi Zero

Flight controllers for quadcopters and other drones are incredible pieces of engineering. Not only do these boards keep an aircraft level, they do so while keeping the drone in one place, or reading a GPS sensor and flying it from waypoint to waypoint. The latest of these flight controllers is built on everyone’s favorite $5 computer, the Raspberry Pi Zero.

The PXFmini controller and autopilot shield is the latest project from Erle Robotics that puts eight servo outputs on the Pi, barometer and IMU sensors, a power supply, and all the adapters to turn the Raspberry Pi Zero into a capable flight controller. Since the Pi Zero will have some computational horsepower left over after keeping a quadcopter level, there’s a possibility of some very cool peripherals. Erle Robotics has been working with depth cameras and Lidar on more than a few drones. This makes for some interesting applications we can only imagine now.

The schematics for the PXFmini are open source in the best traditions of the RC and drone community and will be available soon. You can check out a video of the FXPmini flying around an office below.

Continue reading “A Quadcopter Controlled By A Pi Zero”