If you can use the hot shoe as a button press.. then it is easy to modify our existing code to capture the data. You would just need to add a timestamp to the output.
When you first start, it would also be ideal to also log the raw sensor values as well, because if you make a mistake with the calculations… you can always recalculate if you have the raw sensor values.
Regarding declination.. I haven’t really looked into this, but if you are capturing the GPS coordinates, maybe there is an online resource where you can grab the declination values based on your GPS coords, and apply this to your heading.
I am happy to assist. And if you do get it working, I would love to post about it on our site.
Do you know Python or C?
BTW: We are developing a GPS module where you can use I2C or UART to capture the coords. It will also have a mounting hole where a BerryIMU can be placed.
Mark --OzzMaker.com --