- Thu Nov 03, 2022 7:49 pm
#236805
Hello,
I have a Sparkfun Asset Tracker Board w/samd51 plugged into it and I have a Nicla Sense ME connected to it with a qwiic connector (I2C bus). I'm using the Arduino IDE 2.0 to program
What I'm trying to do is access the Nicla Sense ME via the samd51. While I was able to program the Nicla Sense ME as a stand alone, I'm not sure how to access it via the I2C bus. I want to access the accelerometer, gyroscope, etc. from the Nicla Sense ME and gather the data and then send it via the com port of the Asset Tracker Board so that it can be gathered by PuTTY.
However, the whole issue for me is how do I access the Nicla Sense ME via the I2C bus. I've looked at examples of using the I2C to access a power switch, but I'm not able to make the translation to the Nicla Sense ME.
And in fact, I will have two Nicla Sense MEs on the I2C bus.
Does anyone have any ideas on this?
Thanks!
...John
Here are the boards I'm using:
MicroMod Samd51: https://learn.sparkfun.com/tutorials/mi ... o-examples
MicroMod Asset Tracker: https://learn.sparkfun.com/tutorials/mi ... troduction
Nicla Sense ME: https://www.sparkfun.com/products/19727
I have a Sparkfun Asset Tracker Board w/samd51 plugged into it and I have a Nicla Sense ME connected to it with a qwiic connector (I2C bus). I'm using the Arduino IDE 2.0 to program
What I'm trying to do is access the Nicla Sense ME via the samd51. While I was able to program the Nicla Sense ME as a stand alone, I'm not sure how to access it via the I2C bus. I want to access the accelerometer, gyroscope, etc. from the Nicla Sense ME and gather the data and then send it via the com port of the Asset Tracker Board so that it can be gathered by PuTTY.
However, the whole issue for me is how do I access the Nicla Sense ME via the I2C bus. I've looked at examples of using the I2C to access a power switch, but I'm not able to make the translation to the Nicla Sense ME.
And in fact, I will have two Nicla Sense MEs on the I2C bus.
Does anyone have any ideas on this?
Thanks!
...John
Here are the boards I'm using:
MicroMod Samd51: https://learn.sparkfun.com/tutorials/mi ... o-examples
MicroMod Asset Tracker: https://learn.sparkfun.com/tutorials/mi ... troduction
Nicla Sense ME: https://www.sparkfun.com/products/19727