Main Content

IO Device Builder

Create Simulink block for custom or third-party C/C++ files

IO Device Builder app in Simulink® Support Package for Arduino® Hardware allows you to quickly create a System object™ for custom or third-party source files (C/C++). You can use the System object to create a Simulink block using MATLAB System block.

To use the IO Device Builder, go to the Hardware tab on the Simulink toolstrip. In the Prepare section, under Design, choose IO Device Builder. A series of screens then leads you through the process of creating a System object and then creating a Simulink block.

Topics

Examples

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.