Hi @Sheep_Boi
Unfortunately, I have only used the non-Sense version of the Xiao, which doesn’t have the IMU, and have only worked with Bluetooth using Zephyr. However, someone else recently asked a question similar to yours on the page where I posted the low power Arduino code, so I just purchased a Xiao Sense version with the idea to add a low power example for that version.
I won’t have solid play time until this weekend. In the meantime, I suggest the following:
- If you haven’t already, check out this page XIAO BLE Sense in deep sleep mode. The solution to your problem may already be posted there. I remember seeing IMU wake up code there.
- In your own solution, I would recommend to first get the IMU working with deep sleep without Bluetooth. Then add Bluetooth. This would reduce the number of variables.
I plan to do as I describe in the second bullet as soon as I have time to play. I will update this page with any results.