https://www.openplcproject.com/
OpenPLC and Arduino Part1.1 : Getting started and first project
https://www.youtube.com/watch?v=g_muZ9uXcMo