Hello,
I would like to make a bigger university project with Arduino. You can see the scheme here:
I would like to control the system using Petri Net logic. Petri Nets should be vizualized on the PC. PC is connected to Arduino and controlled system is connected to Arduino of course. Controlled system would be of discrete event or hybrid character.
Do you have any idea of existing projects or how to start?
You can see that the places of Petri net are connected to actuator. So when the token is in the place - the actuator turn on. So in our case - when the token is in the place - the specific pin on Arduino or function is executed.
How are planning to connect the Control System (PC) to the Arduino? USB, Ethernet, Wireless, RS232, etc.
What are the timing requirements? How many messages per second and size of messages?
What are the security requirements? Messages have to be delivered (may not be dropped) or continues update?
You might consider "compiling" the Petri Net to an interpreter on the Arduino and run a trace of the machine back to the PC which would do the visualization.