The Wolfram Model Plug library allows you to link your simulation models to the real world by the use of an Arduino board (or any other board following the Firmata protocol). Model Plug opens up a wide variety of ways to interact with your Modelica models, for example by using buttons, switches, input sensor information or even actuators such as motors and servos.
System Modeler Modelica Library Store
To run this example, you'll need
The latest versions of System Modeler and Mathematica.
Please make a selection:
Get afree trial Continue
with download
Features
- Supports any Arduino-compatible board
- Contains a versatile collection of ready-to-use and reusable components, including standard pin components to access the board I/O and external functions for communication with the board
- Compatible with any board supporting Firmata, such as the Teensy Development Board and chipKIT
- Can be used with standard or custom Firmata boards, making it suitable for both beginners and the more advanced user
- Supports interaction with Modelica models through buttons, switches, knobs, etc.
- Can input sensor information, such as light, temperature and pressure
- Suitable for real-time simulations
- Support for I2C devices
- Compatible with a number of actuators, such as motors, servos and relays
- Allows the combination of components from the Model Plug library and components from the Modelica Standard Library
Learning Resources
Details
Version
2.0
Platforms
All Platforms
Updated
January 2024
Requirements
Arduino board or Firmata-compatible board
Size
<10MB
Language
English