Hackaday Links Column Banner

Hackaday Links: June 7, 2015

I’ve said over and over again that Apple’s MagSafe port is the greatest advancement in laptop tech in the last 15 years. Those charger connectors break, though, so how do you fix it? With Lego, of course (Google translatrix). Use a light-colored 1×4 brick so the LED will shine through.

Want to learn Git commands? Here’s a great game that does just that. It’s a really well-designed game/tutorial that walks you through basic Git commands.

Lets say you’re just slightly paranoid about the Bad Guys™ getting into your computer with 0-days and roller blades. You’d like to connect this computer to the Internet, but you don’t want to leave it connected all the time. The solution? A timer for an Ethernet switch. It’s actually a better solution than doing the same thing with scripts: there’s a real, physical interface, and if the Bad Guys™ get in when you are connected, they could just enable the network adapter anyway. An extremely niche use case, but that’s 99% of the security hacks we see.

The DaVinci 3D printer is an okay printer if you’re cool with the Gilette model. The filament cartridges are chipped, and the software is proprietary. These problems have been solved, and now you can use a standard RepRap heated bed and glass with the DaVinci. At this point, people are buying the DaVinci just to tear it apart.

MDF CNC

DIY MDF CNC Machine Is Small And Solid

In the world of hobby-level CNC cost and simplicity are usually the name of the game. Using inexpensive and easily found materials makes a big difference in the feasibility of a project. [FreeRider] had built a CNC router before but it was big, flexible and not as accurate as he wanted. He set off to design his own table top router, influenced from other designs found on the ‘net, but also keeping the costs down and ease of build up.

The machine frame is made from 3/4″ MDF and was cut on [FreeRider’s] first router, the JGRO. Notice how all the holes are counterbored for the many bolt heads. It is clear that much attention to detail went into the design of this machine. Aluminum angle act as linear rails on which v-wheel bearings travel. Skate bearings support 5/16″ threaded rod used as lead screws. Lead nuts are tapped HDPE blocks and seem to be doing a satisfactory job with minimal backlash.

[FreeRider] says his new machine is capable of 60 inches per minute travel, double that of his old machine. Since the new machine is stiffer, he’s able to route aluminum and has successfully made some brackets out of 1/8″ plate. He reports the dimensional accurate to be about 0.002-0.003 inches. For more inexpensive MDF-based CNC machines, check out this drawer slide bearing one or this one that uses a drill for a spindle.

Better VGA On The STM32F4

[Cliff] is pushing VGA video out of a microcontroller at 800×600 resolution and 60 frames per second. This microcontroller has no video hardware. Before we get to the technical overview, here’s the very impressive demo.

The microcontroller in question is the STM32F4, a fairly powerful ARM that we’ve seen a lot of use in some pretty interesting applications. We’ve seen 800×600 VGA on the STM32F4 before, with a circles and text demo and the Bitbox console. [Cliff]’s build is much more capable, though; he’s running 800×600 @ 60FPS with an underclocked CPU and most (90%) of the microcontroller’s resources free.

This isn’t just a demo, though; [Cliff] is writing up a complete tutorial for generating VGA on this chip. It begins with an introduction to pushing pixels, and soon he’ll have a walkthrough on timing and his rasterization framework.

Just because [Cliff] has gone through the trouble of putting together these tutorials doesn’t mean you can’t pull out an STM Discovery board and make your own microcontroller video hacks. [Cliff] has an entire library of for graphics to allow others to build snazzy video apps.

Monitoring Power With A 555

[Diederich] is running a Raspberry Pi loaded up with Pimatic, a great home automation server that does just about anything you can throw at it. One thing it doesn’t do is monitor electricity and gas directly from the meter – you’re going to need hardware for that. [Diederich] stepped up to the plate and built that hardware using just a 555 timer. The total cost of adding this to his Pimatic setup was less than a dollar.

The 555 can be used as a timer, a trigger, and a bunch of them can be cobbled together into a CPU. [Diederich] isn’t using some fancy logic here; he’s just using the 555 as a Schmitt trigger with a phototransistor and his electricity meter. The output of the 555 is connected to the GPIO of the Raspberry Pi, and a Python script ties into Pimatic.

It’s a neat solution that only costs a dollar, and using the 555 has a few advantages: the 555 makes it possible to use long and thin wires back to the Pi, which means [Diederich]’s Pi doesn’t have to be located right next to his meter.

Accessing A PBX Through Voice Channels

[Alessandro] is an unlucky VoIP PBX administrator that frequently has to deal with very, very dumb network policies. Often times, he’ll have to change something on his setup which requires him to go out to his client’s location, or ask a client to use Teamviewer so the appropriate change can be made from behind a firewall.

This isn’t the solution to the problem. It will, however, fix the problem. To get around these firewalls, [Alessandro] is using the voice channels he already has access to for changing configurations on his VoIP boxes.

The implementation of this uses the AX.25 amateur radio modules that can be found in just about every Linux distro. This, and an Alsa loopback device, allows [Alessandro] to access a terminal over a voice-only network. Is it a hackey kludge? Yep. Is it just a little bit dumb? So are the network policies that don’t allow [Alessandro] to do his job.

This build isn’t too dissimilar than a bunch of modems from the old BBS days, albeit with vastly more powerful software. [Alessandro] says you’re only going to get about 38400bps out of this setup, but it beats begging for help for remote access.

Mad Max Inspired Flamethrower Ukulele

The new Mad Max movie is getting a lot of buzz, and a few people are calling it a modern classic. There’s a flamethrower guitar in the movie, which means it’s time for cosplay accouterments. Our ‘ol buddy [Caleb] loves flamethrowers and poofers, so hacking together a Doof Warrior inspired flamethrowing ukulele was natural for him.

The fuel for this uke is a can of butane actuated with a caulking gun. This setup is actually pretty clever; by removing the locking tab on the caulking gun, butane is released when the gun’s trigger is squeezed, but stops when the trigger is released. The igniter is a simple grill igniter is used to light the gas.

[Caleb] is rather famous for his flamethrowing creations. His life-size fire-breathing piranha plant uses a similar setup to shoot fire.

Video below.

Continue reading “Mad Max Inspired Flamethrower Ukulele”

Hackaday Prize Entry: 3D Printed Parametric Motrs

If you’re building something that moves, chances are you’ll be using an electric motor. There are tens of thousands of different motors out there, each with their own properties, speeds, torque, and sizes. How do you pick the right motor? Most of the time it’s a highly educated guess, but [Solenoid] has a better idea: just 3D print a motor designed by a calculator that will give you the properties you need

This entry for The Hackaday Prize is just a web-based calculator for motor designs that takes torque, speed, size, or form factor as an input and spits out a complete motor design. Sure, you’ll need to wind coils on a 3D printed frame, but this calculator removes the need to calculate inductance, coil capacitance, and all the other bits needed to construct an efficient motor.

While actual products made in the millions will still be using off the shelf motors, this project is perfect for one-offs. If you want to motorize a telescope mount, this project will design a motor given the power and resolution per steps required. If you want to build a wind turbine, this calculator will put blades right on the outrunner of a brushless motor. It’s a great project, and something we can’t wait to see the results of.


The 2015 Hackaday Prize is sponsored by: