Protocols for hardware interfacing between OpenModelica and Arduino board


I was wondering if anyone could clarify something for me.

I am curious about what protocol(s) which are actually used for the hardware interfacing of OpenModelica and Arduino board presented in the book "Microcontroller Programming with Arduino and OpenModelica". I have seen mentioning of the RS-232 protocol but am uncertain if this is defined in the various toolboxes in the source-code, or if this is something that is defined in the shield.

If one would want to connect an Arduino board directly to a computer, then communicate via OpenModelica, is the Modbus Protocol (described in Chapter 11) the way to go?

I greatly appreciate it if anyone would clarify these issues for me.

Thank you.

OpenModelica 01-12-21, 8:31 p.m. benny1997558
Hi, In the book, we have used serial communication for connecting Arduino Uno with OpenModelica. If you are interested in the structure of OpenModelica-Arduino Toolbox, I request you to visit https://github.com/FOSSEE/FLOSS-Arduino-Book/tree/master/tools/openmodelica. You might know that Modbus protocol follows a master-slave method in which the communication happens via request and response packets. This book shows how we can use our toolboxes to read the parameters in an energy meter. However, we can write our methods to force a microcontroller control in the Modbus protocol. Please have a look at a relevant paper as published on https://ieeexplore.ieee.org/document/8343383/
11-12-21, 10:32 p.m. SudhakarK

Various source-code fencing missoula mt
21-03-22, 7:47 p.m. geebranz

You can check out some of the free, logo-free Elsa coloring pages at https://ausmalbilderkinder.de/disney/anna-und-elsa/
25-05-22, 2:49 p.m. jimmyharley

Log-in to answer to this question.