sparkfun / OpenLog_Artemis

The OpenLog Artemis is an open source datalogger the comes preprogrammed to automatically log IMU, GPS, serial data, and various pressure, humidity, and distance sensors. All without writing a single line of code!
https://www.sparkfun.com/products/15846
Other
86 stars 46 forks source link

Feature request: support for qwiic buttons #130

Closed alino93 closed 2 years ago

alino93 commented 2 years ago

Hi Paul,

I need to label the time of some events somehow by the patients carrying the OLA. Is there any easy way to do that? like logging the time by pressing a button on the OLA? I saw this https://github.com/sparkfun/OpenLog_Artemis/issues/81 but it seems it was not easy to add support for qwiic buttons at that time.

Thanks, Ali

PaulZC commented 2 years ago

Hello Ali,

OLA v2.2 does support the Qwiic Button. But there are problems associated with it. The Qwiic Button uses I2C "clock stretching" and that causes problems with the Artemis hardware. The OLA then thinks extra devices are connected when they are not. I've just tried it again with v2.2. The OLA is seeing an SN-GCJA5, MS5837 and a Qwiic Button, when really I only have the Qwiic Button attached. I can disable the "ghost" sensors using Menu 6, but it is not a good solution.

In summary: the Qwiic Button does work, but causes problems. There is no good solution for you - at the moment. Sorry!

We are working on a new "OpenLog" product, but it will be a few weeks until it is complete.

Very best wishes, Paul

alino93 commented 2 years ago

Thank you very much, Paul. Do you know any other product that can do something like this? (log the time of pressing a button)

Best regards, Ali