WOLFRAM SYSTEM MODELER
ArduinoComponent with default configuration for Arduino boards |
SystemModel["ModelPlug.Boards.Arduino"]
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.
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 |
boardConnector |
Type: BoardConnector |
---|
board |
Type: FirmataBoardObject |
---|
ModelPlug.Examples Basic example of blinking an LED |
|
ModelPlug.Examples Changing the intensity of an LED |
|
ModelPlug.Examples Reading analog signals |
|
ModelPlug.Examples Using servos |
|
ModelPlug.Examples A simple On/Off controller |
|
ModelPlug.Examples Reading an accelerometer I2C device |
|
ModelPlug.Examples Reading a temperature sensor I2C device |
|
ModelPlug.Examples Writting characters to a OLED screen |