Posts with «home hacks» label

Long Range Wireless Sensors for the Home-Area-Network

In the near future, we will all reside in households that contain hundreds of little devices intertwingled together with an easily connectable and controllable network of sensors. For years, projects have been appearing all around the world, like this wireless sensor system that anyone can build.

[Eric] hopes his work will help bring the truly expansive Home-Area-Network (HAN) into fruition by letting developers build cheap, battery-powered, long-range wireless sensors. His method integrates with the pluggable OSGI architecture and home automation platform openHAB along with using an Arduino as the lower power, sensor node that is capable of utilizing many types of cheap sensors found online.

[Eric]’s tutorial depicts a few examples of the possibilities of these open-source platforms. For instance, he shows what he calls a ‘Mailbox Sentinel’ which is a battery-powered mail monitoring device that uses a Raspberry Pi to play the infamous, and ancient AOL sound bite “you’ve got mail.” It will also send an email once the postman cometh.

In addition, he lists other ideas such as a baby monitoring sentinel, a washer/dryer notification system, water leak detectors, and security implementations that blast a loud alarm if someone tries to break in. All of this potential for just around $20.

The key to making this project work, as [Eric] states, is the MQTT binding that ties together the Ardiuno and openHAB platform. This allows for simple messages to be sent over the Ethernet connection which is often found in IoT devices.

So all you developers out there go home and start thinking of what could be connected next! Because with this system, all you need is a couple of ten-spots and an internet plug, and you have yourself a strong foundation to build on top of. The rest is up to you.

