Cheap Chainsaw Teardown Reveals Buried Treasures

People seem to have a love-hate relationship with Harbor Freight, and it mostly seems that they love to hate the purveyor of discount tools. This is not without cause — any number of HF tools have fallen apart in our hands. But there are some gems to be found amid the dregs and dross of your local branch of the 700-store US chain, as long as you match the tool to your needs and manage your expectations.

Now, we’d normally shy away from any electric chainsaw, especially a cordless saw, and doubly so a Harbor Freight special. But as [Professor Charles] demonstrates with his detailed and humorous teardown, the Lynxx 40-volt cordless 14″ chainsaw might be worth picking up just for harvesting parts. First there’s the battery pack, which is chock full of 18650 lithium cells. [Professor Charles] leads us on a detailed tour of the design compromises of the battery and charger and is none too impressed with either, but he clearly understands what it means to build to a price point. While [Charles] found the stock motor controller somewhat anemic, the real buried treasure in the tool is a huge brushless motor, powerful enough to “throw an 8-inch Vise Grip at you” during a (not so) locked rotor test.

The whole teardown is enlightening as to the engineering decisions that go into mass-market tools, so even if you can’t think of something to do with this motor, the article is worth a read. At $169 for the Lynxx (before the 20% coupon in your Sunday paper every week) it’s a little pricey to buy just to harvest parts, but it wouldn’t be the first HF tool to suffer that fate. We’ll bet these things will start showing up broken on the secondary market for a song, and if the [Professor]’s assessments are right, it likely won’t be the motors that fail.

Speed-Test Your Toys With Die-Cast Drag Strip

I’m sure many of us remember building toy car race tracks as kids, racing the cars, and then arguing over which car came in first and who cheated because they let go of their car too soon. Ah, good times. [Phil] wanted to create a drag strip race track for his son to introduce him to die-cast cars. The only commercial drag strip [Phil] could find didn’t have an electronic start gate or a timer, so he created his own with the help of an Arduino, a servo, and some light dependent resistors.

The Arduino controls everything, the button input, the lightrace2 sensor input, and the servo. A button press tells the Arduino to start the race by pulling the start gate down and starting the timer. When the light sensor is covered, the timer for that lane stops. The time is shown for each lane using a different colored 4-digit 7-segment LED.

There were a couple of problems that had to be solved. The servo launching the cars was pulling too much power when activated so that the IR LEDs used at the finish line would dim enough to trigger before the race had even begun! [Phil]’s article goes over these issues and his design ideas as he built the track.

It’s a simple build that should provide hours of fun for [Phil]’s son and his friends over the years and will hopefully put to rest any arguments over who won. There are lots of photos in [Phil]’s article, as well as several videos showing off how things work and at the end of the article, he includes the code he used to control everything. This would be a great surprise for any nieces and nephews coming to visit over the holidays — you might want to wait for final assembly and include them in the fun!

If you like these kind of projects, we’ve seen a similar Hot Wheels timing system, and a different kind of race track based on a turntable system.

Continue reading “Speed-Test Your Toys With Die-Cast Drag Strip”

Retrotechtacular: The Aerolux Light Corporation

The humble incandescent lightbulb is an invention just about anyone born in the 20th Century is more than familiar with. But it’s not the be all and end all of lighting technology – there are neon lights, compact fluorescent bulbs, and even LEDs are finally being adopted for interior lighting. But with the endless march forward, there are vintage throwbacks to the past – how many hipster cafes have you been to lately with great big industrial-looking filament bulbs hanging from the ceiling?

Even when switched off, they have a striking appearance.

However, that’s not all history has to give us. These gas discharge bulbs from yesteryear are absolute works of art.

The bulbs contain delicate floral sculptures in metal, coated with phosphor, and the bulbs are filled with neon or argon gas. Applying mains voltage to the electrodes inside the bulb causes the phospor to fluoresce, creating a glowing flower that is hauntingly beautiful.

These bulbs were manufactured by the Aerolux Light Company, from the 1930s to the 1970s. Once upon a time, they could be had for as little as 20 cents a bulb – nowadays you’re likely to pay over $50 on eBay or Etsy. The bulbs work by the glow discharge effect, not at all dissimilar to garden variety neon lamps.

While it’s not easy, it is possible to make your own vacuum tubes. Maybe it’s time to order some phospor powder and a tank of neon and get to work? Be sure to document your attempt on Hackaday.io.

Thanks to [Itay Ramot] for the tip!

 

 

Reliably Exploiting Apport In Ubuntu

