pimoroni / enviro-ble

MIT License
9 stars 0 forks source link

ROADMAP #1

Open Gadgetoid opened 1 year ago

Gadgetoid commented 1 year ago

I have been mostly prodding at this GitHub repository to see what Blurtooth can do - https://github.com/oesmith/gatt-xml/blob/master/

Some notable services that Enviro could integrate:

Some general questions:

Are there any features we should incorporate? Bearing in mind the KISS principle here.

kevinmcaleer commented 1 year ago

BLE Beacon?

Can pico W powered ble be used to create beacons for rough positioning? I'm thinking from a robot point of view, the enviros I use are typically in fixed positions from each other, so if I could use the time of flight of a Bluetooth signal I should be able to work out how far a robot has travelled. Or I might be talking out of my kevsrobots branded hat.

Gadgetoid commented 1 year ago

Something about indoor positioning was definitely in the XML nightmare I was browsing in lieu of braving the specs - https://github.com/oesmith/gatt-xml/blob/master/org.bluetooth.service.indoor_positioning.xml. I did wonder if it would be useful for anything. I don't think it costs much in terms of RAM to throw up another few services/characteristics. Especially if they don't require ongoing updates.

I guess devices that use these for positioning rely on the signal strength and some kind of location tagging- looks like latitude and longitude which might be a bit of an ask for household positioning. Though if all your boards have a unique ID (the Pi's flash serial number) and you know roughly where they are (fixed locations) then there might already be enough information to do triangulation from just the "device information" characteristic without having to load the devices down with even more services.

Definitely some research required here! But the linked XML file gives some insight into what kind of data a location beacon would share. Stuff like floor number makes sense to me, Lat/Lon seem somewhat optimistic. I guess that's why there's a confidence value 😆