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

    Can I connect a keypad to Duet 2 using the sx1509 module?

    Scheduled Pinned Locked Moved
    General Discussion
    3
    3
    293
    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.
    • leehakminundefined
      leehakmin
      last edited by

      images.png

      I need more hotkeys on Duet2 board.
      I found out that I can use the sx1509 module.
      What should I do?

      1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User
        last edited by

        https://www.sparkfun.com/products/13601 ?

        Looks to be an i2c expansion ref https://duet3d.dozuki.com/Wiki/Gcode#Section_M260_i2c_Send_and_or_request_Data

        No idea if you can handle the received data in g-code or custom firmware development will be needed. I'd opt for an arduino like board with uart or wifi between the duet and the keypad in the latter case to avoid being dependent on maintaining the reprap firmware.

        1 Reply Last reply Reply Quote 0
        • Danalundefined
          Danal
          last edited by Danal

          What's your goal? A "control pad" with buttons like home, jog, etc?

          Probably the best way to do that is, as mentioned above, a button pad to an arduino (or ESP8266 or ESP32; they've actually become cheaper than arduino boards, and the ESP32 has the advantage of having two UARTs) and connecting to the same port where a PanelDUE connects.

          Then a very simple sketch that say "Button x pressed, send G28", button "jog up pressed, send G91 G1 Y100 G90", etc, etc.

          If you DON'T have a PanelDue that's really it... if you DO, then two uarts and "pass through" would be the best approach. Just a tiny bit more code in the sketch.

          Delta / Kossel printer fanatic

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