How can I reduce the power usage of the board and have the option to wake it remotely via bluetooth? I’ve done things like not activate Serial and the LEDs, but using this line:
NRF_POWER->SYSTEMOFF = 1;
to make it enter deep sleep doesn’t seem to be an option to me since the board has to be physically activated via GPIO or reset.
So , This doesn’t exist here, YET
However there are posts that attempt so creative work-arounds.
Start by using the TECH mentioned in @msfujino’s Posts on the subject as he has totally documented and discovered what is required to get the Lowest operating numbers in sleep current.
GL PJ
I like the sleep and wake on IMU motion or double tap… I use it everywhere
You do it in the lib_deps = line in the PLIO .ini
Try this;
[env:your_board_env_name]
platform = nordicnrf52
board = your_board_id
framework = arduino
lib_deps =
adafruit/Adafruit nRF52 Arduino @ ^1.0.0
; or directly from the source if the registry link has issues
; github.com
To use the #include <bluefruit.h> header with a Seeed Studio XIAO nRF52840
in PlatformIO, you must use the Adafruit nRF52 Arduino core
rather than the default Seeed Mbed-based core.
The bluefruit.h library is a built-in part of the Adafruit nRF52 framework and cannot be installed as a separate standalone library through the PlatformIO Library Manager.
Note: Using the board = seeed-xiao-afruitnrf52-nrf52840 definition ensures the compiler includes the necessary Bluefruit libraries and FreeRTOS support.