AK8975 Magnetometer (Compass)
- I2C Address: 0x0e
- product (with GPS running at 38400 baud)
QMC5883L Magnetometer
- device can switch between standby mode and continuous mode via writing to registers via I2C
- the mprograms library supports this
- datasheet explains that reading/writing via I2C is still possible in standby mode
Accelerometers
GPS
Ublox Commands
- You can get the commands for hot start, cold start, etc. by opening up the
messages
window from theview
menu- hot start and cold start are in
CFG
under 'RST' - click
show hex toggle
(icon at the bottom) to see the hex values for the command to be sent- cold start: B5 62 06 04 04 00 FF A1 02 00 B0 47
- hot start: B5 62 06 04 04 00 00 00 02 00 10 68
- warm start: B5 62 06 04 04 00 01 00 02 00 11 6C
Gyroscope
MPU6050
- arduino library which is more popular and seems more sophisticated (in a good way) from Adafruit's
- some clues for how to get MPU6050 in cycle mode and maybe use sleep mode for MCU instead of shutting down
- a peek in how to set registers using the MPU6050 library
- a discussion on those pesky interrupts and how the library might not do it correctly
- in-depth look at the MPU6050 although basically it's the example code explained, which already seems to ignore its own interrupt routine