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

    Controlling LEDs with duet 2 wifi

    Scheduled Pinned Locked Moved
    Accessories and Add-ons
    2
    2
    155
    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.
    • wilkinson5391undefined
      wilkinson5391
      last edited by wilkinson5391

      Hello, Im trying to wire up LEDs, and I would like to do it without the expansion board. I know that you can control LEDs with unused heater or fan outputs, but is there a way to remap some of the pins on the unused connector to become i/o signal wires to mosfet LEDs to drive them? There are 50 unused pins if you don’t have the expansion board, so my goal would be to remap a selected few to become signal wires. They don’t have to be pwm pins, just i/o. Is this possible?

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        61be624f-5b05-4d27-8c7c-dee84452f961-image.png

        Which pins would you like to use? One of the heater pins on the expansion port would be a good choice.

        What kind of signal does your LED mosfet require?

        How you configure it would depend on which firmware version you are using. In RRF3 it's as easy as defining the desired pin with a M950 command as a fan, and then using a M106 command to control that fan output.

        Z-Bot CoreXY Build | Thingiverse Profile

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