This open, connected device is [Eric's] entry for The Hackaday Prize. You can see his video demo after the break. We hope this inspires you to submit your own project to the contest!


Filed under: home hacks, The Hackaday Prize

Do You Have Any Idea How Fast Your Blender Was Going?

Some people really love their smoothies. We mean really, really, love smoothies and everything about making them, especially the blenders. [Adam] is a big fan of blenders, and wanted to verify that his Vitamix blenders ran as fast as the manufacturer claimed. So he built not one, but two speed measuring setups. Scientific blender measurement method requires one to cross check their results to be sure, right?

Measuring the speed of a blender is all about the RPM. Appropriately, [Adam's] first measurement tool was an LED based stroboscope. Stroboscopes have been around for hundreds of years, and are a great way to measure how fast an object is rotating. Just adjust the speed of a flashing light until the rotating object appears frozen. The number of blinks per second is then equal to the Rotations Per Second (RPS) of the object being measured.Multiply by 60 seconds, and you’ve got RPM. [Adam] used an Arduino as the brains behind his stroboscope. He wired a dial up on his breadboard, and used it to adjust the flash rate of an LED. Since this was a quick hack, [Adam] skipped the display and just used the Arduino’s USB output to display speed measurements on his laptop.

There are possibilities for error with stroboscopes. [Adam] discovered that if the stroboscope was flashing at a multiple of the blade’s rotation speed, the blades would appear frozen, and he’d get an erroneous RPM value. Thankfully, [Adam's] Vitamix had asymmetric blades, which made the test a bit easier. He calculated his blades to be spinning at 380 RPS, or 23,000 RPM. Not satisfied with his results, [Adam] brought out Audacity, and ran a spectral analysis of the blender in operation. He found a peak at 378Hz, which was pretty darn close to his previous measurement. Since the blender has a 4 inch blade this all works out to a blade tip speed right around the claimed value of 270 MPH. We’re glad [Adam] found an answer to his blender questions, but our personal favorite blender hack still has to be the V8 blender created by the Top Gear crew.   [via HackerNews]


Filed under: Arduino Hacks, home hacks

HAL is Duct Tape for Home Automation

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.

When it comes to lighting, [Daniel] has a couple of different brands of automated light bulbs in his apartment. One brand has bulbs that are controlled by a radio frequency signal. That brand comes with a converter box that can accept lighting commands via WiFi. It also uses a simple API that allowed [Daniel] to easily control all of the bulbs from his Python code. The second brand of light bulb did not have a simple API. After some searching around, [Daniel] found an open source project called ouimeaux. Ouimeaux is a Python library that allows you to control this particular brand of automated light bulbs. This was perfect for [Daniel] since he was already using Python in his project. With this library it was trivial for him to control the lights from his web interface.

As a proof of concept, [Daniel] also built a custom WiFi enabled power outlet using a SparkCore module. He has an entire separate post dedicated to that project.

For the brain of the system, [Daniel] chose to use a Raspberry Pi. The Pi runs a web server with a Flask based back-end system. Flask allows him to code the website in Python, which meant he could easily write a website that can interact with the various automation components. The Pi can directly communicate with all of the off-the-shelf components using the various Python libraries. For the door lock, the Pi communicates with the Arduino via pySerial. [Daniel] also used Flask OAuth to limit access to the system to only authorized users. Now whenever [Daniel] wants to turn the lights on or unlock the door for a visitor, all he has to do is press a button on a web page.

[via Reddit]


Filed under: home hacks

Showcase your project: ultimate cat litter box


 

This project by Greg is about building a smart litter box for his cats:

We have three cats and the litter is difficult to control. So I had been thinking through a project to build an enclosure. Once I stumbled on Arduino the doors of opportunity were opened. I ordered the electronics and got started on my project right away. So far the Arduino is activating exhaust fans, lightng, and a Lysol spray dispenser. It tracks the number of times the fans are activated and uses a piezo buzzer to alert a filter cleaning. I plan to use it to trigger cleaning based on usage and track each cats potties so we can control their stink before its too late.

A nice video about this project can be found on YouTube.

Arduino Blog 25 Feb 16:00

Mobile chicken coop includes wireless sensors

In and of itself this mobile chicken coop is a pretty nice build. There are some additional features lurking inside which you don’t find on most coops. [Neuromancer2701] built-in a set of sensors which can be accessed wirelessly. It makes it a snap to check up on the comfort of the hens without leaving the couch.

At the heart of the sensor system is an Arduino along with an Xbee module. The build isn’t quite finished yet, but so far three sensors have been implemented. A thermistor is used to read the temperature inside the coop. To make sure there’s enough water, two sheets of foil tape were applied to the water reservoir. The CapSense library measures the capacitance between these plates which correlates to the water lever (we’ve seen this type of water level sensor before). And finally, there’s a sensor that can tell if the door to the coop is open or shut.

He’s having trouble automating the door itself. This can be pretty tricky, especially if you go for a super complicated locking mechanism like this one.


Filed under: home hacks

Weather station graphs history on webpage

Kudos go out to [Jose] for his work getting so many different components to talk to each other in this Arduino weather station that using a Raspberry Pi to display the data online.

The components shown above make up the sensor package. There’s an Arduino with a custom shield that interfaces the barometric pressure sensor, real-time clock chip, a digital temperature sensor, and a humidity sensor. On top of that shield is an XBee shield that lets this push data back to the base station. [Jose] also rolled in an LCD character display and a few buttons so that the user may view weather data without heading to the web.

A Raspberry Pi board makes up the other half of the XBee pair. It harvests the incoming data from the radio module using a USB to Serial converter cable. You can see the data log on the webpage linked above. Just choose the “LIVE” menu option and click on “Daily” to get a better overview of humidity and pressure changes.


Filed under: home hacks

Arduino-controlled blinds: a tutorial

Have you ever wanted a smart home that can automatically adjusts the blinds for you? If so, this project is for you.

In this instructable, the author describes his approach to “smart blinds”, by using an Arduino board, an ethernet shield, a motor shield and a couple of sensors.

By means of a simple web-based GUI, the user can manually open and close the blinds, or he/she can setup both temperature and brightness thresholds in order to automate the whole process. Finally, opening and closing events can also be scheduled at pre-defined times of the day, if necessary.

The complete tutorial, together with the source code of the project, can be found here.

[Via: Instructables and Lifehacker]

Crystal doorbell helps class up the joint

Even if you live in a dump this quick build will make your doorbell sound high-class. The new rig uses a crystal goblet to alter you of guests at the door. We suppose the room-silencing sound of flatware on a wine glass does make a great attention getter.

For [Tobias] the hardest part of the build was getting his wife to sign off on it. But he says the 1970′s era original was looking pretty shabby, which kind of made his argument for him. It took just two hours to develop and install the replacement. It uses a servo motor with an articulated striker to ping the glass which is hanging inverted between two pegs. The original AC transformer (which are most often 16V) was used to power the Arduino. He built a simple rectifier along with a big smoothing capacitor to make sure the Arduino doesn’t reset when voltage dips. Although it’s not mentioned in his comments, we’d bet the doorbell wire has been rerouted to connect directly to the Arduino, rather than remain patched into the power loop.

Don’t miss the clip after the break to hear how great this thing really does sound.


Filed under: arduino hacks, home hacks
Hack a Day 26 Sep 17:01

No secret knocks required at [Steve's] house – your subway pass will do

[Steve] is often host to all sorts of guests, and he was looking for an easy way to let his friends come and go as they please. After discovering that his front door came equipped with an electronic strike, he decided that an RFID reader would be a great means of controlling who was let in, and when.

Giving all your friends RFID cards and actually expecting that they carry them is a bit of a stretch, but lucky for [Steve] he lives near Boston, so the MBTA has him covered. Just about everyone in town has an RFID subway pass, which pretty much guarantees that [Steve’s] cohorts will be carrying one when they swing by.

He crafted a stylish set of wooden boxes to contain both the RFID reader and the Arduino that controls the system, matching them to the Victorian styling of his home. A single button can control the setup, allowing him to add and remove cards from access lists without much fuss. For more granular control however, [Steve] can always tweak settings from the Arduino serial console.

The card system is both stylish and useful – a combination that’s hard to beat.


Filed under: arduino hacks, home hacks
Hack a Day 22 Aug 16:01

[RobB's] house has no light switches

So [RobB] wanted to take out all the light switches in his house. His plan was to replace them with a system that could be operated from his smart phone. But his wife insisted that there still must be some way to control the lighting directly — we have to agree with her on that one. The solution was to develop a system that switches the lights via a touch sensor or by Bluetooth.

The touch part of the project is pretty easy. He coated the back of a blank outlet plate with tin foil and hooked it to a microcontroller with a couple of resistors. He’s using an ATtiny85, which can be programmed using Arduino sketches, so the software side is made easy by the CapSense Library. The chip also uses the software serial library to communicate with a Bluetooth module. You can see the result of both in the demo video after the break.

Of course you need to throw a relay in there to switch mains, and find a way to power the uC and Bluetooth module. [RobB] went with a tiny plug-in USB power converter and managed to fit everything in a single-gang switch.


Filed under: home hacks