Auto-Tracking Sentry Gun Gives Deer A Super Soaking

Things rarely go well when humans mix with wildlife. The problems are exacerbated in the suburbs, where bears dine on bird feeders and garbage cans, raccoons take up residence in attics, and coyotes make off with the family cat. And in the suburbs, nuisance wildlife can be an intractable problem because the options for dealing with it are so limited.

Not to be dissuaded in the battle to protect his roses, [dlf.myyta] built this motion-activated sentry gun to apply some watery aversion therapy to marauding deer. Shown in action below against a bipedal co-conspirator, the sentry gun has pretty much what you’d expect under the hood — Raspberry Pi, NoIR camera, a servo for aiming and a solenoid valve to control the water. OpenCV takes care of locating the intruders and swiveling the nozzle to center mass; since the deer are somewhat constrained by a fence, there’s no need to control the nozzle’s elevation. Everything is housed nicely in a plastic ammo can for portability and waterproofing. Any target that stands still for more than three seconds gets a hosing; we assume this is effective, but alas, no snuff films were provided.

We’re not sure if [dlf.myyta]’s code can discern friend from foe, and in this litigious world, hosing the neighbor’s kid could be a catastrophe. Perhaps version 2.0 can include image recognition for target verification.

Continue reading “Auto-Tracking Sentry Gun Gives Deer A Super Soaking”

The Miracle Of Injection Molding: How Does It Work?

Pretty much any household item nowadays has an involved, extremely well-thought-out manufacturing method to it, whether it’s a sheet of paper, an electrical outlet, a can of tuna, or even the house itself. Some of the stories of how these objects came to be are compelling, though, as one of the recent videos from [This Old Tony] shows as he takes a deep dive into a $5 ball valve, and uses it to talk about all of the cool things you can do with injection molding.

Injection molding is the process of casting molten plastic into more useful pieces of plastic. In this case it’s a plumbing valve which might seem simple on the surface, but turns out to be much more involved. These ball valves are extremely reliable but have a very small price tag, meaning that a lot of engineering must have gone into their design. What is unearthed in the video is that injection molding allows parts to be cast into the molds of other parts, and the means by which those parts don’t all melt together, and how seals can be created within the part itself. All of this happens with a minimal number of parts and zero interaction from a human, or from any robot that isn’t the injection mold itself.

The video goes into exceptional detail on these valves specifically but also expounds on various techniques in injection molding. Similar to the recognition the seemingly modest aluminum can deserves, the injection molded ball valve deserves a similar amount of respect. While [This Old Tony] usually focuses on metalworking, he often tackles other interesting topics like this and this video is definitely worth checking out.

Continue reading “The Miracle Of Injection Molding: How Does It Work?”

Automated Chamber Passes Just The Right Gas

It sounds like an overly complicated method a supervillain would use to slowly and painfully eliminate enemies — a chamber with variable oxygen concentration. This automated environmental chamber isn’t for torturing suave MI6 agents, though; rather, it enables cancer research more-or-less on the cheap.

Tasked with building something to let his lab simulate the variable oxygen microenvironments found in some kinds of tumors, [RyanM415] first chose a standard lab incubator as a chamber to mix room air with bottled nitrogen. With a requirement to quickly vary the oxygen concentration from the normal 21% down to zero, he found that the large incubator took far too long to equilibrate, and so he switched to a small acrylic box. Equipped with a mixing fan, the smaller chamber quickly adjusts to setpoints, with an oxygen sensor providing feedback and controlling the gas valves via a pair of Arduinos. It’s quite a contraption, with floating ball flowmeters and stepper-actuated variable gas valves, but the results are impressive. If it weren’t for the $2000 oxygen sensor, [RyanM145] would have brought the whole project in for $500, but at least the lab can use the sensor elsewhere.

Modern biology and chemistry labs are target-rich environments for hacked instrumentation. From DIY incubators to cheap electrophoresis rigs, we’ve got you covered.

Continue reading “Automated Chamber Passes Just The Right Gas”

Spray Paint Goes DIY Virtual With A Vive Tracker

Here is a virtual spray painting project with a new and DIY twist to it. [Adam Amaral]’s project is an experiment in using the Vive Tracker, which was released earlier this year. [Adam] demonstrates how to interface some simple hardware and 3D printed parts to the Tracker’s GPIO pins, using it as a custom peripheral that is fully tracked and interactive in the Vive’s VR environment. He details not only the custom spray can controller, but also how to handle the device on the software side in the Unreal engine. The 3D printed “spray can controller” even rattles when shaken!

There’s one more trick. Since the Vive Tracker is wireless and completely self-contained, the completed rattlecan operates independently from the VR headset. This means it’s possible to ditch the goggles and hook up a projector, then use the 3D printed spray can to paint a nearby wall with virtual paint; you can see that part in action in the video embedded below.

Continue reading “Spray Paint Goes DIY Virtual With A Vive Tracker”

Superconference Interview: Alan Yates

In 2015, virtual reality was the future, which means we should all have it right now. One of the most technologically impressive VR sets is the HTC Vive, an amazing piece of kit that’s jam-packed with sensors and has some really cool tech going on inside it.

One of the developers of the HTC Vive and the ever-important ‘Lighthouse’ position sensors is [Alan Yates]. He’s of Valve and gave a talk at last year’s Superconference on Why the Lighthouse Can’t Work. Being able to determine the absolute position of the Valve’s headset is hard, but absolutely necessary for VR. Anything else would be an incomplete VR experience at best, and give you nausea at worst.

We sat down with [Alan] after his talk last year, and now that interview is up. You can check that out below.

Continue reading “Superconference Interview: Alan Yates”

Classic IBM TR-2 Flip-Flop Reproduction

As useful as computers are, most of them have all the design charm of a rubber doorstop. Oh, for the heady early days of computing, when vacuum tubes ruled, hardware was assembled by hand, and engineers always wore a tie.

Looking to recreate an elegant bit of computing hardware from that more civilized age, [updatebjarni] built a reproduction of a 1948 IBM TR-2 flip-flop module — 1,250 of which once formed the memory of the IBM Model 604 Calculating Punch. Admittedly more of a high-speed adding machine than a computer, the 604 is still an important piece of computing history, and [updatebjarni]’s scrap-bin reproduction of the field-replaceable module served as part of a computer history exhibit.

With a single 6J6 double triode tube nestled inside a bent aluminum frame, the goal was to reproduce the appearance of the original TR-2 module, and so the passive components wired up point-to-point style below the tube socket were chosen for their vintage look. That’s not to say the flip-flop won’t function. Although [updatebjarni] hasn’t tested it, he’s built other functional flip-flops from vintage components before, so this one should work too. Only 1,249 left to build and he’ll have enough for a working 604.

If you like this kind of build, you should probably check out some of our Vintage Computer Festival coverage. VCF East in April was a huge success, and VCF West is coming up in August in Mountain View. Hackaday will be well represented there, so stop by.

[via r/geekporn]

Restoring A Japanese Oscilloscope

Oscilloscopes have come a long way. Today’s scope is more likely to look like a tablet than an old tube-based instrument. Still, there’s something about looking into a glowing green tube, especially if you’ve done the work to resurrect that old hollow state device. [NFM] picked up a Kikusui OP-31C–a vintage Japanese scope at a second-hand store. He made a video of his restoration efforts that you can see below.

The scope actually powered up and worked the first time. Of course, unlike a modern scope, the OP-31C has to warm up before it will show up. However, the pots needed cleaning and as a precaution, he replaced the old oil and electrolytic capacitors.

The big transformer and the coarse-looking single sided circuit board certainly will bring back memories if you are old enough. [NFM] had a schematic of the scope and takes you on a tour of the innards, although his schematic had some subtle differences from the actual unit, possibly due to some repair work.

He was going to rebuild one of the large electrolytic “can” capacitors to keep the outer shell with newer (and smaller) modern capacitors. However, he found a very similar modern capacitor and used that, instead.

We think it would have been more fun if the scope didn’t work. However, it was still a great tear down of the old tube-based device. This is a bigger device than the last old scope tear down we looked at. Not that we haven’t seen smaller ones (although, the link in the post has moved).

Continue reading “Restoring A Japanese Oscilloscope”