Puck.js v1 on 2V16 - magnetometer not recognised #4105
Replies: 1 comment
-
Posted at 2022-12-06 by @gfwilliams Hi - please can you try running The issue is that to try and make things easier we have one firmware that handles all the different Pucks, but in order to identify them it looks at what I2C peripherals are attached at boot time. But, especially on the Puck.js v1, the microcontroller works down to 1.8v, but the magnetometer stops working at 2v. At 2v the battery has maybe 5% of charge left in it, if that - but if the magnetometer isn't responding then the Puck will think it's been left off (and will report it's the 'lite' version) Posted at 2022-12-08 by TJHunt Hi Gordon Attachments: Posted at 2022-12-09 by @gfwilliams Ok, thanks for checking - and yet on an older firmware it works just fine? Posted at 2022-12-10 by TJHunt Appears to work up to 2V14. Attachments: Posted at 2022-12-13 by @gfwilliams Ok, thanks - sorry for the delay, but I'll check on this today and try and get a fix in. Posted at 2022-12-13 by @gfwilliams Ok, just fixed. Sorry about this. If you install a 'cutting edge' build (2v16.34, or 2v17 when released) that'll fix this. https://www.espruino.com/binaries/travis/master/ Posted at 2022-12-17 by user151674 Thanks, Gordon. All good. Posted at 2022-12-17 by TJHunt Thank you. Posted at 2022-12-18 by @allObjects Searched for this... did not found it until later, after I created a duplicate of this issue... Puck.js FW 2v16 not recognizing HW V1 magnetometer MAG3110, thinks it's Puck Lite 1 HW ...fun! (tested 2v00, 2v06 (was on before update), 2v11, 1v14: all okl from 2v15 on it's broken; using 1v14 until 2v17 will be out) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2022-12-06 by TJHunt
I have a dusty Puck.js V1 updated with 2V16 firmware. Entering the Web IDE instruction "Puck.mag()" results in, "Uncaught error: Magnetometer not available on Puck.js Lite 1"
I've searched the forum but can't find answers to the following:
Why is IDE identifying hardware as Puck.js Lite 1?
Why doesn't current firmware appear to support legacy magnetometer? (or is this a consequence of the 1st question?)
Thanks
Beta Was this translation helpful? Give feedback.
All reactions