Siri controlled Arduino using Ruby


This snippet of Hello World code lets [Nico Ritschel] turn the Pin 13 LED on his Arduino on and off using Siri, the voice-activated helper built into iPhones. The trick here is using the Ruby programming language to get Siri Proxy talking to Arduino via the USB connection. He calls the project siriproxy-arduino.

On one end of the hack resides SiriProxy, a package not approved by Apple which is capable of intercepting the Siri messages headed for Apple’s own servers. The messages are still relayed, but a copy of each is available for [Nico's] own uses. On the other side of things he’s building on the work of [Austinbv's] dino gem; a Ruby package that facilitates control of the Arduino. It includes a sketch that is uploaded to the Arduino board, opening up a Ruby API. The collection of code seen above defines the pin with the LED connected and then listens for a specific Siri commands to actuate it.

Take a look at [Nico's] explanation of the module in the video after the break.

[Read more...]

Simple iPhone telescope mount


This cheap and easy hack will let you use your old smart phone to take pictures and videos of the view through a telescope. [Xobmo] built the connector for just 55 cents. Apart from our concerns about scratching the lens when inserting the phone in the bracket we love the idea.

He was given the Celestron Powerseeker 70AZ as a gift from his wife last Christmas. He looked around the Internet and saw that there are already some solutions for recording video using an iPhone 3GS. This design on Thingiverse would be perfect, but he doesn’t have access to a 3D printer and ordering it form a service would cost almost $50. But when he got to thinking about it, all he needed was a ring to fit on the telescope and a way to connected the iPhone to it. He headed down to the hardware store and picked up a PVC coupler. After working with a hack saw and drill he ended up with a slot with two wings on it. Just slip the phone in and slide the ring on the eyepiece. You can see some action shots, and get a look at the mount itself, in the clip after the break.

[Read more...]

Inductive charger inside the case of this iPhone 4s


This iPhone 4s is charging without a dock connector because [Tanv28] added inductive charging hardware inside the case.

The hack is not for the faint of heart. But if you’ve got a precision soldering iron and a stead hand we bet you can pull it off. It starts with disassembly to get at the cable that connects the circuit board to the dock connector. [Tanv28] solders fine enameled wire to pins 16, 23, 25, and 27. The other end of these wires are soldered to the guts from a Powermat inductive charging system. After the connections are made there’s not enough room under the back cover of the phone for this added bulk. But laminating a second plastic frame onto the assembly will correct for the 1mm difference in thickness. The clip after the break walks through the entire process.

You can see that [Tanv28] also built the charging station into a piece of furniture. We just saw a post last week that used this technique to add Powermat hardware to a shelf.

[Read more...]

Giving Siri control of some smart bulbs

After getting his hands on the Philips Hue smart lightbulb [Brandon Evans] cracked open some of the hardware to see what is inside. He also spent time working out the software tricks necessary to use Siri to control light bulbs from iOS.

If you haven’t heard of the Hue product before it’s an LED bulb that fits in a standard medium base whose color and intensity can be controlled wirelessly. Included in each unit is Zigbee compatible hardware that lets the bulbs form their own mesh network. [Brandon] didn’t crack open the bulb since these things cost a pretty penny and disassembly requires cutting. But he did point us to this post where [Michael Herf] shows what the bulb’s case is hiding. We do get to see the other piece of the puzzle as [Brandon] exposes the internals on the base unit that bridges the mesh network to your home network via Ethernet. An STM32 chip is responsible for controlling the base unit.

Aside from a look at the guts [Brandon] hacked Siri (Apple’s voice activated virtual assistant) to control the system. You can see a demonstration of that in the clip after the break. The details are found in the second half of his post which is linked at the top. The code is found in his siriproxy-hue repository.

[Read more...]

Adding charging back to old apple accessories

From time-to-time we’ve been frustrated by the lack of backwards compatibility for Apple accessories. We have a great Monster FM transmitter that used the screen of the original iPod to select a channel. That was a feature we just loved which it never worked with any future hardware. We may not be able to get that back, but perhaps this hack can help us implement the ability to charge newer Apple devices using older accessories.

Seen above is the mounting dock from the iPod Hi-Fi speakers released back in 2006. Apparently the sound out of this set of speakers is just great, but you won’t be able to charge your modern device while it’s playing music. That is unless you’re not afraid to solder on a few simple components and roll in a switching regulator which can source at least one Amp of current. As we’ve seen in the past, Apple uses a couple of voltage dividers to identify modern chargers. These are installed on the D+ and D- lines of the USB connector and are pretty easy to recreate if you know the voltage levels the device is looking for. In this case a 39K, two 51k, and one 75k surface mount resistors are free-formed right next to the connector on the Hi-Fi’s dock PCB. The regulator on the right supplies the juice for charging. It’ll charge modern devices now, and even work with the iPhone five if you use a simple dock connector adapter.

Bluetooth control for your DSLR or just about any other IR operated device

Just the other day we were reading a Reddit thread asking about how to control a television with a smartphone. The conversation started by talking about adding an IR LED to the phone.  Then it was suggested that there should be standalone Bluetooth devices that convert commands to IR, and came around to the ideas that TV’s should ship with native Bluetooth hardware. We couldn’t agree more but we’re also not about to replace our TV just for this option. That’s why we were delighted to find this project waiting on our tip line. It’s a method of controlling a camera shutter from a smartphone using Bluetooth. But the technique will work for any device which uses an infrared remote control.

The video after the break shows two different devices controlling the camera shutter. As you can see in the diagram above, the iPhone is the master controller, connecting to a Bluetooth headset mounted on the camera. That headset was altered to feed the speaker connections into an IR LED pointed at the camera’s receiver. The iPhone plays an encoded audio track matching the IR remote command, resulting in the properly formatted message flashing on the LED. The watch doesn’t have the ability to playback audio, but it can send a message to the phone, which then plays the proper audio track through the headset.

[Read more...]

iPhone hack isn’t sold by adafruit


[Becky] wrote in to tell us about her latest hack for Adafruit Industries. This hack will allow you to light up the Apple symbol on the back of your phone, and as she notes, it will definitely void your warranty. From the looks of the video, it requires some extremely good soldering skills, and optionally mid-level tape skills. If you’re up to the challenge, and have the stomach to see your iPhone on the operating table, the results are quite good.

One other challenge of doing this hack is that it uses a kit that Adafruit isn’t going to sell since it uses knock-off Apple parts. They exist somewhere, but where to source them would be a challenge. On the other hand, from a purely experimental/engineering point of view, the video after the break is quite interesting. Many of us would be very hesitant to take apart a several hundred dollar phone, much less solder to a power supply on it!

[Read more...]


Get every new post delivered to your Inbox.

Join 96,700 other followers