Digital Protractor Makes Angular Measurements A Snap

Old school vernier calipers served engineers and machinists well for a long time — and did a perfectly good job. Digital models then came along and were easier to read. They now rule the roost, despite their thirst for batteries. Humans are naturally wired to make the least effort possible at all times. That’s why you always drive to the store that’s only a few blocks from your doorstep. In this vein, you may find a digital protractor preferable to the classic printed type.

[Nirav Jadav]’s project is a simple one but serves as a good learning experience for those getting to grips with microcontrollers. An Arduino Pro Mini serves as the brains, reading signals from an MPU6050 gyroscope. Measured angles are displayed on a small OLED screen.

To use the protractor, first the reference button must be pressed, then the device may be rotated to measure the angle. Relying on a gyroscope means that it’s likely less accurate than a printed device, particularly if it isn’t recalibrated every few measurements to account for drift.

However, like many projects to grace these pages, its value lies not in its usability, but in the journey of creation. To build such a device requires programming ability, an understanding of interfacing with external peripheral devices, as well as how to drive a graphical display. These skills are highly useful in a wide variety of projects, and they’ll serve [Nirav] well in projects to come.

Once you’ve built your digital protractor, why not have a stab at building a digital measuring tape?

[Thanks to Baldpower for the tip!]

Programmable Ruler Keeps 1970’s Computing Alive

A ruler seems like a pretty simple device; just a nice straight piece of material with some marks on it. There are some improvements out there to the basic design, like making it out of something flexible or printing a few useful crib notes and formulas on it so you have a handy reference. But for the most part, we can all agree that ruler technology has pretty much plateaued.

Well, not if [Brad] has anything to say about it. His latest creation, the Digirule2, is essentially an 8-bit computer like those of the 1970’s that just so happens to be a functional ruler as well. Forget lugging out the Altair 8800 next time you’re in the mood for some old school software development, now you can get the same experience with a piece of hardware that lives in your pencil cup.

Even if you’ve never commanded one of the blinkenlight behemoths that inspired the Digirule2, this is an excellent way to get some hands-on experience with early computer technology. Available for about the cost of a large pizza on Tindie, it represents one of the easiest and most cost-effective ways to tell your friends that as a matter of fact you have programmed a computer in binary.

The Digirule2 is powered by a Microchip PIC18F43K20, and is programmed by punching binary in one byte at a time with a bank of eight tactile switches. To make things a little easier, programs can be saved to the internal EEPROM and loaded back up just as easily thanks to the handy buttons next to the power switch. Now all you’ve got to do is figure out what all those blinking LEDs mean, and you’ll be in business.

The original Digirule was a logic gate simulator that we first covered back in 2015. We’re always happy to see projects grow and evolve over time, and think this new retro-computer themed variant is going to be quite popular with those who still love toggle switches and blinking lights.

Continue reading “Programmable Ruler Keeps 1970’s Computing Alive”

The Easiest Thermal Camera Build You’ll Ever See

Thermal cameras are one of those tools that we all want, but just can’t justify actually buying. You don’t really know what you would do with one, and when even the cheap ones are a couple hundred dollars, it’s a bit out of the impulse buy territory. So you just keeping waiting and hoping that eventually they’ll drop to the price that you can actually own one yourself.

Well, today might be the day you were waiting for. While it might not be the prettiest build, we think you’ll agree it can’t get much easier than what [vvkuryshev] has put together. His build only has two components: a Raspberry Pi and a thermal camera module he picked up online for about $80 USD. There isn’t even any wiring involved, the camera fits right on the Pi’s GPIO header.

Of course, you probably wouldn’t be seeing this on Hackaday if all he had to do was just buy a module and solder it to the Pi’s header. As with most cheap imported gadgets, the GY-MCU90640 module that [vvkuryshev] bought came with some crusty Windows software which wasn’t going to do him much good on the Raspberry Pi. But after going back and forth a bit with the seller, he was able to get some documentation for the device that put him on the right track to writing a Python script which got it working under Linux.

The surprisingly simple Python script reads a frame from the camera four times a second over serial and run it through OpenCV. It even adds some useful data like the minimum and maximum temperatures in the frame to the top of the image. Normally the script would output to the Pi’s primary display, but if you want to use it remotely, [vvkuryshev] says he’s had pretty good luck running it over VNC. In fact, he says that with a VNC application on your phone you could even use this setup on the go, though the setup is a bit awkward for that in its current incarnation.

This isn’t the first DIY thermal camera build we’ve seen, and it isn’t even the first one we’ve seen that leveraged a commercially available imaging module. But short of buying a turn-key camera, we don’t see how it could get any easier to add heat vision to your bag of tricks.

Vacuum-Powered Rotary Tool Redux, This Time Machined

We love to see projects revisited, especially when new materials or methods make it worth giving the first design another go around. This twin-turbine vacuum-powered Dremel tool is a perfect example of what better tools can do for a build.

