Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    controlling arduino to operate a servo motor

    Duet Hardware and wiring
    3
    4
    78
    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.
    • tekstyle
      tekstyle last edited by

      This might be a very long shot but I was wondering if I can control an arduino using a duet2wifi. What I want to do is have Duet report the Y coordinates and which tool is selected as the output and feed that information t the arduino to run an IF command.

      alankilian OwenD 2 Replies Last reply Reply Quote 0
      • alankilian
        alankilian @tekstyle last edited by

        @tekstyle M114 reports the current position of all axes and "T" reports the currently selected tool so the Arduino can "poll" for these values.

        How do you intend to connect the Arduino to the Duet?

        t
        Tool 0 is selected
        M114
        X:0.000 Y:0.000 Z:394.697 E:11.015 E0:15095.3 Count 64841 64841 64841 Machine 0.000 0.000 395.397 Bed comp -0.046
        

        SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

        1 Reply Last reply Reply Quote 0
        • tekstyle
          tekstyle last edited by

          @alankilian

          not sure. but I read that it can be connected through the paneldue port.

          1 Reply Last reply Reply Quote 0
          • OwenD
            OwenD @tekstyle last edited by

            @tekstyle
            What is it the you need the arduino to do that RRF can't?
            You can use conditional g code to do your IF statements and can control a servo.

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