I'm write this post for asking for assistance regarding this topic.
My project is about controlling the valve timing condition for a piston expander. I uses the rotary encoder to detect the crank angle and send the signal to the Arduino to control solenoid valve opening and closing. When the crank angle reaches certain position, intake valves and exhaust valve will open and close automatically.
The number of solenoid valve that needed to control is 5 and Arduino Uno will be used.
I'm a beginner of Arduino and I have some questions to ask :
1.) Is Arduino Uno suitable for the expander which operates at 2000 r.p.m.? Can it responses fast enough to the solenoid valves from the detection of crank angle from encoder?
2.) How I do write the code for this ?
Thanks......