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

    External power relay board, 5v & signal??

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    20
    2.1k
    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.
    • dc42undefined
      dc42 administrators
      last edited by dc42

      Disconnect the Panel Due from the Duet, then connect it to your PC via USB. If your PC runs Windows then is should show up under Ports as Bossa Port. If not, try another USB port on your PC. After that, you should be able to program it using Bossa.

      Alternatively, upgrade your Duet to 1.20 or 1.21 firmware.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      andymidtfundefined 1 Reply Last reply Reply Quote 0
      • andymidtfundefined
        andymidtf @dc42
        last edited by

        @dc42 Panel Due was actually about to be installed, I was trying to upgrade FW before installing... I use Mac... I previously had an earlier version de bossac in a folder that I had successfully used to update my Duet 0.6 and 0.85... I tried to use it 1st and it did not respond - then I saw the instructions about bossac1.8, downloaded for Mac, was only able to install the Bossa.app, am unable to copy bossac and bossash to /usr/bin, MacOS Sierra does not let me... then tried using the Bossa.app to update, and still got similar error...

        Duet is 1.21 now... what do you mean by this? That the 1.21 FW will detect the Panel and auto-magically resolve the issue? That would be fantastic! I am at work now, will be going to the printer in a few hours, and will try this as soon as I get there!
        Or I have to do something else as well?

        Sorry for so many questions, my head is a cloud at the moment, my best friend died monday, and it seems everything I've touched since I found out I have broken 😞

        Thanks
        Andy
        🙂

        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators
          last edited by

          I'm sorry to hear about your friend.

          I misread your email, I thought you were trying to downgrade PanelDue firmware to communicate with a Duet 0.8.5 running older firmware.

          What happens if you load Bossa on your Mac and press the auto-scan button - does it find the connected PanelDue?

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          andymidtfundefined 1 Reply Last reply Reply Quote 0
          • Dougal1957undefined
            Dougal1957
            last edited by

            I had the same Problems trying ti install Bossa on my Mac and had to find a Windows Machine to do it so if Someone knows how to get a Mac to allow you to drag the necessary files to /usr/bin I would like to know as well.

            1 Reply Last reply Reply Quote 0
            • andymidtfundefined
              andymidtf @dc42
              last edited by

              @dc42 Hi David,

              Yeah, I'm not too clear with explanations, my family also complains of that 🤦
              This is a new DuetEthernet... and new PanelDue... the app finds the board OK, but still gives error - there is no auto-scan, there is a refresh button, then the serial port appears:0_1523452188100_Screen Shot 2018-04-11 at 14.06.04.png
              can see the board connected at the bottom of the window
              but still gives an error when I press "write"
              0_1523452213994_Screen Shot 2018-04-11 at 14.06.13.png

              andymidtfundefined 1 Reply Last reply Reply Quote 0
              • andymidtfundefined
                andymidtf @andymidtf
                last edited by

                @dc42 just realised I had to mark the 3 boxes, "erase all", "lock", and "boot to flash", but either still gives same error, or just closes the app without warning.

                @Dougal1957 found out what was up with the /usr/bin, looks like it is System Integrity Protection, can be disabled (you should reenable!) going to RecoveryHD (CMD-R at startup), and then opening terminal and writing "csrutil disable" ("enable"), you can then copy what you want to the protected system folders.

                @dc42 said that, from terminal "bossac -e -w -v -b /Users/andy/Downloads/PanelDue-v3-5.0.bin" still gives "SAM-BA operation failed" 😞 adding the -p /dev/cu.usbmodem1411 flag just gives a "0 bytes to flash"...

                1 Reply Last reply Reply Quote 0
                • dc42undefined
                  dc42 administrators
                  last edited by

                  Have you tried pressing Erase and Reset on the PanelDue again, with USB power connected, to make sure that the chip is fully erased?

                  Have you checked the file size of the .bin file that you are trying to flash?

                  Duet WiFi hardware designer and firmware engineer
                  Please do not ask me for Duet support via PM or email, use the forum
                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                  andymidtfundefined 1 Reply Last reply Reply Quote 0
                  • andymidtfundefined
                    andymidtf @dc42
                    last edited by andymidtf

                    @dc42 Hi David, about relay board... connected +5v from expansion connector, and PS_ON from, well, PS_ON (!), to the 5v_in on the relay, +ve and -ve...

                    works great for turning on via power button, and turning off via software - I don't really see any way of this working to power on AND off via the power button..? Not a great issue now, as can power off from screen (now that it works!) and from webpage 😉

                    thanks!
                    Andy
                    🙂

                    1 Reply Last reply Reply Quote 0
                    • andymidtfundefined
                      andymidtf @dc42
                      last edited by

                      @dc42 yes, I have tried several times pressing Erase (at least 1 second) and Reset on the PanelDue again, with USB connected...

                      OPPS!! F***! how did that happen!?! file size is 0!! 🤦 🤦
                      Success! with PanelDue-v3-5.0 FW loaded!

                      I will just add that, as I can't stop from messing, I then tried PanelDue-v3-5.0-nologo, and THE ISSUE CAME BACK! Even when tried again with PanelDue-v3-5.0!! However, after closing the app, disconnecting the PanelDue, and reconnecting again, I have again managed to load the PanelDue-v3-5.0-nologo FW (sorry David, the logo took ages to disappear! Maybe with a shorter display time I'd have left it! 😀 )

                      And a quick PD about the new forum UI, about the Emoji menu, heres a screen shot of how it comes up for me - is a bit difficult to close, have to use top right corner of the close button as when I hover the mouse over there, the last Emoji tab highlights and blocks the lower half off... not sure if this is Chrome for MacOS issue, or everyone will see it like this? Again, is not an issue, but I imagine the forum UI devs would like to know about it! 😉
                      0_1523461481512_Screen Shot 2018-04-11 at 16.42.53.png 0_1523461488002_Screen Shot 2018-04-11 at 16.43.02.png

                      Thanks a million David!
                      Andy
                      🙂

                      1 Reply Last reply Reply Quote 0
                      • dc42undefined
                        dc42 administrators
                        last edited by

                        I'm glad you got it programmed. Re the emojis, I suggest you mention that in the "New forum" thread because Tony might not see it here.

                        Duet WiFi hardware designer and firmware engineer
                        Please do not ask me for Duet support via PM or email, use the forum
                        http://www.escher3d.com, https://miscsolutions.wordpress.com

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