[Donncha O’Cearbhaill] has successfully exploited two flaws in Apport, the crash report mechanism in Ubuntu. Apport is installed by default in all Ubuntu Desktop installations >= 12.10 (Quantal). Inspired by [Chris Evan] work on exploiting 6502 processor opcodes on the NES, [Donncha] describes the whole process of finding and exploiting a 0-day on a modern linux system.

One of the flaws, tracked as CVE-2016-9949, relies on a python code injection in the crash file. Apport blindly uses the python eval() function on an unsanitized field (CrashDB) inside the .crash file. This leads directly to arbitrary python code execution. The other flaw, tracked as CVE-2016-9950, takes advantage of a path traversal attack and the execution of arbitrary Python scripts outside the system hook_dirs. The problem arises when another field (Package) from the crash report file is used without sanitizing when building a path to the package hook files.

CVE-2016-9949 is easily exploitable, if an attacker can trick a user into opening a specially crafted file (apport .crash file), the attacker can execute the python code of his/her choice. Two details make it a very interesting exploit.

The first thing to note is the exploit’s reliability. Given that it is pure python code execution, an attacker doesn’t have to worry about ASLR, Non-Exec Memory, Stack Canaries and other security features that Ubuntu ships by default. As the author notes:

“There are lots of bugs out there which don’t need hardcore memory corruption exploitation skills. Logic bugs can be much more reliable than any ROP chain.”

Another interesting detail is that the exploit file doesn’t need to have the .crash extension, as long as its content starts with the string “ProblemType: ” and the file extension is not associated already with other software, Ubuntu considers it being of mime-type type=”text/x-apport” (for example, .ZlP or .0DF). This significantly improves the chances of an unsuspecting user being fooled into open the file.

Continue reading “Reliably Exploiting Apport In Ubuntu”

Massive 20-oz. Copper PCB Enables Electric Racing

Is twenty times the copper twenty times as much fun to work with? Ask [limpkin] and follow along as he fabricates a DC/DC block for a Formula E race car on 20-oz copper PCBs.

The typical boards you order from OSH Park and the like usually come with 1-ounce copper – that’s one ounce of copper cladding per square foot of board. For those averse to Imperial units, that’s a copper layer 34 micrometers thick. [limpkin]’s Formula E control board needs to carry a lot of current, so he specified 700-micrometer thick cladding, or 20-oz per square foot. The board pictured cost $2250, so you’d figure soldering on the components would be an exotic process, but aside from preheating the board, [limpkin] took it in stride. Check out the image gallery of the session and you’ll see nothing but a couple of regular high-wattage soldering irons, with dirty tips to boot.

It’s pretty neat comparing what’s needed for power electronics versus the normal small signal stuff we usually see. We’d recommend looking at [Brian Benchoff]’s “Creating a PCB in Everything” series for design tips, but we’re not sure traditional tools will work for boards like these. And just for fun, check out the Formula E highlights video below the break to see what this build is part of.

Continue reading “Massive 20-oz. Copper PCB Enables Electric Racing”

Revealed: Homebrew Controller Working In Steam VR

[Florian] has been putting a lot of work into VR controllers that can be used without interfering with a regular mouse + keyboard combination, and his most recent work has opened the door to successfully emulating a Vive VR controller in Steam VR. He uses Arduino-based custom hardware on the hand, a Leap Motion controller, and fuses the data in software.

We’ve seen [Florian]’s work before in successfully combining a Leap Motion with additional hardware sensors. The idea is to compensate for the fact that the Leap Motion sensor is not very good at detecting some types of movement, such as tilting a fist towards or away from yourself — a movement similar to aiming a gun up or down. At the same time, an important goal is for any added hardware to leave fingers and hands free.

Continue reading “Revealed: Homebrew Controller Working In Steam VR”

Building The First Ternary Microprocessor

Your computer uses ones and zeros to represent data. There’s no real reason for the basic unit of information in a computer to be only a one or zero, though. It’s a historical choice that is common because of convention, like driving on one side of the road or having right-hand threads on bolts and screws. In fact, computers can be more efficient if they’re built using different number systems. Base 3, or ternary, computing is more efficient at computation and actually makes the design of the computer easier.

For the 2016 Hackaday Superconference, Jessie Tank gave a talk on what she’s been working on for the past few years. It’s a ternary computer, built with ones, zeros, and negative ones. This balanced ternary system is, ‘Perhaps the prettiest number system of all,’ writes Donald Knuth, and now this number system has made it into silicon as a real microprocessor.

Continue reading “Building The First Ternary Microprocessor”