Raspberry pi Simulink toolbox

Hi,
I am working with a Adafruit LC709203F LiPoly / LiIon Fuel Gauge and Battery Monitor and I am trying to read this sensor using the I2C block from the Simulink Support Package for Raspberry Pi. I successfully read some data from the sensor using MATLAB support Package but not from the simulink. I was wondering , why I cannot read any data from the sensor using I2C block on simulink. I really appreciate any subjection.
Thank you in advace

4 comentarios

Reeno Joseph
Reeno Joseph el 18 de Feb. de 2021
Hi Joan,
We are looking into the issue and will get back to you ASAP.
-Reeno
Joan Taveras
Joan Taveras el 19 de Feb. de 2021
Editada: Joan Taveras el 22 de Feb. de 2021
Hi Joseph,
Thank you very much for your response. Please do not hesitate to contact me if you need more information about this issue.
Best regards,
Joan Taveras
Prasanth Sunkara
Prasanth Sunkara el 25 de Feb. de 2021
Hi Joan,
Since with your MATLAB code you were able to read the data properly, I am guessing there could be some minor modelling issue in Simulink to do the same. If you could share(attach it to the question) both the MATLAB code and the Simulink Model that you have tried, I can have a quick look to see if there is any discrepancy in the implementation.
Thanks,
Prasanth
Joan Taveras
Joan Taveras el 25 de Feb. de 2021
Hi Joseph,
Attached you will find the MATLAB code and Simulink Model.
Thnak you,
Joan Taveras

Iniciar sesión para comentar.

Respuestas (0)

Preguntada:

el 12 de Feb. de 2021

Comentada:

el 25 de Feb. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by