Flying With Proportional – Integral – Derivative Control

Your quad-copter is hovering nicely 100 feet north of you, its camera pointed exactly on target. The hover is doing so well all the RC transmitter controls are in the neutral position. The wind picks up a bit and now the ‘copter is 110 feet north. You adjust its position with your control stick but as you do the wind dies and you overshoot the correction. Another gust pushed it away from target in more than one direction as frustration passes your lips: ARGGGHH!! You promise yourself to get a new flight computer with position hold capability.

How do multicopters with smart controllers hold their position? They use a technique called Proportional – Integral – Derivative (PID) control. It’s a concept found in control systems of just about everything imaginable. To use PID your copter needs sensors that measure the current position and movement.

The typical sensors used for position control are a GPS receiver and an Inertial Management  Measurement Unit (IMU) made up of an accelerometer, a gyroscope, and possibly a magnetometer (compass). Altitude control would require a barometer or some other means of measuring height above ground. Using sensor fusion techniques to combine the raw data, a computer can determine the position, movement, and altitude of the multicopter. But calculating corrections that will be just right, without over or undershooting the goal, is where PID comes into play. Continue reading “Flying With Proportional – Integral – Derivative Control” →

The Art And Science Of Bending Sheet Metal

A motor mount. A sturdy enclosure. A 43.7° bracket. The average hack requires at least one angled metal part, and the best tool to make one is still the good ol’ press brake. Bending parts requires a few extra thoughts in the design and layout of the flat patterns, so if you want to know about bend allowances, bend deduction and how to bend accurate parts even without a press, read on.

Continue reading “The Art And Science Of Bending Sheet Metal” →

Beyond WD-40: Lubes For The Home Shop

If your shop is anything like mine, you’ve got a large selection of colorful cans claiming to contain the best and absolutely only lubricant you’ll ever need. I’ve been sucked in by the marketing more times than I care to admit, hoping that the next product will really set itself apart from the others and magically unstick all the stuck stuff in my mechanical life. It never happens, though, and in the end I generally find myself reaching for the familiar blue and yellow can of WD-40 for just about every job.

Continue reading “Beyond WD-40: Lubes For The Home Shop” →

Why Kickstarter Products Fail

It seems every week we report on Kickstarter campaigns that fail in extraordinary fashion. And yet there are templates for their failure; stories that are told and retold. These stereotypical faceplants can be avoided. And they are of course not limited to Kickstarter, but apply to all Crowd Funding platforms. Let me list the many failure modes of crowdfunding a product. Learn from these tropes and maybe we can break out of this cycle of despair.

Failure Out of the Gate

You don’t hear about these failures, and that’s the point. These are crowd funded projects that launch into the abyss and don’t get any wings through printed word or exposure. They may have a stellar product, an impressive engineering team, and a 100% likelihood of being able to deliver, but the project doesn’t get noticed and it dies. Coolest Cooler, the project that raised $13 million, failed miserably the first time they ran a campaign. It was the second attempt that got traction.

The solution is to have a mailing list of interested people are ready to purchase the moment you launch, and share to everyone they know. Reach out to blogs and news organizations a month early with a press package and a pitch catered to their specific audience. Press releases get tossed. Have a good reason why this thing is relevant to their audience. Offer an exclusive to a big news site that is your target market.

Continue reading “Why Kickstarter Products Fail” →

A Dis-Integrated 6502

The 6502 is the classic CPU. This chip is found in the original Apple, Apple II, PET, Commodore 64, BBC Micro, Atari 2600, and 800, the original Nintendo Entertainment System, Tamagotchis, and Bender Bending Rodriguez. This was the chip that started the microcomputer revolution, and holds a special place in the heart of every nerd and technophile. The 6502 is also possibly the most studied processor, with die shots of polysilicon and metal found in VLSI textbooks and numerous simulators available online.

The only thing we haven’t seen, until now, is a version of the 6502 built out of discrete transistors. That’s what [Eric Schlaepfer] has been working on over the past year. It’s huge – 12 inches by 15 inches – has over four thousand individual components, and so far, this thing works. It’s not completely tested, but the preliminary results look good.

The MOnSter 6502 began as a thought experiment between [Eric] and [Windell Oskay], the guy behind Evil Mad Scientist and creator of the discrete 555 and dis-integrated 741 kits. After realizing that a few thousand transistors could fit on a single panel, [Eric] grabbed the netlist of the 6502 from Visual6502.org. With the help of several scripts, and placing 4,304 components into a board design, the 6502 was made dis-integrated. If you’re building a CPU made out of discrete components, it only makes sense to add a bunch of LEDs, so [Eric] threw a few of these on the data and address lines.

This is the NMOS version of the 6502, not the later, improved CMOS version. As such, this version of the 6502 doesn’t have all the instructions some programs would expect. The NMOS version is slower, more prone to noise, and is not a static CPU.

So far, the CPU is not completely tested and [eric] doesn’t expect it to run faster than a few hundred kilohertz, anyway. That means this gigantic CPU can’t be dropped into an Apple II or commodore; these computers need a CPU to run at a specific speed. It will, however, work in a custom development board.

Will the gigantic 6502 ever be for sale? That’s undetermined, but given the interest this project will receive it’s a foregone conclusion.

Correction: [Eric] designed the 555 and 741 kits

Super Strong 3D Component Carbon Fiber Parts

[prubeš] shows that parts printed with carbon fiber filament are as strong, or at least as stiff, as you’d expect. He then shows that his method for producing carbon fiber parts with a mixture of traditional lay-up and 3D printing is even stronger and lighter.

[prubeš] appears to be into the OpenR/C project and quadcopters. These things require light and strong parts for maximum performance. He managed to get strength with carbon fiber fill filament, but the parts weren’t light enough. Then he saw [RichMac]’s work on Thingiverse. [RichMac] designed parts with pre-planned grooves in which he ran regular carbon fiber tow with epoxy. This produced some incredibly strong parts. There’s a section in his example video, viewable after the break, where he tests a T joint. Even though the plastic starts to fail underneath the carbon fiber, the joint is still strong enough that the aluminum tube inside of it fails first.

[prubeš] innovation on [RichMac]’s method is to remove as much of the plastic from the method as possible. He designs only the connection points of the part, and then designs a 3D printable frame to hold them in place. After he has those in hand, he winds the tow around the parts in a sometimes predetermined path. The epoxy cures onto the 3D print creating a strong mounting location and the woven carbon fiber provides the strength.

His final parts are stronger than 100% infill carbon fill prints, but weighs 8g instead of 12g.  For a quadcopter this kind of saving can add up fast.

Continue reading “Super Strong 3D Component Carbon Fiber Parts” →

The Ultimate Traveler’s Toolkit

Looking for a better way to store your tools during transportation? While we certainly wouldn’t recommend trying to check this thing as a carry-on (oh and prepare for it to be searched even in checked luggage), this clever use of a road case is probably one of the best tool boxes we’ve ever seen.

This is [Robb Godshaw’s] tool box. It’s been developed over the past five years as he’s become a skilled maker. You might remember him best from his ironic project “Why are we limited to C-Clamps?” — a clamp offering of the entire alphabet.

He also picked up the road case close to home for Hackaday — at Apex Electronics Surplus in LA — one of our favorite places to find parts. But the most clever part of the project is the way he’s divided the case for different tools.

Continue reading “The Ultimate Traveler’s Toolkit” →