Main Content

IO Device Builder

Creare un blocco Simulink per file C/C++ personalizzati o di terze parti

L'app IO Device Builder in Simulink® Support Package for Arduino® Hardware consente di creare rapidamente un System object™ per file sorgente (C/C++) personalizzati o di terze parti. È possibile utilizzare System object per creare un blocco Simulink utilizzando un blocco MATLAB System.

Per utilizzare IO Device Builder, andare alla scheda Hardware nella barra degli strumenti di Simulink. Nella sezione Prepare, sotto Design, scegliere IO Device Builder. Una serie di schermate guida l'utente attraverso il processo di creazione di un System object e del successivo blocco Simulink.

Argomenti

Esempi

Create DHT11 Sensor Block to Measure Relative Humidity and Temperature Using IO Device Builder App

This example shows how to use the IO Device Builder app to create DHT11 sensor for measuring relative humidity and temperature. In this example, the DHT11 sensor communicates with a microcontroller through a single-wire interface.

Create ADXL343 Sensor Block to Read Acceleration Using IO Device Builder App

This example shows how to use the IO Device Builder app to create ADXL343 sensor to measure acceleration.

Create OLED Display Block to Display Acceleration Using IO Device Builder App

This example shows how to use the IO Device Builder app to create ADXL343 sensor to measure acceleration and display the same in SH1106 OLED (Organic Light Emitting Diodes) display module.

Create OLED Display Block to Display Acceleration and Tap Count Using IO Device Builder App

This example shows how to use the IO Device Builder app to create OLED Display block to measure acceleration, tap count and then display the same in OLED (Organic Light Emitting Diodes) display module.

Create OLED Display Block to Display Acceleration and Tap Count Using Arduino External Interrupt Block and IO Device Builder App

This example shows how to use the IO Device Builder app to create OLED Display block to display acceleration and tap count using Arduino External Interrupt block.