Upscaling a pwm signal from 0,5-4,5V to 3-9V HELP

Hello,

I'm working on a project where i have 4 proportional hydraulic valves that I want to control with arduino.
They work on a constant power cable, a 3 to 9V pwm signal and a ground cable. I have written a code that sends out an 0,5 to 4,5V pwm signal but now I somehow need to amplify this pwm signal to a 3 to 9V pwm signal (4 times). I used following module for this ( F5305S Mosfet Module PWM Input Steady 4 Channels 4 Route Pulse Trigger Switch DC Controller), but I get a constant 12V from the outpins so I gues this is not the right module for my case.
Can someone help me with this?

Thanks in advance!

There is a lot of confusion about 0-X V pwm signal.
One case is that the (analog) voltage has to be 9V for max.
Another is that voltage can be be anything between 3 and 9 and duty cycle has to be 100% for max.

I'm sorry i wasn't completely clear, the valves work as followed:
first wire= supply voltage (in my case around 12V)

second wire= signal wire (neutral position of the valve = 50% of the supply voltage;
workfield A = 25% - 50% of supply voltage (3V - 6V);
workfield B = 50% - 75% of supply voltage (6V - 9V);

third wire = GND

I now have a code where I produce 4 signals from my Arduino that in neutral give a signal from 2,5V and when i move the joysticks up or down the signal shifts from 0,5V - 2,5V (for workfield A) and 2,5V- 4,5V (for workfield B). Now I just need to scale these signals to the 3V-9V signal that the valves need, and for that I can use some help because I'm not really home in this...

From your description I expect that your valves need analog voltage.
You could use pwm to 0-10V analog converter like this:
https://aliexpress.com/item/1005005610717755.html

Which Arduino are you using?
Post some info on the valve, datasheet or brand name and exact part number or web link to the seller's page where you bought it.
F5305S is a P-channel non logic level, no good for 3.3 / 5V input.

hello,

the valves I'm using is are pvg16 PVEA (see data in attachement)



I'm using a Mega 2560

Put links to the (International, English) datasheets instead. With links I mean both the valve and the PWM module.

link to the valves datasheet (I'm using the PVEA): chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://documents.kramp.com/PVG32_Instal_Guide_EN.pdf?_gl=1*jzv8y8*_ga*MTIyNzIzODkxMi4xNzA2MTY4OTMx*_ga_HRZP1X5V2Z*MTc0MzY2MTk3Ni4xMi4xLjE3NDM2NjIwMjIuMC4wLjk4NjExNzEyMw.._fplcVGFFQ0QwOGs4Uzc3bkFSTTNJZ0J6bm80MjVBNFJZVXg3SXdudmRKRzM5akNqY2VQREV6elQlMkZrTk93JTJGeTdwJTJCYXFqdGolMkYlMkZuRGtRS05zUFpuZDVCamZpNnNYTHBDRU1QJTJCNTlFZ0dpRWEwNFJoUmdOZDlRamhab2hqT0cydHZRJTNEJTNE

Looks like P-channel mosfet module, so in theory that should work.
Your device accepts both analog voltage or >1kHz PWM.

the problem is when I connect this I have a constant 12V signal on the output pins of the module while the input (from the arduino) is variable between 0,5V and 4,5V
this is the module: F5305S Mosfet Module PWM Input Steady 4 Channels 4 Route Pulse Trigger Switch DC Controller

If you set the arduino pin low, is the module output 0V?

I will have a look this evening when I'm home.

The optocoupler on that board might be too slow for 1kHz PWM.

I meaby could try to lower the frequenty to see if that is the problem?

I only get annoyed browsing that page, zoom in is prevented, and so is opening a picture in a new window. Data regarding the FET's used is virtually non-existent.

@gillian-vermeulen If you don't have the Arduino connected or outputting signal = 0 V, are you still getting 12 V from the module?