Hello, this project has been carried out without sensors in the machine, only with one at the entrance, the other calculations are done from the PC, I leave you part no and part two.
I hope to see it online soon.
Greetings…
Part one:
Part two: