lwc:hardware:sensors

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lwc:hardware:sensors [2023/05/30 12:42] John Harrisonlwc:hardware:sensors [2023/08/17 12:07] (current) John Harrison
Line 4: Line 4:
   * [[https://www.amazon.com/dp/B08NY9JSZ3|product]] (with GPS running at 38400 baud)   * [[https://www.amazon.com/dp/B08NY9JSZ3|product]] (with GPS running at 38400 baud)
     * [[https://ozzmaker.com/faq/how-do-i-change-the-baud-rate-on-the-gps-module/|change GPS to 9600 baud]]     * [[https://ozzmaker.com/faq/how-do-i-change-the-baud-rate-on-the-gps-module/|change GPS to 9600 baud]]
 +
 +===== QMC5883L Magnetometer =====
 +  * device can switch between standby mode and continuous mode via writing to registers via I2C
 +    * the [[https://github.com/mprograms/QMC5883LCompass|mprograms library]] supports this
 +    * [[https://nettigo.pl/attachments/440|datasheet]] explains that reading/writing via I2C is still possible in standby mode
  
 ===== Accelerometers ===== ===== Accelerometers =====
Line 23: Line 28:
   * [[https://howtomechatronics.com/tutorials/arduino/arduino-and-mpu6050-accelerometer-and-gyroscope-tutorial/|excellent tutorial]]   * [[https://howtomechatronics.com/tutorials/arduino/arduino-and-mpu6050-accelerometer-and-gyroscope-tutorial/|excellent tutorial]]
   * [[https://arduino.stackexchange.com/questions/48424/how-to-generate-hardware-interrupt-in-mpu6050-to-wakeup-arduino-from-sleep-mode|some clues]] for how to get MPU6050 in cycle mode and maybe use sleep mode for MCU instead of shutting down   * [[https://arduino.stackexchange.com/questions/48424/how-to-generate-hardware-interrupt-in-mpu6050-to-wakeup-arduino-from-sleep-mode|some clues]] for how to get MPU6050 in cycle mode and maybe use sleep mode for MCU instead of shutting down
 +  * [[https://github.com/jrowberg/i2cdevlib/issues/665|a peek]] in how to set registers using the MPU6050 library
 +  * [[https://github.com/jrowberg/i2cdevlib/issues/559|a discussion]] on those pesky interrupts and how the library might not do it correctly
 +  * [[https://mjwhite8119.github.io/Robots/mpu6050|in-depth look at the MPU6050]] although basically it's the example code explained, which already seems to ignore its own interrupt routine
 +  * [[https://arduino.stackexchange.com/questions/85896/mpu6050-arduino-jeff-rowberg-library-interrupt-issue|getting the arduino to recognize the interrupts]]
 +  * [[https://www.eluke.nl/2016/08/11/how-to-enable-motion-detection-interrupt-on-mpu6050/|a complete walkthrough without code on motion detection interrupt for MPU6050]]
  • lwc/hardware/sensors.1685468554.txt.gz
  • Last modified: 2023/05/30 12:42
  • by John Harrison