Repurposing IOT Lightbulb Chip For Anything

Home automation products have hit critical mass in the world of consumerism, and now suddenly everyone has a product you can control using some protocol or other. Cree (the maker of LEDs) has a rather cheap IOT-enabled bulb available in Canada and the US for the low price of $15 — not bad considering regular LED bulbs can run you that much, without wireless connectivity!

So if you want to outfit your house in smart lights — great. But what about other things? Well, [Mac Alpine] decided to crack open one of the bulbs to see if he could re-purpose the IOT board. Turns out, you can.

In fact it’s almost too convenient. It’s a remarkably small chip, about half the size of a silver dollar. And it features a small ZigBee radio module. All you need is a 3V power supply, and boom — you have an IOT module that is capable of PWM output. It features an Atmel ATSAMR21E microprocessor which communicates over the radio to a Quirky Wink hub — it can also be triggered using IFTTT.

Continue reading “Repurposing IOT Lightbulb Chip For Anything”

Rock Climbing Wall Installed In Garage Doubles As Storage Space

Climbing enthusiast and human spider [Swighton] just couldn’t get enough climbing crammed into his day. If he couldn’t get out to the climbing spots, why not bring the climbing spot to him? So he did that by building a climbing wall in his garage.

The process started with determining the available space that can be allocated to the project. In [Swighton]’s case he could afford an 8×12 ft section of real estate. The garage ceilings were 8 ft high. A few days were spent sketching out ideas and designs. To suit his needs, the wall had to have a 45 degree overhang section, a small 90 section (think ceiling, not wall) and a pull-up bar. Once the design was finalized, it was time to pull some sheet rock off the walls and ceiling so that the 2×4 and 2×6 climbing wall framing could be securely fastened to the current garage structure.

Three-quarter inch plywood would cover the wooden frame. Before the plywood sheets were cut to size and installed, he drilled holes every 8 inches to accept t-nuts. These t-nuts allow hand holds to be installed and easily reconfigured. The quantity of t-nuts adds up quickly, an 8 inch square spacing results in 72 t-nuts per sheet of plywood.

[Swighton] also added a hatch to allow access to the inside of the climbing wall so that space would not go to waste. It is now a storage area but may become a kids’ fort in the future. After it was all said and done the wall only cost $400 which includes $180 for the hand holds.

If you’re like [Swighton] and can’t get enough climbing action, check out this wall with light up hand holds or this interactive wall.

Ridiculously Complicated Home Automation Made Simple

[Eric T] wrote up his insanely-comprehensive home automation setup. What started out as a method to notify him when his dog barked grew into a whole-house, Arduino-powered sensor extravaganza. We’ve previously looked at two different steps from this mammoth article. One automated his dog, the other focused on the Wink hub to bridge with commercial hardware like smart lightbulbs. Now let’s look at the project as a whole.

The basic backbone of the project is actually quite straightforward. He made a radio gateway base station out of an Arduino, a RFM69 radio unit, and an Ethernet shield that connects to a Raspberry Pi to serve up a GUI interface. The open-source home automation project OpenHAB makes it all available through browser or smartphone.

Next, he made additional sensor nodes from Arduino and RMF69 radios. These sensor nodes can all be separate from each other, which has enabled [Eric] to expand his system incrementally over time.

Modules of particular interest are the Uber Sensor and the Washer-Dryer module. For the Uber Sensor, [Eric] basically threw every sensor he could at an Arduino; it sends noise levels, light levels, motion, temperature, humidity, and presence of smoke, flame, or flammable gas. Some of these conditions trigger e-mail alerts, while others are simply stored for future perusal.

On the simpler end of the spectrum, he uses a noise-level detector to detect the end of a laundry cycle and then trigger a notification. The clever bit is that the message is automatically cleared when an attached motion detector triggers, presumably because someone’s gone to the basement to empty the dryer. Very neat.

16All of this is basically made practical and affordable by the presence of simple Arduino libraries and cheap hardware modules purchasable over Ebay. If you’re at all interested in a DIY home automation project, this offering is worth a look for inspiration and a great overview.

Slick Bathroom Mirror is All Tricked Out

A Mirror surrounded by a string of brightly lit lamps is something you usually get to see in a Movie Star’s dressing room. [pickandplace] was inspired by the Movies, and a dark bathroom, to come up with a Bathroom Mirror equipped with some bells and whistles. To start with, his planning was quite detailed, sketching out the features and constraints for his design. He chose to use a round mirror with 12 LED bulbs (which are safer than 220V bulbs) so it can work as a clock. User input is handled by a motion sensor to automatically switch it on/off and a capacitive touch dimmer. Under the hood there’s an RTC (for clock and brightness adjustment based on time of day), simple boost PWM LED driver, thermal management for the LEDs which are 10W, temperature sensor to pipe down the current if the LEDs get too hot, and even an anti-fogging heater strip – phew!

