sandeepmistry / arduino-BLEPeripheral

An Arduino library for creating custom BLE peripherals with Nordic Semiconductor's nRF8001 or nR51822.
MIT License
462 stars 179 forks source link

Setting chip to idle state in between measurements #296

Open celiafb opened 1 year ago

celiafb commented 1 year ago

In order to reduce current consumption, I want to set my nRF52832 chip to sleep in between ADC measurements. I'll only be recording one measurement every 5 minutes or so, and my board is on a wearable device powered by a 40 mAh battery, which I want to last for at least 12 hrs.

Are there any functions I can use compatible with BLEPeripheral and PlatformIO?

Thanks in advance!