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 commentaires

Reeno Joseph
Reeno Joseph le 18 Fév 2021
Hi Joan,
We are looking into the issue and will get back to you ASAP.
-Reeno
Joan Taveras
Joan Taveras le 19 Fév 2021
Modifié(e) : Joan Taveras le 22 Fév 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 le 25 Fév 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 le 25 Fév 2021
Hi Joseph,
Attached you will find the MATLAB code and Simulink Model.
Thnak you,
Joan Taveras

Connectez-vous pour commenter.

Réponses (0)

Commenté :

le 25 Fév 2021

Community Treasure Hunt

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

Start Hunting!

Translated by