Hello,
I tried accessing the temp sensor on the Arduino Nano 33 IoT but without luck. It would be really useful.
I used the lib below.
https://github.com/iLikePieTM/Arduino_LSM6DS3/archive/master.zip
from the thread:
And there is a SimpleTempSensor Sketch
However I get
"Failed to initialize IMU!"
When I try with the default library of the LSD, it works fine however!
Any clues how I can get this to work?
2nd question:
How do I know if a default lib is really deleted? Because I can compile the examples without pressing "include"?
Thankyou.
Ardukus
2
Same problem here.
Uninstalled default library and istalled version 1.1.0.
Also getting "Failed to initialize IMU!"
On the library documentation site, no documented 1.1.0 version
horace
3
if you are using the I2C interface have you tried running an I2C scanner to see if it finds the device address
1 Like
Ardukus
4
Thx for the hint!
When I run an I2C Scan script i get three possible slaves:
One of them needs to be the IMU sensor.
According to the library 0x6A is the right one.
In the library folder is a file which contains the IMU Adress, I edited to every possible adress but no better result.
Replace the begin function with the begin function of the 1.2 version.
This worked fine for me.
Especially this Part is important:
if (!(readRegister(LSM6DS3_WHO_AM_I_REG) == 0x6C || readRegister(LSM6DS3_WHO_AM_I_REG) == 0x69)) {
end();
return 0;
}
system
Closed
6
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.