It is easy to think that a Linux shell like Bash is just a way to enter commands at a terminal. But, in fact, it is also a powerful programming language as we’ve seen from projects ranging from web servers to simple utilities to make dangerous commands safer. Like most programming languages, though, there are multiple layers of complexity. You can spend a little time and get by or you can invest more time and learn about the language and, hopefully, write more robust programs.
[Mark Rober] was fed up with packages going missing. He kept receiving notifications that his shipments had been delivered, but when checking his porch he found nothing there. Reviewing the CCTV footage revealed random passers-by sidling up to his porch and stealing his parcels. It was time to strike back. Over six months, [Mark] and his friends painstakingly designed, prototyped and iterated the perfect trap for package thieves, resulting in a small unit disguised as an Apple HomePod. The whole scheme is wonderfully over-engineered and we love it.
The main feature of the device is a spinning cup on the top which contains a large amount of glitter. When activated, it ejects glitter in every directions. You could say it’s harmless, as it’s just glitter. But then again, glitter has a way of staying with you for the rest of your life — turning up at the least expected times. It certainly leaves an emotional impression.
Activation is quite clever; the fake package sits on the porch until an accelerometer detects movement. At that point, GPS checks to see if the package has traveled outside a geo-fence around [Mark]’s house. A signal is then sent to the four smartphones to start recording — yes, that’s right, there are 4 phones inside, one on each side to capture the reaction of the thief.
How can [Mark] be so confident that he’ll be able to recover the four phones and their footage? That’s answered by GPS tracking and a can of fart spray actuated by a 3D printed cam and DC motor, ensuring the thief won’t want this package around for long. This actuator and the glitter motor are controlled by a custom PCB, which also triggers the phones to start recording through their headphone jacks and detects the opening of the package with some microswitches. This is truly a masterpiece that outsmarts the package thieves in a way that leaves an impression while still being playful.
(Editor’s Note 2: On 12/20/18 it was announced that two of the five thieves shown in the originally video were staged, apparently without [Mark Rober’s] knowledge. Here is his statement on the matter.)
(Editor’s Note 1: [Sean Hodgins] wrote in with bonus video on how the Glitter Bomb works and how it was made.)
Just when you thought you had explored all the weird stuff on YouTube, along comes [Shawn Woods] with his channel dedicated to testing different types of mouse traps. His weekly videos demonstrate the construction and ultimate effectiveness of everything from primitive traps that can be made in the field from sticks and rocks to 3D printed creations sent in from viewers. But his latest video might just be the weirdest one yet, as he found a way to use the classic “Mousetrap” board game to capture an actual rodent.
Well, sort of. For one, [Shawn] admits the “trap” is completely impractical and is just for fun. Which should be pretty obvious considering the thing is enclosed in a box the size of a small refrigerator. Second, the lucky rodent that gets to test drive this Milton Bradley-powered gadget is actually the family’s pet chinchilla which is obviously rather calm and we dare say accustomed to these sort of shenanigans.
The key to the whole contraption comes via two traditional mousetraps, one on either end of the game’s more fanciful rendition of the same device. The first trap is used to pull the crank which gets the board game going when the mouse steps on the pad (a piece of wood with padding prevents the bar from actually hitting the animal). The game goes through its nostalgic routine featuring metal balls rolling down tracks and figurines on jumping boards, eventually triggering the second real mouse trap. In this case, the trap pulls a rope which closes a door at the opening of the box.
Assuming your target rodent is very patient and not startled by the cacophony of plastic machinery, the whole thing works perfectly. To use the parlance of his channel, this is what’s known as a “Live Catch” trap as it doesn’t hurt the mouse and lets you easily remove them after the fact. Which is the least you could do after humiliating it like this.
While likely the most unique, it surely isn’t the only mouse trap we’ve ever covered here at Hackaday. This clever soda bottle trap can be built cheaply and easily, but if you want something expensive and complex you can always use a Raspberry Pi.
[Thanks to Pete for the tip.]
Got aliens in your attic? Squirrels in the skirting board? You need a trap, and [John Mangan] has come up with an interesting way to let you know that you have caught that pesky varmint: the IoT Critter Twitter Trap. By adding a ball switch, Electric Imp and a couple of batteries to a trap, he was able to set the trap to notify him when it caught something over Twitter. To do this, he programmed the Electric Imp to send a message over when a varmint trods on the panel inside the trap, slamming its door shut. The whole thing cost him less than $60 and can be seen in action after the break.
This is a pretty neat hack. I used to help with a Feral Fix program, where feral cats would be trapped, neutered and returned to the wild. This involved baiting the trap, then waiting hours in the cold nearby for the ferals to get comfortable enough to climb inside and trigger the trap. [John’s] version would only work indoors (as it uses WiFi), but it wouldn’t be that difficult to add a cell phone dongle or other RF solution to extend the range. With this hack, I could have at least waited somewhere warmer, while the trap would ping me when it was triggered.
Build a better mousetrap, and the world will beat a path to your door, but what about a smarter mousetrap? [Alain] decided to find out by making a Raspberry Pi-powered, Internet-connected smart trap. The brains of the operation is a Pi running Arch Linux. Connected to that is a IR trigger, a servo to unlatch the sliding door, and a camera to see your new friend.
The housing of the trap is CNC cut foam PVC board, which is both easy to cut and to clean. Once the IR beam is broken the Pi turns the servo, which pulls a pin on the front door. Once your new friend is settled in a LED light turns on to illuminate the subject, a picture is taken and sent via email.
With automated alerts you don’t have to manually check the trap, and you also don’t have to worry about a trapped animal being inside for too long. Join us after the break for a demonstration video showing off all the features, and a real world example.
[Ben] has a raccoon problem. It seems that it’s not uncommon for him to come face-to-face with a pesky raccoon in the middle of the night, in his living room. We think most people would solve the problem by preventing the raccoon from entering the home. But [Ben] just seems hell-bent on catching him. Most recently he’s added motion-sensing to a live trap which he installed…. in his living room.
So [Ben] has cat’s which that to roam at night. They have free range thanks to a cat door which the hungry pest has been exploiting. Apparently the masked robber has a taste for cat food and that’s what keeps him coming back. [Ben] has been using the cat dish as bait but up to this point the live trap hasn’t worked. You see the raccoon isn’t going inside to get the food, but reaches through the cage and pulls pieces out one at a time. The solution is to put up a solid surface around the cage, and hope that the motion sensor will get him this time. Although we’ve linked the most recent post above, you’ll want to page through his blog for the whole story.
Wouldn’t it be better to install some kind of automatic lock that only lets in the kitty?
[Tobie] seems to have a bit of a rat problem.
While most people would be inclined to simply buy the oversized Victor spring-loaded rat traps and call it a day, [Tobie] is a bit more humane. To help remedy his problem while also ensuring that no rats are harmed in the process, he built the Rat Trap 2000.
Self-described as completely over the top, the Rat Trap 2000 lures the rodents into its containment area with apples and corn, securing them inside using a servo-actuated trap door. The door is triggered by an Arduino that monitors the holding pen for movement using an IR sensor. All of the action is captured on video using the web cam on his Eee-PC, as you can see in the very short video below.
This certainly isn’t the most cost-efficient way to control your vermin problems, but if you’ve got some spare parts laying around, why not? It’s far more humane than some of the other rodent control solutions we have seen, and it sure beats living with rats!