Unable to use PWM to voltage converter in Fan ports Duet3 6HC
-
Hi all
I want to use duet fan ports for pwm control, so that i can take Output voltage from converter module to control a Proportional Regulator which regulates pressure using 0-5V where 0 means 0 bar, 5 means 5 bar pressure.
Link of the Converter im using,
https://www.icstation.com/voltage-converter-module-adjustable-converter-power-module-digital-analog-signal-p-12498.htmlAnd my wiring, im not sure it is correct or not!
In config.g i have tried the following options individually, but nothing worked. can you please help .
M950 P0 C"out7" Q1000 ; create fan 0 on pin out7 and set its frequency
M42 P0 S0
(Individually tried)
M950 F0 C"out7" Q1000 ; create fan 0 on pin out7 and set its frequency
M106 P0 S1 H-1 ; set fan 0 value. Thermostatic control is turned off -
@adhanabal Did you blow it up by using 24V? Do you have a datasheet?
-
@o_lampe hi no it dint blowup anything
Description:
- The PWM transfer voltage module LC-LM358-PWM2V converts the PWM digital signals into 0 to 10V analog signals.
- It can be used as signal interface switching for PLC or other industrial control boards. The output voltage is regulated by adjusting the duty ratio of the PWM.
The modules are small in size and easy to use in different places.
Features:
1>. MCU embedded technology
2>. Easy to operate, fine tuned by potentiometer
3>. Select the PWM signal input level range through short-circuit
4>. The module is smaller, easy to carry and useParameter:
1>. Work Voltage:DC 12V-30V; (> 100MA)
2>. PWM Receiver Frequency:1KHZ-3KHZ
3>. PWM signal input level range:
The peak of 4.5V to 10V level. The short cap install in ‘5V’. This level is used for normal controller or 5V MCU
The peak of 12V to 24V level, so inserted in 24V. The short cap install in ‘24V’. This level is used for normal PLC controller
4>. Conversion range:0%-100% PWM to 0-10V
5>. Allowable error:5%Hardware Interface:
VCC DC 12V-30V
GND Ground
PWM Positive of PWM input signal
GND Negative of input signal
VOUT Output Voltage 0-10V
GND Output Voltage Ground -
@adhanabal I suggest you take a look at https://docs.duet3d.com/en/User_manual/Machine_configuration/Configuration_CNC#connecting-a-spindle which covers suitable PWM to voltage converters.
-
@dc42 I'll check and update
-
@dc42 Hi i checked the page , it suggested me to use the following board instead of the one im using