Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
power-supply-control [2017/01/25 18:35]
arthur
power-supply-control [2017/09/16 03:26]
77.100.94.53
Line 1: Line 1:
 Here is how to control an ATX power supply'​s ON/OFF signal from a bare pin connected to the PS_ON signal, so that your board can tell it to turn off when needed Here is how to control an ATX power supply'​s ON/OFF signal from a bare pin connected to the PS_ON signal, so that your board can tell it to turn off when needed
  
-[[code]]+<code>
 switch.psu.enable ​                           true             # turn atx on/off switch.psu.enable ​                           true             # turn atx on/off
 switch.psu.input_on_command ​                 M80              # switch.psu.input_on_command ​                 M80              #
Line 7: Line 7:
 switch.psu.output_pin ​                       0.25o! ​          # open drain, inverted switch.psu.output_pin ​                       0.25o! ​          # open drain, inverted
 switch.psu.output_type ​                      ​digital ​         # on/off only switch.psu.output_type ​                      ​digital ​         # on/off only
-switch.psu.fail_safe_set_to ​                 ​1                # so the ATX turns off on a system crash+switch.psu.failsafe_set_to ​                  1                # so the ATX turns off on a system crash
 #​switch.psu.ignore_on_halt ​                   true             # so the ATX does not turn off on a HALT condition (like limit trigger) #​switch.psu.ignore_on_halt ​                   true             # so the ATX does not turn off on a HALT condition (like limit trigger)
                                                                # However leave commented or set to false if you want the ATX to turn off for an over heat fault condition                                                                # However leave commented or set to false if you want the ATX to turn off for an over heat fault condition
  
-[[/code]]+</code>
  
 Note : this uses the PSON pin on the power supply, which should be open-drain, thus the <​kbd>​o</​kbd>​ in <​kbd>​0.25o!</​kbd>​ Note : this uses the PSON pin on the power supply, which should be open-drain, thus the <​kbd>​o</​kbd>​ in <​kbd>​0.25o!</​kbd>​
Line 17: Line 17:
 Here is how to control an ATX power supply'​s ON/OFF signal from a small mosfet connected to the PS_ON signal, or to an SSR which powers the non ATX PSU Here is how to control an ATX power supply'​s ON/OFF signal from a small mosfet connected to the PS_ON signal, or to an SSR which powers the non ATX PSU
  
-[[code]]+<code>
 switch.psu.enable ​                           true             # turn atx on/off switch.psu.enable ​                           true             # turn atx on/off
 switch.psu.input_on_command ​                 M80              # switch.psu.input_on_command ​                 M80              #
Line 25: Line 25:
 #​switch.psu.ignore_on_halt ​                   true             # so the PSU does not turn off on a HALT condition (like limit trigger) #​switch.psu.ignore_on_halt ​                   true             # so the PSU does not turn off on a HALT condition (like limit trigger)
                                                                # However leave commented or set to false if you want the PSU to turn off for an over heat fault condition                                                                # However leave commented or set to false if you want the PSU to turn off for an over heat fault condition
-[[/code]]+</code>