Pebble Watch Hack Makes It A Home Automation Controller

[Enrico] loves his Pebble watch, and recently had a chance to explore the code package used to customize its function. It turned out to be really easy to work with so he set out to make the Pebble watch into a home automation controller (dead link; Internet Archive).

So far the two bits of hardware used in his experiments are shown in the image above. The watch itself serves as the controller, interacting with the Ethernet relay board seen in the background. The watch communicates via Bluetooth but you don’t have to know much about that thanks to the example files available from the repository. With communications taken care of he needed a menu system to access commands on the watch. Instead of coding his own he hacked a playlist into the built-in music menu. This allows him to switch the relays on and off again as if he were playing or pausing audio tracks. See it in action after the break.

Continue reading “Pebble Watch Hack Makes It A Home Automation Controller”

Bluetooth Stepper Motor Driver

bluetooth-stepper-motor-driver

[Dan] salvaged some parts from an old printer a while back and finally found some time to play with them. One of the things he was most interested in is the geared stepper motor seen above. He was able to get it running with an Arduino in no time so he decided to take the project a little bit further. What he ended up with is a stepper motor driver which can be controlled over Bluetooth.

The motor can’t be driven directly, but with a simple motor driver like the L293 chip [Dan] used it’s not hard to interface them with your control hardware of choice. From there he added an ATtiny85 which will take care of the stepping protocol necessary to move the motor. The Bluetooth module he’s using functions as a serial device, making it really simple to interface with the uC. [Dan] uses a pin header to connect the module, so switching to a different type of serial device in the future will be quick and painless.

After the break you can see him sending step commands to the driver board.

Continue reading “Bluetooth Stepper Motor Driver”

Adding Bluetooth Remote Control To PC Speakers

adding-bluetooth-remote-control-to-pc-speakers

[Andrzej’s] plain old computer speakers are ordinary no more. He pulled off a fairly complicated hack which now lets him control speakers via Bluetooth.

He had a set of Creative brand computer speakers with a volume potentiometer that needed replacing. He was having trouble finding a drop-in replacement part and decided he would just go with a rotary encoder. Obviously you can’t just drop one of those in, he would need a microcontroller to monitor the encoder and translate the change into the appropriate resistance. He figured if he was going this far he might as well make the most out of the uC.

Above you can see all the stuff he crammed into the original case. The rotary encoder is seen on the lower left. An ATmega8 is on a PCB he made himself. The white part to the left is a digital potentiometer which feeds the resistance to the original speaker PCB. On the left is the Bluetooth module which lets him control everything from his phone. You can see a demo of that after the break.

Continue reading “Adding Bluetooth Remote Control To PC Speakers”

Android Controlled Minecraft Ores

[Ryan] has a friend with a birthday coming up, and being inspired by ever 12-year-olds favorite game, he decided to make a Minecraft ore block with RGB LEDs. The block can change from diamonds to emeralds via commands send from an Android phone.

After a few false starts, [Ryan] eventually had his ore cube laser cut at Acess Space, a hackerspace-ish group in Sheffield. The box was constructed out of 3mm MDF, while the windows were laser cut out of frosted acrylic, while the stone pattern on the cube is one giant custom-made sticker.

With the tedious part of the build out of the way, [Ryan] set to work on the electronics. He used a PIC attached to a few very large RGB LEDs, and a Bluetooth module that allows him to connect his phone to an ore block. Dialing in the right colors took some work, but eventually, [Ryan] had an Android-controlled Minecraft ore block, able to transmutate between gold, iron, diamond, emerald, lapis, and redstone.

You can check out a video of [Ryan]’s ore block in action after the break.

Continue reading “Android Controlled Minecraft Ores”

Bluetooth Headset Garage Door Opener Update

bluetooth-headset-garagedoor-opener-update

[Lou Prado] sent in a link to his new video on using a Bluetooth headset as a garage door opener for your Android device. This isn’t a new hack, and we’ve actually seen him pull it off once before back in 2011. But we’re running this as an update for a couple of reasons. First off, we had forgotten about the hack and it’s worth revisiting. Secondly, the headset which he used with the initial hack has gone out of production. He chose a new model, and the assembly video (embedded after the break) which he made is a treasure trove of best practices to use when hacking consumer electronics.

Here’s how the hardware part of the hack goes. He removes the speaker from the headset and solders the base of a transistor in-line with a resistor to the red wire. The emitter connects to the grounded frame of the USB charging cable which is plugged into an outlet next to your garage door opener. The collector of the transistor is then connected to the garage door opener, along with a common ground connection, allowing audio from the headset to trigger the transistor to open the door.

The systems is secure based on Bluetooth pairing, which was done with his phone before starting the hardware hack.

Continue reading “Bluetooth Headset Garage Door Opener Update”

Remote Control Command Center Includes RF And IR Functions

all-in-one-remote-relay-includes-RF

We’re still not quite sure what to call these projects, but as we’ve said before, it’s a pleasure to see what people are doing to use one remote control to rule them all. The project being developed by [Kalle Löfgren] seeks to simplify the remote controlled items in his home by combining all control into one smart phone app. The linchpin of the system is this command center which lets a smart phone send IR and RF commands to various devices (translated).

We’ve seen this done with pretty beefy microcontrollers, like this project that uses a PIC32. But the communications going on between the smartphone and the base station are very simple, as are the remote control commands which are being relayed. So we’re not surprised to find that this setup just uses an ATmega88, IR LED, Bluetooth Module, and RF module. There is no connection to a computer (the USB simply provides power via a cellphone charger). If you’re interested in how [Kalle] sniffed the protocol for each remote he wrote two other articles which you can find in the write-up linked above.

A Clever Solution For Constantly Locking Workstations

ROBOT

[Vasilis] works at CERN, and like any large organization that invented the World Wide Web, they take computer security pretty seriously. One ‘feature’ the IT staff implemented is locking the desktop whenever the screen saver runs. When [Vasilis] is in his office but not at his battlestation, the screen saver invariably runs, locking the desktop, and greatly annoying [Vasilis].

The usual Hackaday solution to this problem would be a complex arrangement of RFID tags, webcams, and hundreds, if not thousands of lines of code. [Vasilis] came up with a much better solution: have the computer ping his phone over Bluetooth. If the phone is detected by the computer, kill the screen saver.

The code is up on Github. It’s not much – just 20 lines of a Bash script – but it’s just enough to prevent the aggravation of typing in a password dozens of times a day.