Communication with Arduino microcontroller

Arduino is an open platform based on ATMega microcontrollers by Atmel company. See
Arduino microcontroller can utilise many ways of communication with PCs or other microcontrollers.

Modbus protocol

In order to establish communicate between the PROMOTIC application and the Arduino microcontroller, the Modbus protocol seems to be the best choice.

Both serial link(Modbus RTU) and/or Ethernet (Modbus TCP) can be used as communication interface (based on the configuration of the microcontroller itself).

Arduino procedure:

- Download "arduino-modbus-slave" library from "". This library also contains example that can be used in order to understand the usage.
- Install development software for Arduino from "".
- Run the software.
- Set the communication port for communication with PC (in menu "Tools / Port").
- Add the downloaded library (in menu "Project / Include Library / Add .ZIP Library").
- Based on the example in the library create the Arduino project.

PROMOTIC procedure:

For this communication in the PROMOTIC system can be used: PmModbusMr - Driver for communication by Modbus Master protocol.

For easy integration of this driver into the application it is handy to use:
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice