Using a Raspberry Pi as an iBeacon

November 15, 2013

There's an excellent blog post by by James Nebeker and David G. Young about simulating an iBeacon using a Raspberry Pi and a bluetooth dongle. Since I already had both, I thought I'd give it a try. It worked really well, and I've even put together the files necessary to do it in my GitHub repository.

You'll need to install BlueZ as well for this to work. Once you get it all installed and working you can use one of the mobile iBeacon apps, such as iBeacon Locate. Very fun to play with, and a good way to be able


Published Bluetooth LE Module

September 11, 2013

Well, I published my Node.js module for Bluetooth LE, btle.js (pronounced "Beetle Juice") to npm. Even though it's labeled version 0.1.0, it's got most of the functionality that's necessary for Bluetooth LE - reading attributes, writing commands and requests, and listening for notifications. I'm hoping to add more functionality over the next few weeks/months.

The main reason I was doing this was to get my TI SensorTag working with my Raspberry Pi and Bluetooth LE dongle, which it now does. I've even got the beginnings of a Node.js module for the sensortag,


Zeroconf Rocks!

June 28, 2013

I have a lot of computers on my network now - my laptop and desktop, my wife's 3(!) computers, her iPad, two Linux servers and miscellaneous other devices, along with my Raspberry Pi and two BeagleBone Blacks, so managing all these was starting to be a pain. So, just on a hunch, I wanted to see if Bonjour/Zeroconf/Avahi could help. I did some investigation, and it turns out that you can access any machines that advertise on Zeroconf by name.local. Since I work predominantly on Macs, I was already pretty comfortable with the idea of dynamically finding