His execution is no less brilliant. Starting with building the wooden frame and ending with the code for driving all the electronics. Along the way, you will find detailed notes on the LED’s, PWM Driver, Heat sinking, and capacitive Touch dimmer using Atmel’s AT42QT2160 Qslide – Matrix Sensor IC. He had some trouble with the Motion Sensor PIR module, and hasn’t yet written the code to implement it. His first version used a PIC18F87J50, and the next iteration had an ATXmega256A3BU – but he asks us not to get into the Microchip vs. Amtel debate. We have to agree on that. Sharp readers will point out that neither of the two micro’s can provide 12 PWM channels. Well, worry not, he has it all figured out. He also coded up a simple control interface which is handy when the unit is hooked up over USB to a computer. To top it off, he built a miniature LED ring to use as a “Simulator” while working on the code so he didn’t have to lug the heavy Mirror in and out of the bathroom. How’s that for doing a good job better! Source files are on his Github repo, and links to the hardware schematics are peppered throughout his blog.

If you don’t want to build something so fancy, look up the Bathroom Mirror with HUD which displays Time and Weather

Continue reading “Slick Bathroom Mirror is All Tricked Out”

Emergency Power Based on Cordless Drill Batteries

[Don Eduardo] took matters into his own hands after experiencing a days-long power outage at his house. And like most of us have done at least one, he managed to burn his fingers on a regulator in the process. That’s because he prototyped a way to use power tool batteries as an emergency source — basing his circuit on a 7812 linear regulator which got piping hot in no time flat.

His next autodidactic undertaking carried him into the realm of switch-mode buck converters (learn a bit about these if unfamiliar). The device steps down the ~18V output to 12V regulated for devices meant for automotive or marine. We really like see the different solutions he came up with for interfacing with the batteries which have a U-shaped prong with contacts on opposite sides.

The final iteration, which is pictured above, builds a house of cards on top of the buck converter. After regulating down to 12V he feeds the output into a “cigarette-lighter” style inverter to boost back to 110V AC. The hardware is housed inside of a scrapped charger for the batteries, with the appropriate 3-prong socket hanging out the back. We think it’s a nice touch to include LED feedback for the battery level.

We would like to hear your thoughts on this technique. Is there a better way that’s as easy and adaptive (you don’t have to alter the devices you’re powering) as this one?

Continue reading “Emergency Power Based on Cordless Drill Batteries”

Cracking Litter Box DRM

DRM on a specific brand of cat litter box has been cracked. In other news, DRM on cat litter boxes exists.

[Jorge] moved into a new apartment with a feline companion and wanted one of those fancy, auto-cleaning litter boxes. Apparently only one such device exists, the CatGenie. This ‘Rolls Royce of cat litter boxes’ uses little pieces of plastic granules as ‘functional medium’ that are scooped up, cleaned, and returned to use. These granules are washed with a cartridge full of fresh-smelling cleaning solution that comes in a container with an RFID tag. Yep, DRM’ed cat boxes. Welcome to the future.

After cruising around the Internet, [Jorge] found a CatGenie community that has released open source firmware for a litter box and something called a CartridgeGenius, a drop-in replacement for the cartridge tag reader in the litter box. It simulates both the RFID tag and its reader, allowing any robotic litter box owner to select between 120 cycle cartridges, 60 cycle cartridges, a maintenance cartridge, and set the fill level of those cartridges.

Previously, [Jorge] was spending about $350 a year on the solution to clean these plastic granules, so in a few months this CartridgeGenius has already paid for itself.

Tracking Power Usage With A Raspi

With tiny, Internet-connected computers everywhere these days, home automation is finally hitting it big. [Jelora] was looking for a few more home automation projects and realized his electric meter had a pair of ‘digital information outputs’. With a Raspberry Pi and a few bits of wire, he figured out how to read this digital output and put a log of his electricity consumption up on the web.

The digital output on [Jelora]’s meter is a bit odd; it’s 1200 bps, 7 bits per character, parity, with one stop bit. It’s also a 50 kHz AC signal for a binary ‘0’ and nothing for a binary ‘1’. To read this signal, [Jelora] is using a diode to throw out half the signal, a 6N138 optoisolator so the Pi isn’t connected directly to the meter, and a small cap to smooth out the signal. Simple, and it works.

This cleaned up signal is then connected to serial to USB chip and a PHP script scrapes the data every minute. The data received from the meter is stored in a data base along with a few other bits of information: if the meter is being charged peak or off-peak rates, and the price per kWh. All this is saved on an IDE hard drive (more reliable than the SD card, surprisingly), and a ‘electricity cost per day’ is plotted on a nifty graph and served up by the Raspberry Pi.