Use PWM Output as Thermostatic / slider controlled Fan
-
Hi there,
by the use of:
M307 H2 A-1 C-1 D-1
M42 P2 S1you are able to use e. g. a Heater output as a PWM- output to control Fans / dimmable LEDs etc. But is there a chance to use these outputs as Fans by the M106 command? I'd really like to use the slider in the web- control to dimm my LEDs.
Greetings kuhni
-
In firmware 2.02RC2 there is a temporary A parameter added to the M106 command to specify which output pin to use.
-
@dc42 said in Use PWM Output as Thermostatic / slider controlled Fan:
temporary A parameter
Really tried to find something about this A- Parameter on the forum, but couldn't... Which parameter do I have to use if I want to e.g. convert the Heater 2 into a PWM-Fan? As the Fans already have P0, P1 and P2, is it just M106 A2 instead of P2?
greetings kuhni
-
You need to allocate a fan number, e.g. 3 if you don't have a DueX board. So try:
M307 P2 A-1 C-1 D-1 ; disable heater 2 to make it free
M106 P3 A2 ; use heater 2 output for fan 3then you can do e.g.:
M106 P3 S0.5 ; set fan 3 to 50%
Please note, this is a temporary solution and the mechanism will change in a future firmware version.
-
Thanks a lot! This works fine!