Main Content

IO Device Builder

Créer un bloc Simulink pour les fichiers C/C++ personnalisés ou tiers

L'application IO Device Builder du Support Package Simulink® pour hardware Arduino® vous permet de créer rapidement un System object™ pour des fichiers sources personnalisés ou tiers (C/C++). Vous pouvez utiliser System object pour créer un bloc Simulink en utilisant le bloc MATLAB System.

Pour utiliser IO Device Builder, accédez à l'onglet Hardware sur la Simulink Toolstrip. Dans la section Prepare, sous Design, choisissez IO Device Builder. Une série d'écrans vous guide dans la création d'un System object, puis dans la création d’un bloc Simulink.

Rubriques

Exemples

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.