Controlling a cute Ikea night light with Android on the cheap

posted Jan 19th 2012 9:01am by
filed under: android hacks, led hacks

When [trandi]‘s wife saw a cute night light at Ikea, she had to have it. She actually bought several of these for when her husband would inevitably crack one open and start tinkering with the microcontroller inside. The inevitable hack is pretty cool, and also gives us some ideas for interfacing with Android on the cheap.

The build started as an Ikea Spoka night light, an adorable anthropomorphized night light with a squishy silicone skin. Inside the Spoka are a dozen tri-color LEDs that [trandi] can cycle through with the push of a button. After deciding to control the lights inside the Spoka with an Android phone he reached for an IOIO Android breakout board. Fate intervened and [trandi] ended up with a ridiculously cheap Bluetooth modules that provides a simple serial connection to other Bluetooth devices.

The build reuses the blue, red, orange LEDs in the night light but replaces the no-name 8-pin micro with an ATtiny2313. [Trandi] wrote a small Android app to control the color over a Bluetooth serial connection. Check out his demo after the break.

Read the rest of this entry »

Over-engineering a two-zone thermometer

posted Jan 4th 2012 1:01pm by
filed under: Microcontrollers

We love the extra touches that [Andrianakis Haris] added to his two-zone electronic thermometer. It includes features that you just wouldn’t find on a mass-market commercial product because of issues like added cost. For example, you can see that the PCB juts up above the LCD display, allowing the module to be mounted on a pair of screws thanks to the keyhole shape that was drilled in the substrate. I increases the board size greatly, but on a small hobby run this won’t usually affect the price of the board depending on the fab house pricing model.

The design uses an ATmega8 microcontroller to monitor sensors in two different places. There is an onboard LM35 temperature sensor for monitoring the space where the unit resides. A remote sensor module uses a DHT-11 chip to gather data about temperature and humidity. That sensor is wired, but there is one wireless option for the device. Data can be pulled down from it via an optional Bluetooth module which can be soldered to a footprint on the back of the board.

Check out the video after the break to see temperature readings pulled down wirelessly. Read the rest of this entry »




Phone-controlled light display is simple and fun

posted Dec 28th 2011 9:14am by
filed under: android hacks, led hacks

android-phone-light-toy

[Ytai Ben-Tsvi] wrote in to share a little holiday project that he and friend [Al Linke] put together, a dynamic light display that takes its cues from his Android-powered smartphone.

The display fits in a vase that sits in [Ytai’s] family room, and while it wasn’t exactly cheap to build, it sure looks nice. The vase is full of feathery decorative bits which help hide an addressable RGB LED strip. The lights are controlled by an IOIO board which the pair tucked away inside the vase as well.

The IOIO board was also fitted with a USB Bluetooth dongle, allowing it to communicate with just about any handset running a relatively recent flavor of the Android OS. When connected, the phone samples its surroundings with the onboard camera, commanding the vase to mix the colors seen by the phone into its twinkling display.

As you can see in the video below it works pretty well when used with solid, brightly colored objects. While just a fun toy in its current form, [Ytai] and [Al] have more than a few ideas on how to expand its usability.

Read the rest of this entry »

Dial 1 to get Siri as your operator

posted Dec 13th 2011 9:01am by
filed under: phone hacks

Back in the days of yore when hats were fashionable and color TV didn’t exist, there were real life people who would answer the phone if you dialed 0. These operators would provide directory assistance, and connect you to another number (such as KL5-8635). Apple’s Siri is a lot like an olde-timey phone operator, so [davis] decided to put Siri in an old rotary telephone.

The build started off with a very inexpensive Bluetooth headset and very old rotary phone. The single button on the Bluetooth headset was wired to a contact of the dial – in this case, the number 1. Dialing 1 shorts two contacts in the phone and the Bluetooth headset turns on.

[davis] came up with a very easy build but dialing 1 just isn’t the same as dialing 0. Connecting the Bluetooth button to 0 closes the button for too long. He says ’0 for operator’ could be implemented with an ATtiny or similar, but we’re wondering if [davis] could make due with a dial-less candlestick phone.

Read the rest of this entry »

Update: Tiny line-follower and more

