Hello everyone, I am student of Mechatronics and i have a task from a company to design a sliding mechanism system which will have a DC motor and a belt mechanism (as shown on attachet picture) that will make a frame to slide. This mechanism will be installed over the cabine of a forklift. My task is to make the frame move back when the fork is lifting and move foreward when the fork is falling. The dc motor will be conected with the controller, and i thought to put two sensors on both extreme sides of the sliding frames so that when the frame moves in two extremes this sensors give feedback to the controller, and i thought to connect the lifting/falling button of the fork of forklift also with the controller so that when we push the lift button of the fork the controller activates the dc motor to move the frame back to prevent collision of fork with the frame. The two sensors in the sides of the frame give feedback to controller once the frame slides to the end of each side, and i thought to program the controller that way that if it doesnt receive feedback from this sensors from a certain time, it means that the frame didnt reach the destination and at this moment controller should stop the lifting/falling process of the fork.
What i needed is a raspberry pi SBC because they are cheap, but i dont know if it is possible to do my task using this SBC , because i have no experience with raspberry pi, and there are different models of raspberries and i dont know which one could do my task.
Can you help me with some ideas/suggestions,