Look at any list of things to do to make your house less attractive to the criminal element and you’ll likely find “add motion sensing lights” among the pro tips. But what if you don’t want to light up the night? What if you want to use a motion sensor to provide a little light for navigating inside a dark garage? And what if the fixture you’ve chosen is a solar fixture that won’t quite cooperate? If you’re like [r1ckatkinson], you do a teardown and hack the fixture to do your bidding.
[r1ckatkinson]’s fixture was an inexpensive Maplin solar unit with PIR motion sensing, with the solar panel able to be mounted remotely. This was perfect for the application, since the panel could go outside to power the unit, with the lamp and PIR sensor inside. Unfortunately, the solar cell is also the photosensor that tells the unit not to turn on during the day. Armed with scratch pad and pencil, [r1ckatkinson] traced the circuit and located the offending part – a pull-down resistor. A simple resistor-ectomy later and he’s got a solar-powered light working just the way he likes it.
A simple hack, but effective. Seeing off-the-shelf gear modified is always a treat. Of course there’s something to be said for the more home-brew approach to security lighting, too.
We’ve been seeing a lot of garage door opener hacks, whether it’s because one person inspired everyone else to build their own Internet-connected GDO or because there’s something in the water that’s caused the simultaneous building of one specific type of project, we’re not sure. However, the latest one we’ve seen adds a little something extra: motion-based security.
[DeckerEgo] really went all out with this one, too. The core of the project is a Raspberry Pi hardwired to a universal garage door remote. The Pi also handles a small webcam and runs a program called motion, which is a Linux program that allows for all kinds of webcam fun including motion detection. While the other builds we see usually use a button or limit switch to tell whether the door is open or closed, this one just watches the door with the webcam so [DeckerEgo] can actually see what’s going on in the garage. As a bonus, the motion software can be configured to alert him if anything suspicious is going on in the garage.
The build is full-featured as well, with an interesting user interface overlaid on the live picture of the garage door. According to [DeckerEgo] the camera is a necessity because he wouldn’t trust a simple status indicator, but if you wanted to try one of those before breaking out the Raspberry Pi, we’ve featured one recently that you can check out.
Many of us carry around a bag with our expensive personal belongings. It can be a pain to carry a bag around with you all day though. If you want to set it down for a while, you often have to try to keep an eye on it to ensure that no one steals it. [Micamelnyk] decided to build a solution to this problem in the form of a motion sensing alarm.
The device is built around a Trinket Pro. The Trinket Pro is a sort of break out board for the ATMega328. It’s compatible with the Arduino IDE and also contains a USB port for easy programming. The Trinket is hooked up to a GY-521 accelerometer, which allows it to detect motion. When the Trinket senses that the device has been moved, it emits a loud high-pitched whine from a piezo speaker.
To arm the device, the user first holds the power button for 3 seconds. Then the user has ten seconds to enter their secret code. This ensures that the device is never armed accidentally and that the user always remembers the code before arming the device. The code is entered via four push buttons mounted to a PCB. The code and code length can both be easily modified in the Trinket software.
Once the code is entered, the status LED will turn solid. This indicates to the user that the device must be placed stationary. The LED will turn off after 20 seconds, indicating that the alarm is now armed. If the bag is moved for more than five seconds at a time, the alarm will sound. The slight delay gives the user just enough time to disarm the alarm. This parameter can also be easily configured via software.
Orientation trackers can be used for a ton of different applications: tracking mishandled packages, theft notification of valuables, and navigation are just a few examples! A recent blog post from Texas Instruments discusses how to build a low-cost and low-power orientation tracker with the MSP430.
Based on the MSP430 LaunchPad and CircuitCo’s Educational BoosterPack, the orientation tracker is very simple to put together. It can also be made wireless using any of the wireless BoosterPacks with a Fuel Tank BoosterPack, or by using the BLE Booster Pack with a built in Lithium Battery circuitry. TI provides all the necessary code and design files in their reference application for getting your orientation tracker up and running. Be sure to see the device in action after the break! This project not only involves building a low-power orientation tracker, but also showcases IQmathLib, a library of optimized fixed point math functions on the MSP430. One of the more challenging aspects of using small MCUs such as the MSP430 or Arduino is how inefficient built in math libraries are. Check out the IQmathLib, it greatly improves upon the built in math functions for the MSP430.
It would be interesting to see this project modified to be a DIY pedometer or be used on a self-balancing robot. It would also be interesting to see the IQmathLib ported to other micros, such as the Arduino. Take a look and see how you can use this reference design in your own projects!
Continue reading “Low-Power Orientation Tracker and an Optimized Math Library for the MSP430”
[Jorge Rancé] was nursing a sick bird back to health. He found it on the street with a broken leg, which required a mini plaster cast for it to heal correctly. But felt bad when leaving the house for long periods. He grabbed some simple hardware and put his mind at easy by building an Internet connected bird monitoring system. It’s really just an excuse to play around with his Raspberry Pi, but who can blame him?
A webcam adds video monitoring using the Linux software called “motion” to stream the video. This is the same package we use with our cats when we travel; it provides a continuous live stream but can also save recordings whenever motion is detected. He added a USB temperature sensor and attached a water level sensor to the GPIO header. These are automatically harvested — along with a still image from the webcam — and tweeted once per hour using a bash script. He just needs to work out automatic food and water dispensing and he never needs to return home! Bird seed shouldn’t be any harder to dish out than fish food, right?
For all of you that found yourselves wanting to use Kinect to control something but had no idea what to do with it, or how to get the data from it, you’re in luck. Kineticspace is a tool available for Linux/mac/windows that gives you the tools necessary to set up gesture controls quickly and easily. As you can see in the video below, it is fairly simple to set up. You do you action, set the amount of influence from each body part (basically telling it what to ignore), and save the gesture. This system has already been used for tons of projects and has now hit version 2.0.
Continue reading “Kinetic Space: software for your Kinect projects”
[Chris] Writes in to tell us about his motion sensing, Arduino powered Creeper. As if these buggers were not frightening enough in game, [Chris] had to go and make the closest (legal) real world facsimile. The Creeper utilizes an Arduino Uno with a wave shield to playback creeper noises, PIR sensor to detect victims, and an RC car as a motorized cart. The creeper sits and waits for a signal from the PIR detector, when it sees motion the RC remote is triggered, Creeper noises played and (we assume) panic ensues.
We might have forgone the entire RC part of the toy car and found the H-bridge motor controller, but using the RC remote has potential. The whole triggering mechanism can be placed remotely allowing the Creeper to jump out from some kind of cover.
Not enough Minecraft? Check out some our other Minecraft projects if you are interested in more tree-punching goodness.
A video of the creeper in action is available after the jump!
Continue reading “Motion Sensing Minecraft Creeper Will Scare the Pickaxe Offa’ya”