posted Dec 5th 2011 3:01pm by
filed under: robots hacks

This tiny line-following robot is quite impressive. It’s [Ondrej Stanek's] second take on the design, which he calls PocketBot 2. Just like the earlier version, this robot is small enough to fit in a matchbox, but it’s received several upgrades in this iteration.

The coin cells that ran the previous version have been replaced by a rechargeable Lithium Ion cell. The ATmega8 which controlled the first robot has been swapped out for an ATmega128 running at 32 MHz. You won’t find an IR receiver on this one either, it’s been traded for a Bluetooth module which adds a quantum leap in functionality. For instance, the graph in the upper left of this photograph shows the reflective sensor data readings used to follow the line.

There’s all kinds of great engineering in this design, which is shown off in the video after the break. One of our favorite parts is that the axles are attracted to the center of the robot by one rare-earth magnet. This keeps the rubber tires pressed against the motor spindles rather than use a gearing system.

Read the rest of this entry »




Reverse engineering Bluetooth using Android and SPOT as an example

posted Dec 5th 2011 12:13pm by
filed under: android hacks, wireless hacks

[Travis Goodspeed] wrote in to tell us about his work reverse engineering the Bluetooth communications on this SPOT module. He’s targeted the post as a general guide to sniffing Bluetooth transmissions, but was inspired to use the SPOT as an example after seeing this other SPOT hack. We know he’s a fan of getting things to work with his Nokia N900, and that’s exactly where he ended up with the project.

This module was manufactured to be controlled by an Android phone. But there’s no control app available for the Nokia handset. Since Android uses the open-source Bluez package for the Bluetooth protocol, it’s actually pretty easy to get your hands on the packets. After grabbing a few test sets he shows how he deciphered the packets, then wrote a quick Python script to test out his findings. After working his way through the various commands available (grabbing the SPOT serial number, getting position data from it, etc) [Travis] wrote up a frontend in QT mobility for use on the N900.

This dongle makes any screen an Android device

posted Nov 26th 2011 10:36am by
filed under: android hacks

Want that 70″ LCD television in your living room to be an Android device? This little guy can make it happen. With an HDMI port on one end, and a USB plug on the other for power, just plug in FXI Technologies’ Cotton Candy dongle to create a 1080p Android television.

The price isn’t set for the device, but it’s expected to be available at less than $200. Considering what’s inside that’s pretty reasonable. There’s a dual-core 1.2 GHz ARM processor, 1 gig of RAM, 64 gigs of storage, Bluetooth, WiFi, and a microSD card slot. Wow!

So is it hackable? Absolutely. Well, kind of? The company doesn’t intend to bring Cotton Candy to the retail market. Instead, they will sell the device to developers who may do what they wish. From there, said developers have the option to license the technology for their own products. This begs the question, will the development kit come in under $200? Hard to say.

Check out the video after the break to hear an interview with the company’s CEO. It certainly sounds fascinating, and like the Chumby NeTV, we can’t wait to see what comes of this. Read the rest of this entry »

The Rube-Goldberg of car audio

posted Nov 1st 2011 1:01pm by
filed under: cellphones hacks, digital audio hacks

[Anthony Pray] had his car stereo stolen. When thinking about replacing it he realized the he and his wife never used it for anything other than an Auxiliary connection to play songs from their cellphones. So instead of buying a head unit he pulled an unused home audio amplifier out of a dark corner of his house and wired it to the car speakers. Problem solved, except that the under-dash installation meant the only volume control is on the phone playing the audio. He decided to build a wireless audio controller that would let him send commands to the phone without quite as much distraction from the road.

The device you see above is his creation. What a beauty. But seriously, it’s so random and hacked together how can you not love it? And, it works!

The frame is made from plastic coat hangers, and the wheel is an old RC control knob. There’s even a play/pause feature built from the clicking properties of a retractable ball-point pen. A Cypress PSoC board reads the knob and pen positions, then pushes commands via a Bluetooth module in order to control the phone. He recorded a testing video (after the break) which gives you a better look at the functionality of this setup. Read the rest of this entry »




Hack a Day serves up fresh hacks each day, every day from around the web as well as hacking related news.

Send us your hacks






     




Hacks

Resources