Access the sensor data every X seconds in a economic way.
How can i access the sensor data every X seconds and after that put the board to sleep to reduce the power consumption?
Tried following
1. Beacon way but it has limitation on size of data.
2. Tried using the Android app but it needs continuous connection to board and battery power will be drained.
Main idea is to save the power of board and get the sensor data every x seconds.
Comments
Battery is still drained when advertising. Connect to the device and adjust connection parameters to minimize the exchange frequency. Or, log the data and download it at periodic interval.
Thank you Eric.
I also recommend using the log function instead of streaming so that the bluetooth connection isn't constantly on.