Power Supply Cover by yellowcarboy 3d model
Warning. This content is not moderated and could be offensive.
m4
3dmdb logo
Thingiverse
Power Supply Cover by yellowcarboy

Power Supply Cover by yellowcarboy

by Thingiverse
Last crawled date: 3 years, 1 month ago
Summary
Yet another power supply cover but with a place holder for solid state relay and XT60 connectors.
The original folger 2020 3D printer design has the supplied the power supply (S-260-12) hard wired to the power plug and whenever plugged in the extruder fan would be on. Also the power supply fan was running for no good reason. There is nothing wrong with this solution, I just like to make things more complicated. My goal was to only have the power supply only on during the print and cool down and controlled by the orange Pi (same as the raspberry Pi). The ramps / arduino is powered by the USB connector which allows you to remotely turn on and off the power supply via a 5V dc output. The output activates the solid state relay allowing 120VAC (could be 220VAC) to reach the power supply.
Parts

IEC Power connector. Most common and cost effective ebay and amazon. Link


Solid State relay (25A). Yes 25A is over kill but these are the cheapest solid state relays. Also works with only 3 VDC input if required. Link


XT60 connectors. These connectors should handle 60 Amps but my max load is about 15 A.

Power supply (S-260-12) Size (51 X 114 X 240) Provided from folger 2020 printer kit.
Wiring
If you are not comfortable handling the wiring of 120- 220 VAC then please do not do this project.
Ramps
On my ramps board, the header to control the relay is near the main power connectors. See picture. I connected the ps-on to the negative terminal of the relay and the Vcc connector to the positive terminal on the relay. The ps-on is grounded when on, as it was intended for an ATX power supply I believe.
Power Connector
Follow the picture for the suggested power connect connection on the back. Lastly, instead of connecting the brown wire to the power supply, connect it to the AC side of the replay and add a pigtail from the relay to the power supply.
Slicer Modifications
I had to modify the slicer start and end gcodes to turn the power on and off. I also added a cool down temperature to delay the turn of the power supply to allow the fans to cool the motors and extruder. Note I had to add the M19, M104, M109 codes as the slicer progam would put them before the power on (M80) code.
Start gcodeM80 ; turn on power supply
M190 S[first_layer_bed_temperature]
M104 S[first_layer_temperature]
G28 ; home all axes
G1 Z5 F5000 ; lift nozzle
M109; wait for temperature to reach
End gcodeM106 255 ; turn fan back on
M104 S0 ; turn off temperature
G28 X0 ; home X axis
M84 ; disable motors
M140 S20
M109 S100; wait for temperature to reach 100C
M140 S0; turn off temperature
M107 ; fans off
M81 ; turn off power supply
Firmware
The firmware must support the swtiching of the power switch. I am using Marlin firmware and had to add the below to the configuration.h and download to the arduino.#define POWER_SUPPLY 1
Print took Approx. 2h

Tags