Help generate INA219 IO Device Builder App for SImulink with MATLAB 2023b

13 views (last 30 days)
Hi,
I've been going through scores of manuals to manually build Arduino Device driverr for INA219 using the Adafruit_INA219 library Link to library however all the tutorials (including the latest one on youtube Tutorial ) are too hard to follow. In my desperate search for help I stumbled upon "IO Device Builder App" which, from what I understand is a graphical tool to build the simulink blocks. While I have R2023a , unfortunately my support package has expired and this IO device builder app has only been released with 2023b.
I'm wondering if the staff or anyone else would be kind enough to build a simulink block for this senson and post it on File Exchange for the community ? Upgrading my support package for just this one feature which is a small part of my project will be a bit expensive proposition given its a hobby project.
Thanks in advance,
Prashant

Accepted Answer

Prashant
Prashant on 18 Sep 2023
Nevermind...
I downloaded a trial version of MATLAB 2023b and tried running the sample OLED project on arduino uno. While a similar size project in Arduino IDE (Adafruit example) takes 31% of memory in Arduino Uno, the IO device created following this example in which all i did was pass 3 constants to X, Y and Z is taking 109% of total memory !!! I've read about MATLAB code adding too much overhead but this is beyond acceptable range.
I think i will just revert back to my original workflow of using MATLAB for simulation and doing all "production work" in Arduino IDE.

More Answers (0)

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!