SparkFun Forums 

Where electronics enthusiasts find answers.

Questions &/or issues related to products in the Movement & IMU category should be posted in this forum.
#203736
I'm new so please be patient and I apologize for stupid questions ahead of time.

Questions:
1) What's best to implement internal interrupts - i.e. I want to go to low power mode and put whatever's not necessary to sleep for 1 minute, then wake up the imu and start recording data to microsd card again for one minute, then back to sleep -WDT best or is there a lowpower library (rocketscream or arduino lowpower)?

2)How can I read microsd data out through usb since I will not be able to pull out the microsd card?
Thanks!
#203745
Hello, and thanks for your post!
What's best to implement internal interrupts - i.e. I want to go to low power mode and put whatever's not necessary to sleep for 1 minute, then wake up the imu and start recording data to microsd card again for one minute, then back to sleep
You're going to want to look at the Arduino attachInterrupt() command to enable interrupts. Some tutorials for using interrupts can be found below but there are many more examples on the web.
WDT best or is there a lowpower library (rocketscream or arduino lowpower)?
I've not yet played around with low power modes for the SAMD21 processor found on the 9DoF Razor, but this video might have some useful information for you.
How can I read microsd data out through usb since I will not be able to pull out the microsd card?
Haven't tried this either, but I did fond a Github repo that should help. Hope this helps get you pointed it the right direction! :-)