4 digit 7 segment display using Arduino UNO 3 in Simulink

30 ビュー (過去 30 日間)
Kurukulasuriya Dias
Kurukulasuriya Dias 2020 年 7 月 21 日
コメント済み: Blessen Edison 2021 年 7 月 19 日
Hello,
I am new to simulink and I am doing a project that involves using a 4 digit 7 segment display using an Arduino UNO 3 in simulink. Can anyone direct me to any examples or methods to do this in Simulink? Also any tutorials on simulink related to arduino is much appreciated

回答 (1 件)

Arun Kumar
Arun Kumar 2020 年 7 月 23 日
Hi Kurukulasuriya,
There are multiple approaches to work with the display.
If your display is parallel display(interfaced using GPIO) you can follow one of the methods:
  1. Implement the in Simulink using digital output blocks
  2. Create a device driver using the following guide: https://www.mathworks.com/help/supportpkg/arduino/device-driver-blocks.html
If your diplay is connected via SPI/I2C, you can follow one of the following methods:
  1. Create the driver using SPI/I2C blocks in Simulink.
  2. Create a device driver using the library by using the following guide: https://www.mathworks.com/matlabcentral/fileexchange/72541-create-custom-device-driver-block-for-arduino?s_tid=prof_contriblnk
Hope this helps!!
  1 件のコメント
Blessen Edison
Blessen Edison 2021 年 7 月 19 日
How to use 4 digit seven segment display of arduino in Matlab??.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDevice Driver Blocks についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by