Skip to main content

Timeline for Using the HMC5883L on the GY87

Current License: CC BY-SA 4.0

10 events
when toggle format what by license comment
Sep 12, 2018 at 3:17 vote accept Speedy
Sep 12, 2018 at 3:17 answer added Speedy timeline score: 0
Sep 11, 2018 at 22:11 comment added KennetRunner I testing sending those 3 sets of bytes via C and it worked as expected (i2cdetect showed a device on 1E). Also tested just resetting the device (writing 0x80 to register 0x6B) and then setting 'bypass mode' (writing 0x02 to register 0x37) and then running i2cdetect, and it worked as expected.
Sep 11, 2018 at 20:57 comment added KennetRunner This guy github.com/jarzebski has Arduino libraries that cover MPU6050 and HMC5883, that might help. From the looks of it the two writes you are doing look correct (setMasterMode = false and setBypassMode = true) the HMC5883 should then be visible on address 1E
Sep 8, 2018 at 22:00 comment added Speedy @joan I've provided a link to the module
Sep 8, 2018 at 18:15 review Close votes
Sep 24, 2018 at 3:05
Sep 8, 2018 at 18:04 history edited Speedy CC BY-SA 4.0
added 108 characters in body
Sep 8, 2018 at 16:12 comment added joan Are you saying all these sensors are on the single GY87 module? Please provide a link to the module specs.
Sep 8, 2018 at 15:36 history edited Speedy CC BY-SA 4.0
edited title
Sep 8, 2018 at 14:55 history asked Speedy CC BY-SA 4.0