Connecting Arduino Microcontrollers

The new Arduino expansion packet will allow communication with the Arduino microcontrollers.
Depending on the complexity of the application, two different communication methods will be supported:

  • For simpler applications, communication can be done via the USB interface and the emulated COM port. The DPUArduinoSerial allows any number of inputs and outputs to be defined and transmitted once per simulation step to the Arduino board. The corresponding Arduino SILABSerial library will facilitate access to the data transmitted from SILAB. This DPU will work with any Arduino device.
  • For more complex applications with large amounts of data being transferred, this can be done through the local network using an Arduino ethernet shield. The DPUArduinoNetIO allows direct use of all analog and digital inputs from SILAB. Input control will be done by the associated Arduino Sketch NetIO. This solution works best with the Arduino Mega 2560 extended with an ethernet shield.

arduino-paket

Note: The Arduino package is available from version 4.0 of SILAB onwards.