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

    i2c communication with either the duet3, or (hopefully)...

    Scheduled Pinned Locked Moved
    Firmware wishlist
    4
    13
    958
    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.
    • A Former User?
      A Former User
      last edited by

      If its just the pull ups, you can probably add some in parallell, but I suspect the 10k series resistance will either need to be replaced or severely limit the speed at which you can run i2c.

      Thats all doable, but the text didn't instill much confidence in firmware support being present.

      1 Reply Last reply Reply Quote 0
      • Nuramoriundefined
        Nuramori
        last edited by

        My fallback will be wiring back to the Pi4 that pairs with the duet3, but for elegance, I'm hoping I won't have to. Going to the toolboard would be the most ideal.

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

          Would be nice to see i2c on the toolboad, when conditional g-code at some point will be able to react to bytes read from i2c things will get real interesting real fast i reckon.

          Only available pins for i2c are the unused PA16/17 in addition to PA12/12 used for IO_0_OUT and OUT_1_TACH0 the others are in (partial) use for other things.

          So if you need both IO_0 and OUT_1 then the (current) toolboard is not looking promising, and would need to be subject to same modification as the main board (a fine tip should get you access to solder some leads to the unused port, plenty of clearance next to the chip)

          1 Reply Last reply Reply Quote 0
          • Nuramoriundefined
            Nuramori
            last edited by

            Currently I'm using IO1 for the optical endstop. While I wait for the new piezo controller board, I'm using IO0 with a BLTouch, but it was intended to replaced with the piezo controller. I'm working with Pyr0ball (the developer) on how to get i2c working to change settings on the controller, and also output the z-probe signal on the same connector, instead of needing two (one for i2c communication, and another for actual z-probe communication with the duet3).

            1 Reply Last reply Reply Quote 0
            • pyr0ballundefined
              pyr0ball
              last edited by

              hi there! I can provide technical details on the sensor if required.

              After speaking with @Nuramori about it, he'll need 2 pins for I2C (SDA/SCL) and one for the z-probe output itself.

              He and I discussed the possibility of reassigning one of the I2C pins as the probe output upon interrupt function, but that'll be pretty tricky to implement without code-firmware changes on the tool-head board

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

                I'd wait for input from dc42 before making changes as I don't think i2c on the toolboard is likely to be usefull wihtout adding a new header to the unused pins PA16/17. The other i2c bus available is split across two different headers rendering the board less usefull for a hotend imo. There is also the open question of i2c support for Duet3 at all at this time.

                1 Reply Last reply Reply Quote 0
                • pyr0ballundefined
                  pyr0ball
                  last edited by

                  Just putting this here for when things move along. We've finished building the I2C integration, and I've posted an initial integration page: https://docs.pyroballpcbs.com/tutorials/config/pyr0piezo-i2c/pyr0piezo-i2c/

                  There's a UART/I2C bridge sketch available on the github: https://github.com/pyr0ball/pyr0piezo/tree/master/firmware/AVR-Source/Pyr0_Piezo_i2c_Bridge

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

                    maybe a little late, but this might be of interest https://forum.duet3d.com/topic/16448/can-fd-generic-io/9?_=1592331777097

                    1 Reply Last reply Reply Quote 0
                    • T3P3Tonyundefined
                      T3P3Tony administrators
                      last edited by

                      I have moved this to the firmware wishlist following discussion here:

                      https://github.com/Duet3D/RepRapFirmware/issues/281

                      However as mentioned on Github I think we need to have a discussion about the need for a custom interface specific sensors.

                      pyr0ball created this issue in Duet3D/RepRapFirmware

                      closed [FR] Adding support for the Pyr0-Piezo Z-Probe (adding uart/i2c comms) #281

                      www.duet3d.com

                      1 Reply Last reply Reply Quote 0
                      • T3P3Tonyundefined
                        T3P3Tony administrators
                        last edited by

                        conversation continues here:
                        https://forum.duet3d.com/topic/19298/adding-support-for-pyr0-piezo-self-calibrating-z-probe/2

                        www.duet3d.com

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