The Wolfram ModelPlug 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). ModelPlug 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.
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
Compatible with a number of actuators, such as motors, servos and relays
Allows the combination of components from the ModelPlug library and components from the Modelica Standard Library