MCP4725 DAC through Arduino due in simulink

21 visualizzazioni (ultimi 30 giorni)
Hi, i tried to generate analog output voltage by Arduino due in simulink using MCP4725. But the file does not work, and gives an error. It says code generation file does not exist.I have used the files provided in the official mathworks website by one person.Could you please let me know how to use it.The link of files is given: https://in.mathworks.com/matlabcentral/fileexchange/82480-mcp4725-12-bit-dac-i2c-block-for-arduino-due?s_tid=prof_contriblnk

Risposta accettata

aakash dewangan
aakash dewangan il 31 Mar 2023
Hi,
I found the solution. I used I2C communication block provided by MATLAB, It worked well. Thanks MATHWORKS :)
  1 Commento
Finn
Finn il 7 Mar 2024 alle 11:24
Modificato: Finn il 7 Mar 2024 alle 15:30
Hi,
i want to use the MCP4725 in simulink 2023 with the Raspberry Pi 4B. Did you use the I2C Controller write block? How did you configure the block? Did you need to install libraries on the raspberry pi, or include headers somewhere ? Could you provide a simple slx example? Please i need help

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Arduino Hardware in Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by