Most agencies have a Friday drinks routine. At AKQA London there’s a couple of Virgin Atlantic drinks trolleys that do the rounds. Split over 3 large floors, it’s sometimes hard to know exactly when your G&T is going to arrive. To counter this problem we decided to upgrade the drinks trolley.
The CRD team have been adding estimote beacons across the office (15 or so per floor). These give pretty good coverage, more than enough for a drinks trolley tracker. There’s a few ways you could check the location of the trolley, but it made sense to use all those beacons.
To turn the trolley into an IoT device, we used an Intel Edison hooked up to a SparkFun battery pack. The Edison is Intel’s small connected prototyping device. Think an Arduino but with a bit more power and built in WiFi and Bluetooth.
The Edison runs a version of Linux and you can write apps in a variety of languages including node.js. Using the Bleacon library I wrote a simple script that uses the onboard Bluetooth to scan for beacons.
When the Edison finds a known beacon, it calls a service to let it know which beacon is nearby. To keep things simple we are using AWS API gateway and dynamoDB so there’s no server side code to manage. There’s a second endpoint that returns a list of places the trolley has been. We then use this data to populate a simple website to tell people where the trolley is.
It’s a fairly silly application for IoT, but it shows how you can create a proof of concept without lots of infrastructure. The good news is we now know where the trolley is. The bad news is that it doesn’t make it arrive any sooner.
2016-09-16 14:50:38 GMT permalink