Activity Forums Questions & Troubleshooting Software & Firmware analogWrite on Maxi Reply To: analogWrite on Maxi

  • Lukas

    August 10, 2020 at 12:33 pm

    Hello Jan,

    Arduino function analogWrite() does not set real analog value to a pin, but runs PWM signal with fixed frequency and variable duty cycle.

    So with the standard MAXI you can have only 24 V PWM signal out of the output. (Please note that CONTROLLINO_A1 is analog input pin.).

    And if you get 4,8 V, you obviously measure it at the pinheader, which is not correct – please use the screw terminals.

    With the MAXI Automation the situation is better – there are two real analog outps there – please see our example.