You may recall [JohnnyQ90]’s first attempt at a vacuum powered rotary tool. That incarnation, very similar in design to the current work, was entirely 3D-printed, and caused no little controversy in the comments about the wisdom of spinning anything made on an FDM printer at 43,000 RPM. Despite the naysaying, [Johnny] appears to have survived his own creation. But the turbo-tool did have its limitations, including somewhat anemic torque. This version, machined rather than printed and made almost completely from aluminum, seems to have solved that problem, perhaps thanks to the increased mass of the rotating parts. The twin rotors and the stator were milled with a 5-axis CNC machine, which has been a great addition to [JohnnyQ90]’s shop. The turbine shaft, looking like something from a miniature jet engine, was meticulously balanced using magnets mounted in the headstock and tailstock of a lathe. The video below shows the build and a few tests; we’re not big fans of the ergonomics of holding the tool on the end of that bulky hose, but it sure seems to work well. And that sound!

We first noticed [JohnnyQ90] when he machined aluminum from soda cans to make a mini Tesla turbine. His builds have come a long way since then, and we look forward to what he’ll come up with next.

Continue reading “Vacuum-Powered Rotary Tool Redux, This Time Machined”

Inside The Secret World Of Crimping

At some point in your electrical pursuits, you’ll need to make a connector. Maybe you’re designing something that will connect to another device, or maybe the spaghetti mess of wires coming out of your Raspberry Pi has become a pain to deal with. Whatever the reason, a proper connector can solve a lot of headaches in electronics projects.

Your first thought might be to run to your favorite component distributor and order the connectors, terminals, and crimping tool. Unfortunately, those tools can cost thousands of dollars. Maybe you’ll just solder the connectors instead? Don’t! It makes for easily damaged connections.

Fortunately, [Matt Millman] has a great guide on wire-to-board connectors. This guide will explain why you should never solder crimp terminals and then get into working with some of the most common wire-to-board connector families.

For example, the Mini-PV series (which often get called “Dupont”) are one of the most ubiquitous connectors in hobbyist electronics. They’re the connector on those rainbow colored jumper wire sets, and connect perfectly to 0.1″ pin headers. The connectors and terminals are cheap, but the official HT-0095 crimp tool costs over $1500. Most crimp tools make a mess of these terminals since they require a cylindrical jaw to crimp correctly. By using a combination of two unofficial tools, you can crimp these connectors properly for under $60.

If you want to learn more about the art of wiring, the NASA Workmanship Standards are an interesting read.

[Thanks to MarkMLl for the tip!]

Know Your Fits And Tolerances

When designing parts on a screen, it’s very easy to type in a bunch of nice round numbers and watch everything slot together in perfect harmony. Unfortunately, the real world is not so kind. A 10mm shaft will not readily fit in a 10mm hole, and producing parts to perfect dimensions simply isn’t possible. This is where fits and tolerances come in, and [tarkka] have created a practical demonstration of this on Youtube.

Tighter tolerances require more care and thus increase production costs significantly.

Hole and shaft tolerances are important to ensure parts mate correctly and as intended. If a shaft is to fit into a hole easily and the dimensions aren’t critical, a clearance fit is called for. If assembly should be easy but the part is required to locate accurately, a running fit is called for. Alternatively, if the parts are intended to be pressed together permanently, an interference or force fit should be used.

The video covers the basics of fits and tolerances in an easy to understand way, with visual examples. The fits discussed are based in Imperial measurements, but the metric standard of hole and shaft tolerances (ISO 286-2) is also noted.

Getting your tolerances right is key to making good parts – we’ve covered common issues such as tolerance stacking before. Video after the break.

Continue reading “Know Your Fits And Tolerances”

Casting The Bed Of A CNC Machine In Granite

If you’re looking at CNC machines, or machine tools in general, heavier is better. That old drill press or mill made of a few hundred pounds of cast iron isn’t just better because it’s stood the test of time for a hundred years — greater mass equals less vibration. Thanks to modern epoxy resins, we now have a replacement for tons and tons of iron. Epoxy granite, or chips of granite bound together with epoxy resin, is a viable and very good base for CNC machines, mills, and other tools that are served well with a ton of mass. [Joerg Beigang] is building his own CNC router, and he’s building the base out of epoxy granite. Here’s how he’s doing it.

Before you pour epoxy into a mold, you’ll need to figure out how you’re going to attach your ways, linear rails, and ball screws. [Joreg] is bolting these parts to pieces of aluminum he cut on his home made panel saw before carefully drilling and tapping them to accept the linear rails. These aluminum plates were then mounted to the bottom panel of the mold, in this case melamine-coated plywood.

As you would expect, the most intricate part of this build isn’t globbing up a mold with epoxy resin. No, the real trick here is making sure the rails of the CNC are aligned perfectly before the epoxy goes in. This was done by bolting the linear rails to the mold box and checking everything with a dial indicator. Once that was done it was time to pour.

The bed itself is made of 18kg of epoxy granite, with the entire pour done in four batches. The best way to settle a big pour of epoxy granite is through vibration, just like concrete, but it looks as though [Joreg] is getting some good results by tamping it down with a few sticks. You can check out the first part of this build series below.

If we’ve captured your interest, it’s worth reminding you that this isn’t the first epoxy granite CNC machine we’ve featured.

Continue reading “Casting The Bed Of A CNC Machine In Granite”