Connected things Hardware & making 2018

BoatSense

Island transport made a little smarter

With Arduino LoRaWAN Bluetooth LE beacons Raspberry Pi (LoRaWAN gateway) Linux solar power web UI

Some very analogue row boats are shared by neighbours on an island near Stockholm. First come, first served, they make up one of several ways across the water — often part of the daily commute. Head down to the shore to find all the boats on the other side, and you’re in a bit of a pickle.

The challenge: build something tech-agnostic enough for new and old smartphones, weather-tough enough for the elements, and precise enough to be trusted. A few iterations in, there’s a fairly stable service in place.

The interface is a small web app that gives only what you need — how many boats are available right now. (Online during boat season, April–October.)

Built with Bluetooth beacons and a LoRaWAN node + gateway, using the wonderful The Things Network for the backend.

Thanks to Greger for hardware hacking, Mikael Sjöbeck for starting the boat pool in the first place, Marcel for data wrangling, and a few others who pitched in along the way.

Two green rowboats and a yellow pedal boat pulled up on a sandy shore beside calm water
Two green rowboats and a yellow pedal boat pulled up on a sandy shore beside calm water
Nautical chart showing the narrow waterway and shoreline near Tranholmen, marked with a 5 knot speed limit
Nautical chart showing the narrow waterway and shoreline near Tranholmen, marked with a 5 knot speed limit
Web app screen reading '86: Tranbåtspoolen — 0 av 8 båtar vid brofästet fastlandssidan' with a timestamp
Web app screen reading '86: Tranbåtspoolen — 0 av 8 båtar vid brofästet fastlandssidan' with a timestamp
Grey weatherproof enclosure with antenna and small solar panel, chained to a tree trunk outdoors
Grey weatherproof enclosure with antenna and small solar panel, chained to a tree trunk outdoors
Open LoRaWAN node enclosure on a tree, exposing the perfboard circuit and antenna, with solar panel cable to the side
Open LoRaWAN node enclosure on a tree, exposing the perfboard circuit and antenna, with solar panel cable to the side
Red square Bluetooth beacon taped inside the bow compartment of a green plastic boat, beside coiled rope and an anchor
Red square Bluetooth beacon taped inside the bow compartment of a green plastic boat, beside coiled rope and an anchor
Laptop running a Python script balanced on the seat of a parked bicycle trailer, with autumn leaves on the ground
Laptop running a Python script balanced on the seat of a parked bicycle trailer, with autumn leaves on the ground
Early prototype: a black project box with antenna sitting inside a clear plastic food container in tall grass
Early prototype: a black project box with antenna sitting inside a clear plastic food container in tall grass
Opened black enclosure on a workbench showing perfboard with Arduino, Bluetooth module, LoRa radio and battery pack
Opened black enclosure on a workbench showing perfboard with Arduino, Bluetooth module, LoRa radio and battery pack
Close-up of a green plastic rowboat hull stencilled with the text '86: Tranbåtspoolen'
Close-up of a green plastic rowboat hull stencilled with the text '86: Tranbåtspoolen'