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

Remote Control Power Switch using Raspberry Pi

Scheduled Pinned Locked Moved
Duet Hardware and wiring
4
4
1.6k
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.
  • undefined
    mattbenimble
    last edited by 22 Jan 2017, 02:45

    Hi,

    I dont know if this is the right place to pose this question – I would like to figure out the best way to remotely Turn On/Off the Duet Wifi.

    I have a Raspberry Pi 3 that will be part of the overall system that I would like to use to Toggle my printer to turn on/off. I can either run it off a separate 110V transformer or use the 12V Powersupply (350w Meanwell) using a Buck transformer to 5v.

    My thought was to wire the Raspberry Pi to the 12V power supply (via the Buck Transformer) and then use the GPIO rail on the Pi to trigger the Duet from Standby to Fully energized.

    Is this the doable, Or the right way? Should I run the 12V supply to the Duet through a SSR (like the Heatbed) via the Pi?

    Anyone have any good ideas?

    1 Reply Last reply Reply Quote 0
    • undefined
      Jackal
      last edited by 22 Jan 2017, 04:13

      I have only implemented remote switch off on my delta with raspberry pi and Omron remote reset switch (https://www.omron.com/ecb/products/pdf/en-a8gs.pdf)
      Probably not what you want, but I doubt I will ever need to remote switch on my printer.

      1 Reply Last reply Reply Quote 0
      • undefined
        T3P3Tony administrators
        last edited by 22 Jan 2017, 07:36

        The Duet has a pin designed for bringing an ATX power supply out of standby, PS_ON (it's o. The ext 5v header, see https://duet3d.com/wiki/Duet_WiFi_wiring_diagrams))
        Also https://duet3d.com/wiki/Power_wiring#Controlling_the_external_power_supply

        On how to use the GCode to control it. This means you need 5V to the Duet, and if you are not using an ATX supply then some relay or similar to control power supply.

        www.duet3d.com

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 22 Jan 2017, 09:07

          RepRapFirmware doesn't currently provide a standby mode. You can turn off the motors, heaters and fans to mimise the direct load from the VIN supply, but there isn't yet the facility to put the microcontroller itself into a low-power state. However, your RPi may draw more power than the Duet's processor, unless you can put it into a low power standby mode.

          You could switch the power to the Duet, either using a SSR to switch the VIN input (if you still want to supply power to your 5V converter), or by switching the AC input to the PSU.

          Another way would be to control the enable pin to the 5v regulator on the Duet. You can get at this pin via the 5V_EN jumper block. But you would need to take steps to put the TMC2660 drivers into standby first because the are powered from VIN.

          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
          2 out of 4
          • First post
            2/4
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA