iBeacon project
-
I Will like to do awesome things with Omega. One of those is an Bluetooth iBeacon. I'm turning myself to the community for resource. I feel lost.
I already updated to the latest firmware with Node and installed npm. Any nice soul to aide on directions?
Regards
-
@Victor-Quintanilha - working on something similar myself. Have a Bluetooth dongle connected to the expansion board and can access Bluetooth after installing the bluez package.
The beacon is a RealTag which I can see and interrogate manually from the command line using hcitool and gattool.
What I want to be able to do is run a python BLE scanner but am stuck because there is not enough memory on the omega to add the Bluetooth Python module (PyBluez).
-
Happy to see that are others interested in the project.
Me too I'm stuck with storage issues. I can't install hcitool
Will try this solution and come back with results:
Using USB Storage as Rootfs (extroot)
https://wiki.onion.io/Tutorials/Using-USB-Storage-as-RootfsPS: just realized that my $300 onions kit doesn't have stackable USB, I have to figure how to plug the Bluetooth expansion and USB Storage as Rootfs
-
@Victor-Quintanilha A few quick comments:
- I can confirm that using https://wiki.onion.io/Tutorials/Using-USB-Storage-as-Rootfs works well - I use it all the time with a 32GByte USB memory stick that provides both more system storage and also Linux swap space
- If you can spare the physical space, a USB hub works well for connecting multiple USB devices - I have tried it with multiple USB memory sticks
- In general, since the USB signals are exposed on the Expansion Dock connector, one could wire up additional USB ports on a Proto Expansion (https://store.onion.io/collections/onion-omega-expansions/products/proto-expansion) to provide additional USB port(s) more compactly.
-
Now there's an idea. Take the Bluetooth dongle to bits and wire it off the expansion board. Frees up the USB port for a memory stick. Nice.
-
Really good ideas! Will fluke around with that.
-
The easiest way to do that would be to use this product from Adafruit
https://www.adafruit.com/products/2267Some Arduino code that you could convert :
https://github.com/adafruit/Adafruit_BluefruitLE_nRF51/tree/master/examples/beacon
https://github.com/adafruit/Adafruit_BluefruitLE_nRF51/tree/master/examples/eddystoneTake a look at this too:
https://learn.adafruit.com/google-physical-web-uribeacon-with-the-bluefruit-le-friend/getting-started
https://learn.adafruit.com/introducing-adafruit-ble-bluetooth-low-energy-friend/beaconYou could also try this tutorial, it is for Raspberry Pi but most concepts apply to the Omega
https://learn.adafruit.com/pibeacon-ibeacon-with-a-raspberry-pi/what-is-ibeacon