Main Content

IO デバイス ビルダー

カスタムまたはサードパーティの C/C++ ファイル用の Simulink ブロックの作成

Simulink® Support Package for Arduino® Hardware の IO デバイス ビルダー アプリを使用すると、カスタムまたはサードパーティのソース ファイル (C/C++) 用の System object™ をすばやく作成できます。この System object を使用すると、MATLAB System ブロックを使用して Simulink ブロックを作成できます。

IO デバイス ビルダーを使用するには、Simulink ツールストリップで [ハードウェア] タブに移動します。[準備] セクションの [設計] で、[IO デバイス ビルダー] を選択します。その後、一連の画面に従い、System object を作成してから Simulink ブロックを作成するプロセスを進めます。

トピック

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. The communication protocol is a proprietary one-wire protocol that uses a timing-based communication scheme. It detects water vapor by measuring the electrical resistance between two electrodes, and it measures temperature with a surface-mounted NTC temperature sensor (thermistor) built into the unit.

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. In this example, the ADXL343 sensor values are retrieved by using the SPI bus requiring four wires (SCL, SDA, SDO and CS).

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.