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

Reeno Joseph
Reeno Joseph 2021년 2월 18일
Hi Joan,
We are looking into the issue and will get back to you ASAP.
-Reeno
Joan Taveras
Joan Taveras 2021년 2월 19일
편집: Joan Taveras 2021년 2월 22일
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 2021년 2월 25일
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 2021년 2월 25일
Hi Joseph,
Attached you will find the MATLAB code and Simulink Model.
Thnak you,
Joan Taveras

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

질문:

2021년 2월 12일

댓글:

2021년 2월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by