BeaconAir – Track your Pi

Lead Image © Daniel Villeneuve, 123RF.com

Air Patrol

We use Apple's iBeacon system to sense the location of a Raspberry Pi and turn on nearby lights.

Apple's iBeacon system is a Bluetooth-based location service that you can use to monitor the proximity of your cell phone to an iBeacon device. I decided to try out the iBeacon system with a Raspberry Pi. The result is BeaconAir, a portable Raspberry Pi-based project that reads the "advertising" packets emitted by iBeacon devices, roughly calculates your position, and then turns on lights as you approach. The Pi then calculates brightness based on how close you are.

The idea is that you can walk around your house with your Pi and the lights will follow you. In other words, I am using iBeacons to figure out where my portable Pi is physically located (in a pouch on my hip as I walk around the house), and then I control various devices with the Pi.

The unique aspect of BeaconAir compared with many other extant Pi-based iBeacon projects is that I am not programming the Raspberry Pi to be an iBeacon; in fact, I am doing the opposite: I am using the Pi to read specialized iBeacons, although you could also build your own iBeacons out of Raspberry Pis and then read them via Bluetooth.

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Raspberry Pi Geek

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Pi in the Palace

    Welcome to the sixth issue of Raspberry Pi Geek magazine. In case you haven't done the math, six issues for a bimonthly magazine means we're celebrating our one year anniversary! We had a great year, and so did the amazing Raspberry Pi computer. It seems like we were just writing about the 2 millionth Raspberry Pi, and now the Foundation has announced the 3 millionth unit. 

  • Connecting a weather station to your Arduino

    After losing one weather station to tropical winds, the author reboots and designs a PCB that connects to an Arduino and monitors weather instruments.

  • Getting BLE to behave on the Pi

    BLE is a convenient choice for wireless communication where WiFi and Internet connectivity aren't available, but getting it to work on a Raspberry Pi can be a minefield of compatibility problems. We look at the main concepts and debugging tools you will need to get the most out of BLE on your Pi.

  • WiFi and the Raspberry Pi

    This SwitchDoc column looks at various uses for the inexpensive ESP8266 WiFi/processor combination.

  • The Switch Doc rebuilds his cat toy launcher with 3D printing

    To explore the possibilities of 3D printing, we rebuild the cat toy launcher that debuted in Issue 5.