Activity Forums Questions & Troubleshooting Frequency of MINI PWM outputs

  • Frequency of MINI PWM outputs

  • oscar1975

    May 27, 2022 at 2:24 pm

    Hello everyone.

    I would like to check for the first time a Controllino, and I guess what is the maximum output frequency for a PWM output. I would like to control a position of a step motor.

    I should do a “home”, and Control the quantity of pulses for reach always the same position.

    I think to modify the duty cycle for upload and download speed.

    What could be the best way to do it?

    Are there a special library for do it?

    Any advice?

    Thanks in advance

  • shanikidd

    July 20, 2022 at 9:48 am

    Hoping someone would have some insight on this!

  • MikeD

    August 5, 2022 at 4:02 pm

    Hi Oscar1975

    I think I know what you are trying to ask.

    You can access the digital pins on the maxi and mega through the 26 pin headers just like you would an Arduino except that the Controllino’s pins have ESD protection.

    I think you are asking what is the maximum frequency that the pins can do a digitalWrite function so that you can either drive a stepper directly or send a pulse to a stepper driver?

    An arduino UNO GPIO pin can do a digitalWrite of about 147khz I have found at 5v. If you need to go faster you will have to use fastdigitalWrite or Port manipulation.

Viewing 1 - 3 of 3 replies

Log in to reply.

Original Post
0 of 0 posts June 2018