since I got my RC-Servo finally working (Thanks to @achrn)
I would like to share a little project that i have been working on.
I have been using pressured air from electric pumps instead of fans for hotend and part cooling à la Berd Air. I found that the motor Pumps are quite noisy, get very hot and do not last very long. Therefore, I switched to this pump It is less noisy and has more than enough airflow.
I would like to add a ball valve that is opened and closed by an RC-Servo in order to control the airflow for the part cooling.
This is my fan configuration:
M950 F1 C"io4.out" ; create fan 1 on pin out8 and set its frequency
M106 P1 S0 H-1 ; set fan 1 value. Thermostatic control is turned off
With this I can already somewhat control the fan over the web interface.
The problem is that the M106 fan speed value (0 to 255 or 0.0 to 1.0) does not correspond to the needed servo values of 0 to 90 for an angle between 0° and 90°.
For example the servo only responds when the fan control slider in the web interface is set between roughly 5% and 65%.
Does someone have an idea how to work around this ?