Thank you!.
I'll update the wiki so it is easier to find.
Thank you!.
I'll update the wiki so it is easier to find.
Now, it is not recommended powering the raspberry 4 via the duet, and instead use the raspberry official power adapter, via the USB-C plug.
When the duet 3 was being designed There was only the raspberry 3, so most probably if you use a raspberry 3 you will be fine if you power it via the duet.
That being said, it is not recommended because it is not worth the hassle for the duet community to support all the gremlins that came with this setup (and potential dangers, as you are bypassing some raspi's protections), but that doesn't mean it can't be done, or that it won't work.
I haven't tried this yet, as I'm still commissioning the printer in which I intend to use a duet3, but what people with this setup is doing is:
Disable the internal 5v regulator (remove the Int_5V_EN jumper)
Use a 5v industrial power supply (with an output adjustment potentiometer), with enough power, and thick enough wires, and connect it to the EXT 5V header
Power the raspberry via the ribbon cable (leave the 5V -> SBC jumper ON, and the SBC -> 5v open)
Adjust your power supply output voltage so its exactly 5.5v with your raspberry idling.
Measure what voltage is receiving your pi. It should be in the neighborhood of 5.25v, and definitely more than 5.0v.
If you cannot reach this voltage, DO NOT increase your power supply past 5.5v or you could damage your duet.
This usually means you have too much draw in your raspberry (too many peripherals) or too thin wires.
In that case, you could try a powered USB hub, if the peripherals are the problem, or using the official raspberry pi USB-C power adapter.
If you want a more integrated solution, and you 5v power supply have adequate ratings for powering the duet and the raspy, you could run a second set of wires for the raspberry, and power the raspberry via one of the free gpio pins (you will have to mess with the flat ribbon connector, as it covers all the gpio pins) or via the POE header (the 4 pin header next to the Ethernet jack) you will only use 2 of the 4 pins, search for the pinouts.
Lastly, most of the information is taken from this thread: https://forum.duet3d.com/post/179406
I did it!
You just have to send a M911 with an absurd voltage way over your current vin, and the auto-pause will trigger right away.
So instead of having the M911 in confg.g, you put the full command in your trigger file and you are all set.
Just remember y your duet doesn't power cycle, you will need to send an m911 with more beliable values, but if your duet really did lose power, when you power up the duet again it will have the power-pause disabled.