05-03-2022 04:05 PM
Hi,
I have a nicla sense ME IMU sensor and I want to evaluate the various sensitivity range of the accelerometer?
Does anyone have an idea how to change the acceleration range parameter in Arduino?
Or any sample code that I can refer to?
I tried to search and found something but still, I cannot get it how to implement it on the program.
Thank you
Regards
Christian
11-21-2022 06:19 AM
hello
yes, this is possible. How do you connect the Nicla and Portenta devices?
if you use the ESLOV connection, this could be implemented in the function:
void EslovHandler::writeConfigPacket(SensorConfigurationPacket& config) (see the source)
basically the structure SensorConfigurationPacket needs to be extended to include range settings, and this structure needs to be both updated on the Arduino_BHY2 and Arduino_BHY2Host libraries.
Let me know if this helps.