I’m using Simulink to program my zumo but I’m having difficulties reading accelerometer sensor.Any advices how to do it?
thanks a lot

Hello, Izzo.

I am sorry you are having trouble getting data from your Zumo’s accelerometer. We do not have a Simulink library for our Zumo, so we do not have any specific advice. However, you might consider using this Simulink library, which was made by someone else for our Zumo Robot.

Another thing you might do is try reviewing our Arduino library for the LSM303 accelerometer used on the Zumo, which should give you an idea of how to communicate with that sensor.

Finally, it is a good idea to try testing that the accelerometer is working properly by using our LSM303 library. You can try running the Serial example sketch.


1 Like