Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    PWM frequency on heater pins used as I/O

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    3
    499
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • btwundefined
      btw
      last edited by

      Hi everyone,

      Is there a way to change the PWM frequency of the heater pins (0-7) when they have been disabled for use as I/O pins?

      Currently I'm following the instructions at:
      https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins

      I am freeing up the heaters for use as I/O pins by disabling them using:
      M307 H# A-1 C-1 D-1

      Then I can then control them using M42. There is an option for frequency in M307 so I'm guessing that the hardware is capable of it, I just can't find an option in the GCode.

      Thanks in advance

      1 Reply Last reply Reply Quote 0
      • btwundefined
        btw
        last edited by

        Just to clarify, I have tried using the M307 F parameter. I don't have a good way of measuring frequency but it doesn't seem to have an impact after the heater has been disabled.

        Is this something that would require a change to the firmware?

        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators
          last edited by

          The M42 command has an optional F parameter.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA