WOLFRAM SYSTEMMODELER

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 (3)

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

UseDTR

Value: false

Type: Boolean

Description: Some boards like Arduino Leonardo require UseDTR=true

Connectors (1)

boardConnector

Type: BoardConnector

Components (1)

board

Type: FirmataBoardObject

Used in Examples (5)

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