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

    6XD I/O >> Issue solved

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    121
    5.3k
    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.
    • tecnoundefined
      tecno @tecno
      last edited by

      @dc42 @droftarts

      Possible to concentrate on VACUUM sensors?

      1 Reply Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators @tecno
        last edited by

        @tecno said in 6XD I/O >> Issue solved:

        Does this anything with V_OUTLC1 and V_OUTLC2 to do?

        YES IT DOES !!

        Care to explain? I didn't even think you were using the V_OUTLC pins on the fan headers.

        So they are all working now?

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        tecnoundefined 1 Reply Last reply Reply Quote 0
        • tecnoundefined
          tecno @droftarts
          last edited by

          @droftarts

          As 6-8 works with V_OUTLC2 I tried to same setting for 3-5 and now it works.
          9ca9f618-db6c-4255-a4bc-935f06881bce-image.png

          Cheers
          Bengt

          droftartsundefined 1 Reply Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators @tecno
            last edited by droftarts

            @tecno said in 6XD I/O >> Issue solved:

            As 6-8 works with V_OUTLC2 I tried to same setting for 3-5 and now it works.

            I did wonder about that myself, but didn't think the voltage on V_OUTLC1 or 2 would matter. However, looking at the schematic of the 6XD, it does:
            563b65d1-25e4-4153-a6b6-6570b768ddb9-image.png

            As the LEDs connected to OUT3_NEG are powered from 24V, but VOUTLC1 was jumpered to 12V, then the LEDs will get around 12V even when the port is turned off, which is why they stayed lit. I'll have to remember that. Presumably you jumpered both of them to V-FUSED, which is 24V?

            Anyway, another problem resolved without recourse to a warranty replacement (which would have exhibited the same problem)!

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            tecnoundefined 1 Reply Last reply Reply Quote 0
            • tecnoundefined
              tecno @droftarts
              last edited by

              @droftarts said in 6XD I/O >> Issue solved:

              Anyway, another problem resolved without recourse to a warranty replacement (which would have exhibited the same problem)!

              I am happy as well.

              /Bengt

              1 Reply Last reply Reply Quote 0
              • tecnoundefined
                tecno @tecno
                last edited by

                @tecno said in 6XD I/O >> Issue solved:

                @droftarts

                Here pics of vacuum sensors = no labels

                PXL_20240930_124533812.jpg PXL_20240930_124257385.jpg

                This is what I have found

                MPS20N0040D-D Sphygmomanometer Dip Air Pressure Sensor Module 0-40kPa DIP-6

                [https://vi.aliexpress.com/item/1005004022663794.html?src=google&src=google&albch=shopping&acnt=298-731-3000&isdl=y&slnk=&plac=&mtctp=&albbt=Google_7_shopping&aff_platform=google&aff_short_key=UneMJZVf&gclsrc=aw.ds&albagn=888888&ds_e_adid=&ds_e_matchtype=&ds_e_device=c&ds_e_network=x&ds_e_product_group_id=&ds_e_product_id=en1005004022663794&ds_e_product_merchant_id=109387757&ds_e_product_country=SE&ds_e_product_language=en&ds_e_product_channel=online&ds_e_product_store_id=&ds_url_v=2&albcp=21634419038&albag=&isSmbAutoCall=false&needSmbHouyi=false&gad_source=1&gclid=Cj0KCQjw3vO3BhCqARIsAEWblcBENDN27oxA7msLr5_lLmacaCHv5tt1BCNc5EVKpbXMww9pwTqv4d0aAvlFEALw_wcB&gatewayAdapt=glo2vnm](link url)

                droftartsundefined 1 Reply Last reply Reply Quote 0
                • droftartsundefined
                  droftarts administrators @tecno
                  last edited by

                  @tecno That board is effectively a 'black box'. You could try powering it up, and see what data comes out of RX/TX, but I think it's going to be difficult to integrate, and easiest to just replace.

                  Google-ing that pressure sensor shows it on a breakout board that can connect to an Arduino: https://makersportal.com/shop/mps20n0040d-ported-pressure-sensor
                  The output is an analogue 0-5V, so would need to be converted to 0-3.3V to be read by a Duet input. Fortunately this is quite easy to do with a voltage divider circuit, eg https://randomnerdtutorials.com/how-to-level-shift-5v-to-3-3v/. Then define it as a "linear-analog" sensor in M308.

                  Google-ing "ported pressure sensor" shows that Adafruit do one that uses I2C: https://www.adafruit.com/product/3965
                  I haven't looks closely, but this might be simple to integrate using M260. Don't use long cables with I2C, it's quite susceptible to noise.

                  Sparkfun also do one: https://www.sparkfun.com/products/16476. Other ported pressure sensors may be available.

                  Ian

                  Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                  tecnoundefined 1 Reply Last reply Reply Quote 1
                  • tecnoundefined
                    tecno @droftarts
                    last edited by

                    @droftarts
                    The board was working OK with original controller.
                    The RX/TX signals are 5V on this board, I have bi-dir levelconverter.

                    Is this the correct way to setup a second com port?

                    ;***Serial Setup

                    M575 P1 B57600 S1

                    M575 P2 B9600 C"io_8" S7

                    Cheers
                    Bengt

                    droftartsundefined 1 Reply Last reply Reply Quote 0
                    • droftartsundefined
                      droftarts administrators @tecno
                      last edited by droftarts

                      @tecno said in 6XD I/O >> Issue solved:

                      The board was working OK with original controller.

                      I guess they got to write the firmware to support it.

                      Is this the correct way to setup a second com port?

                      As far as I'm aware only IO0 and IO1 can be set up as UART. See https://docs.duet3d.com/Duet3D_hardware/Duet_3_family/Duet_3_Mainboard_6XD_Hardware_Overview#specific-capabilities

                      However, I highly doubt that it will output anything the Duet can understand. The PanelDue sends Gcode commands, either to control the Duet or request data. Same for devices connected over USB.

                      I'd try hooking it up to a serial to USB converter, and plugging it into a serial terminal on your PC, to work out what it's sending and if you can control it, then work out if you can use it with Duet. M260.2 and M261.2 might help.

                      Are you developing this as a commercial machine? Because I feel you should be paying for this level of support.

                      Ian

                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                      tecnoundefined 1 Reply Last reply Reply Quote 1
                      • tecnoundefined
                        tecno @droftarts
                        last edited by

                        @droftarts

                        Thanks for the information Ian, will try to hook it up and see what it does.

                        Commercial = NO I'm 74years old fart playing around with some toys.

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