SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions about carrier boards have here!
#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
#236824
Hello YellowDog,
YellowDog wrote:I don't see a qwiic connector on the nicla board. Even if it had one, you probably couldn't connect two together because the i2c address would conflict.

This is not going to be easy and will require you to write custom software on all three devices to make it work.
Thanks for the information. There isn't a qwiic connector on the Nicla Sense ME, but there is on the Asset Tracker. Right now it's wired up so that the Asset Tracker board is daisy chained by I2C to two Nicla Sense MEs. There is an I2C for the Nicla Sense MEs.

I guess two Nicla Sense MEs on the bus is a problem because they have fixed addresses in side the chips. Is it straightforward with just one Nical Sense ME?

Any way, I appreciate it. We are trying to find a way to integrate these boards to get the data we want. I am a programmer, but the vast majority of my programming has been on Windows and Linux. I did one Arduino in the past, but it was pretty straightforward compare to this. We are determined to get this thing working.

Thanks,
...John
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum