Control of a Hydraulic Motor using Arduino Uno

Hi,

I'm working on the design of a complete system to control the speed of a hydraulic motor via an Arduino Uno microcontroller, driving the solenoid of a Bosch proportional valve.

Speed feedback will be obtained from an optoelectronic pole wheel fitted to the output shaft of the motor.

A speed demand signal will be obtained from a user dial (a potentiometer)

Looking for help on creating a function block diagram for such a system, and also the sketches (code) for the Arduino relating to each function.

Many thanks in advance

There's a zillion examples out there which are close to what you want. Look for an example of measuring speed, maybe an example of controlling some component that has the same voltage/current as your valve.

Then come back here with the actual code between [ code ] tags and let us know if you have any questions.