While there are loads of impressive and complex projects here on Hackaday, sometimes it’s the simple ones that really speak to us. In this case we were presented with [Isabell Park]’s easy-to-follow instructable on how to build an anti-procrastination device.
On the hardware side there are no surprises, it consists of a PIR sensor connected to a NodeMCU microcontroller. It checks for a signal from the sensor, and if it’s triggered, it sends a command through the Adafruit IO libraries to IFTTT. On its own it could make for a decent movement alarm, but the part that makes the project interesting is how it’s applied to become a device to help with procrastination instead.
First, you put your phone in a jar along with the electronics and close it. Then, with everything configured, the circuit is powered on and stays vigilant for any movement inside the jar. Should you try to take your phone out of it for a quick social media break (which, if you’re like us, can turn into a few hours), IFTTT will be alerted and run through whatever script you have in place. In [Isabell]’s case, she suggests sending an SMS to a trusted contact to keep you in check.
Most of us currently have to deal with wearing face masks in our daily life. An experience that is not entirely pleasurable as it is more difficult to breathe under the mask and can become hot after a while. In addition, you have to take off the mask whenever you want to eat or drink. [DesignMaker] has attempted to solve these problems by creating a mask with an opening that shuts automatically when other people are nearby.
While homemade masks are usually made from fabric [DesignMaker]’s version is much more to a hacker’s taste and includes 3D-printed parts, an Arduino Nano, PIR sensors, an SG90 servo, and some Neopixels. [DesignMaker]’s background in industrial design certainly helped him when modeling the mask as it looks just plain awesome.
His goal was to use PIR sensors to detect when a person is moving nearby. The servo then shuts an opening located at the mouth part of the mask. However, he soon found out that the mask often shuts when nobody is around. The reason is that the sensor can be triggered by ambient IR radiation when it is moving by itself. In the end [DesignMaker] decided that having the mask shut when you are moving is not a bug, it’s a feature.
Of course, the mask is just a prop and should not be used as protective equipment. As shown in the video below, also the false triggering of the PIR sensors can be annoying at times. But [DesignMaker] is already thinking of improvements like having the mask properly sealed with fabric or replacing the PIR sensors by a camera with face detection.
If you want to learn how to sew a proper fabric face mask have a look here. It’s a lot less ridiculous, but a lot more effective. You can’t have everything.
The idea behind a dummy security camera is that people who are up to no good might think twice about doing anything to your property when they think they’re being recorded. Obviously a real security camera would be even better, but sometimes that’s just not economically or logistically possible. Admittedly they’re not always very convincing, but for a few bucks, hopefully it’s enough to make the bad guys think twice.
But what if that “fake” camera could do a little more than just look pretty up on the wall? [Chris Chimienti] thought he could improve the idea by adding some electronics that would notify him if motion was detected. As an added bonus, any would-be criminals who might be emboldened by the realization the camera itself is fake might find themselves in for a rude surprise when the notifications start firing off.
In the video after the break, [Chris] really takes his time walking the viewer through the disassembly of the dummy camera. As it turns out, these things look like they’d make excellent project enclosures; they come apart easily, have nothing but empty space inside, and even have an integrated battery compartment. That alone could be a useful tip to file away for the future.
He then goes on to explain how he added some smarts to this dummy camera. Up where the original “lens” was, he installed a PIR sensor, some white LEDs, a light sensor, and the original blinking red LED. All of this was mounted to a very slick 3D printed plate which integrates into the camera’s body perfectly. The new hardware is connected up to a similarly well mounted Wemos D1 Mini inside the camera. The rest of the video goes through every aspect of the software setup, which is sure to be of interest to anyone who’s ever thought of rolling their own IoT device.
Getting young kids excited about technology and engineering can be a challenge, and getting them interested in the environment isn’t exactly a walk in the park either. So any project that can get them simultaneously engaged in both is a considerable achievement, especially when they can do the work themselves and see how creating something can have a positive impact on their little corner of the world.
The heart of the system is an Adafruit Audio FX sound board, which has been loaded up with audio clips recorded by the students. The buttons on the front of the can trigger different messages about why it’s important to make sure trash is disposed of properly, and an internal switch allows the can to thank the user for their deposit when the lid has been opened.
A PIR sensor on the front of the can detects when somebody gets close, and plays a message reminding them to make use of the trash cans provided on the playground. It’s not everyday that a child has a garbage can talk to them, so we think this is a fantastic idea for getting a kid’s attention. In keeping with the ecological friendly theme, the whole system is powered by a small solar panel which charges an internal 3.7V LiPo battery with the help of an Adafruit PowerBoost 500.
Thieves beware. If you prowl around [Matthew Gaber]’s place, you get soaked by his motion activated super-squirter. Even if he’s not at home, he can aim and fire it remotely using an iPhone app. And for the record, a camera saves photos of your wetted-self to an SD card.
The whole security system is handled by three subsystems for target acquisition, photo documentation, and communications. The first subsystem is centered around an ESPino which utilizes a PIR sensor to detect motion. It then turns on a windscreen washer pump and uses pan and tilt servos to squirt water in a pattern toward the victim.
The target acquisition hardware also sends a message to the second subsystem, an ArduCAM ESP8266 UNO board. It takes a burst of photos using an ArduCAM Mini Camera mounted beside the squirter outlet. The UNO can also serve up a webpage with a collection of the photos.
The final subsystem is an iPhone app which talks to both the ESPino and the UNO board. It can remotely control the squirter and provide a video feed of what the camera sees.
One detail of the build we really enjoyed is the vacuum relief valve he fabricated himself. It prevents siphoning through the pump when it’s not on. Don’t miss a demo of the squirter in action after the break.
[rgrokett]’s cat enters and leaves through a cat-door. He figured a PIR sensor would let him know when there was movement around the door. He could then tell if the cat was around. Leaving the PIR sensor and the ESP8266 microcontroller (an Adafruit Huzzah) on all the time drained the batteries pretty quickly, so [rgrokett] decided to try putting the Huzzah to sleep.
The trick in this build is that the PIR sensor is used to reset the Huzzah when it triggers. The Huzzah requires the reset switch to go from high to low, but the PIR trigger goes from low to high, so a transistor is used to invert the PIR sensor’s trigger signal. When the Huzzah wakes up, it connects to the WiFi network and sends [rgrokett] an email via IFTTT ([rgrokett]’s description goes over the steps to set up a secure connection to IFTTT.)
It’s a pretty simple hack, but it increases [rgrokett] system’s battery life from a couple of days to more than a month (he’s still waiting to see how long they’ll last) and all that was needed was the microcontroller, the sensor and a couple of parts. We have a couple of older hacks about putting the ESP modules into deep sleep, such as this one, and check out this tutorial on PIR sensors.
In the Red Dwarf TV series, Talkie Toaster wants to know if you want toast, and if not toast, then maybe a muffin or waffle, and it will pester you incessantly until you smash it with a 14lb lump hammer and throw it in a waste disposal. Now [slider2732] has actually gone and made one of the infernal machines!
He’s hidden a PIR sensor in the toaster handle to tell an Arduino Pro Mini when someone is unfortunate enough to be passing by. The Arduino then reads sound files from an SD card reader and plays them through a 3 watt amplifier out to a speaker. For that he uses the TMRpcm library available on github.
[slider2732] cleverly mounted the speaker to the side of the toaster along with some appropriately shaped bits and pieces, and some LEDs to make it appear and work much like the circular panel that lights up on the real Talkie Toaster. We dare you to watch the video after the break, unless you really are looking for toast. As a consolation, the video also walks through making it.