[Stephpalm] had carved a pumpkin for the first time in two decades. Unfortunately, the neighborhood squirrels were all too pleased with her work and devoured it. Her original goal for the jack-o’-lantern was to have its lights controlled over the internet. These hungry critters inspired another project instead – The Jack-’o’-Lantern Squirrel Early Warning System. There have been hacks that have dealt with pesky squirrels before, such as a trap and an automatic water turret, but they didn’t have the ability to post to social media like this system does.
The system consists of a Spark Core, a passive infrared (PIR) sensor, and a piezo buzzer. When the motion sensor is triggered the buzzer sounds, scaring away any peckish creatures lurking nearby. [Stephpalm] used an NPN transistor and 1k-Ohm resistor to provide enough current to drive the buzzer. All of these components were connected using jumper wires and a breadboard that sits on top of the pumpkin. As a nod to her original idea, [stephpalm] then created “Pumpkin Watch Code” and loaded it into the Core. It posts preset messages to a Twitter account every 45 minutes of inactivity or whenever a pesky squirrel is detected. The messages can be personalized for anyone who wants to make one of these themselves.
We wonder if it would be better to place the breadboard inside the jack-o’-lantern and carve out a couple of holes on top for the PIR sensor’s wires to come out of. That would offer some protection from the elements and prevent it from getting knocked over. We think this project could be adapted for many other uses. After the break, see a video of the system in action!
Continue reading “Scare off Squirrels and Tweet about It with the Jack-O’-Lantern Warning System”
When it comes to home automation, there are a lot of different products out there that all do different things. Many of them are made by different companies, and they don’t often play very well together. This frustration ultimately led [Daniel] to develop his own Python based middleware solution to get these various components to work as a single cohesive system. What exactly did [Daniel] want to control?
First up was the door lock. [Daniel] lives in an apartment building, so there are actually two locks. First, a visitor must be allowed into the building by pressing a button on the intercom system in the apartment. Second, the apartment door has its own dead bolt lock that needs to be opened and closed. [Daniel] was able to control the building’s front door using just a transistor hooked up to an Arduino to simulate the press of the physical button. The original button remains in tact so [Daniel] can still easily “buzz” in a visitor.
The apartment’s dead bolt was a bit trickier. There are off-the-shelf solutions to control a dead bolt, but they are often expensive. [Daniel] built his own solution using a simple servo motor bolted to the door. The servo is controlled by the Arduino which is in turn controlled via two broken intercom buttons that already existed within the apartment. The buttons were originally used to either speak to or listen to a visitor before buzzing them into the building. They had never worked for [Daniel] so he re-purposed them for his own project. The whole DIY door locker is enclosed in a custom-made laser cut wooden box.
Click past the break for the rest of [Daniel’s] story.
Continue reading “HAL is Duct Tape for Home Automation”