WOLFRAM SYSTEM MODELER

Arduino

Component with default configuration for Arduino boards

Wolfram Language

In[1]:=
SystemModel["ModelPlug.Boards.Arduino"]
Out[1]:=

Information

This component provides a ready-to-use configuration for the Arduino board. This component has been tested with Arduino Uno, Arduino Mega 2560, and Arduino Mini, but it should work with any Arduino board.

When running the simulation, you will get a list of the capabilities of every pin. If you want to stop showing the capabilities every time you simulate, you need to set the property 'ShowCapabilities' to false. If you are not sure about the location of a specific pin in your board, you should check the documentation for your board.

Parameters (2)

Port

Value: "COMX"

Type: SerialPort

Description: Name of the serial port

ShowPinCapabilities

Value: true

Type: Boolean

Description: Set to true if you want to see the capabilities of the pins in your board

Connectors (1)

boardConnector

Type: BoardConnector

Components (1)

board

Type: FirmataBoardObject

Used in Examples (8)

BlinkLed

ModelPlug.Examples

Basic example of blinking an LED

DimmingLed

ModelPlug.Examples

Changing the intensity of an LED

ReadSensor

ModelPlug.Examples

Reading analog signals

MoveServo

ModelPlug.Examples

Using servos

SimpleONOFF

ModelPlug.Examples

A simple On/Off controller

AccelerometerI2C

ModelPlug.Examples

Reading an accelerometer I2C device

ThermometerI2C

ModelPlug.Examples

Reading a temperature sensor I2C device

ScreenI2C

ModelPlug.Examples

Writting characters to a OLED screen