I would use a microcontroller, not a Pi. On this forum a Pi Pico would be recommended, but an Arduino would be sufficient.
Step 1: Acquire microcontroller. Both the Pico and Arduino have easy to use programming environments. Set it up and write a simple program to confirm it's all working properly.
Step 2: Focus on one part of the system you are designing. Either the temperature sensing, motor control, or user interface. Just get something, such as a simple test program, working for each.
Step 3: Now you know how each part works, put them all together. You're basically going to have a main loop that samples the temperature, does some maths (maybe a PID control) to figure out the target motor speed, sets the motor speed, updates the display, and looks at any user input.
It's useful to have your eye on the end goal, but trying to get there in one step would be quite daunting, so break it down first.
Also, this sounds like an industrial process. Make sure you have an independent E-Stop that can stop the machine if the micro crashes. It's rare, but you don't want to rely on an E-Stop on your touch screen if the touch screen is not responding.
Step 1: Acquire microcontroller. Both the Pico and Arduino have easy to use programming environments. Set it up and write a simple program to confirm it's all working properly.
Step 2: Focus on one part of the system you are designing. Either the temperature sensing, motor control, or user interface. Just get something, such as a simple test program, working for each.
Step 3: Now you know how each part works, put them all together. You're basically going to have a main loop that samples the temperature, does some maths (maybe a PID control) to figure out the target motor speed, sets the motor speed, updates the display, and looks at any user input.
It's useful to have your eye on the end goal, but trying to get there in one step would be quite daunting, so break it down first.
Also, this sounds like an industrial process. Make sure you have an independent E-Stop that can stop the machine if the micro crashes. It's rare, but you don't want to rely on an E-Stop on your touch screen if the touch screen is not responding.
Statistics: Posted by ame — Fri Aug 30, 2024 8:25 pm