QWIIC Automatic Identification method on SparkFun boards

I’m interested in creating my own header boards that will carry various ports, but I’d like to utilize whatever library is currently being used to “automatically identify” boards such as the “Qwiic Twist” and so on.

SparkFun DataLogger IoT - 9DoF describes:

The DataLogger IoT - 9DoF automatically scans, detects, configures, and logs various Qwiic sensors plugged into the board (No soldering! No programming!). Currently, auto-detection is supported on the following Qwiic products (with the exception of the ISM330DHCX and MMC5983 which is built-in on the SPI port)

Is it just doing an i2c scan and utilizing known addresses? Is it possible to install two Qwiic twist devices on the same bus and have the board know which knob is which? (For instance)

I’ve never seen an autoconfiguring i2c implementation before and am keen to standardize my design on sparkfun compatible boards if this implementation is public. Can someone point me to the repo please?

You can check this github repo.

The OpenLog Artemis firmware powers the DataLogger IoT boards, and supports automatic detection of sensors.

1 Like

I appreciate well-commented code so much. OpenLog_Artemis/Firmware/OpenLog_Artemis/autoDetect.ino at main · sparkfun/OpenLog_Artemis · GitHub << This is what I was looking for! Thanks!

1 Like