The Notecard Hub is a proof of concept of designing a general-purpose hub for sending data points from BLE and Lora-enabled devices to the cloud using Notecard.
This Hub will form the basis of my future Notecard projects as it has low-power connectivity options for collecting data, and utilizes Blues Wireless's cloud platform for zero-configuration provisioning and data collection. The data is then piped to AWS services to demonstrate the cloud-to-cloud capability of notehub.io.
This project explores a few features:
- Implmenting the Notecard with BLE and Lora
- Building a simple backend and dashboard with AWS services
- Testing the Notecard's power resilience and energy harvesting in the field
- For prototyping, we will use the Feather nRF52840 Express for ease of development with an attached Lipo battery.
- A Lora module is used to further expand the number of communication protocols and range of the unit.
- A global Notecard (NOTE-NBGL-500) is used with a Notecarrier-AA.
- For testing BLE, two Mi Thermometers flashed with the ATC advertising code are used
- For testing LoRa, a LoRa module connected to the Feather is used and will use the same data formwat as the ATC advertising code.
- Update circuitpython on the nRF52840 Feather
- Add the notecard library to the
lib
folder of the Feather - Install Mu editor - issues: doesn't launch on Windows 10 - changing to VSCode
from notecard import hub
results in an error- Connect a LiPo battery on the Feather and connect the
Batt
pin to theV+
pin on the NoteCarrier- This prevents brown-outs when it is connecting to the cell tower - which results in Errno: 19 for I2C and empty JSON responses for UART
- Unfortunately the CircuitPython BLE code is not mature enough to be used effectively with generic devices. Switching to using PlatformIO for programming
- Consider using vectors for list management
- The RadioHead library does not work for the nRF52840, as well as numerous recorded difficulties by others in attempting to use it with the Arduino Nano 33 BLE Sense.
- What is the mitigation plan if Blues Wireless does not exist before the 10 years is up?
- If I didn't want to use Blue's wireless platform - how do I migrate off it completely?
- What is the data policy for Blue's Wireless?
- What is the SLA for Cloud Platform?
- How does the WiFi access point location work?
- Are there any commercial success stories for the NoteCard?
- What parts of the data is counted against my limit? e.g. health, session, env data -> I don't control this
- CircuitPython - https://learn.adafruit.com/introducing-the-adafruit-nrf52840-feather/circuitpython
- LTE antenna - https://www.digikey.sg/en/products/detail/pulselarsen-antennas/W3907B0100/7667474
- note-arduino - https://github.com/blues/note-arduino/tree/master/examples
- Bluefruit central - https://github.com/adafruit/Adafruit_nRF52_Arduino/tree/master/libraries/Bluefruit52Lib/examples/Central
- ATC flashing code - https://github.com/pvvx/ATC_MiThermometer#reading-measurements-in-advertising-mode
- BLE Generic Access Profile (GAP) reference - https://www.bluetooth.com/specifications/bluetooth-core-specification/
- Assigned numbers (GAP) - https://www.bluetooth.com/specifications/assigned-numbers/
- BLE ADV Reference - https://docs.silabs.com/bluetooth/latest/general/adv-and-scanning/bluetooth-adv-data-basics