Here it is the simplified way to turn on an ATX PSU, If you jumper the pin13 and pin 14 the PSU will turn on.
For this purpose I use an MCU from Microchip the famous PIC16F84A (PIC16F84A-04/P).
The schematic
JP2 = Pin9 from PSU
JP3 = Pin7 form PSU
JP4 = Pin14 from PSU
The Source Code
'****************************************************************
'* Name : atxpsu.BAS *
'* Author : vilias Iliadis Ilias *
'* Notice : Copyright © 2004 vilias *
'* : All Rights Reserved *
'* Date : 16/12/2004 *
'* Version : 1.0 *
'* Notes : for any uptade please e-mail me [email protected] *
'* : *
'****************************************************************
temp var byte
b2 var byte
b2=0
trisa = 0
trisb = 1
porta.0 = 1
porta.1 = 0
porta.2 = 0
main:
BUTTON PORTB.1,1,0,0,B2,1,pressed
goto main
pressed:
temp = porta.0
porta.0 = porta.1
porta.1 = temp
porta.2 = porta.1
goto main
The question
Now I
View attachment 36367
For this purpose I use an MCU from Microchip the famous PIC16F84A (PIC16F84A-04/P).
The schematic
JP2 = Pin9 from PSU
JP3 = Pin7 form PSU
JP4 = Pin14 from PSU
The Source Code
'****************************************************************
'* Name : atxpsu.BAS *
'* Author : vilias Iliadis Ilias *
'* Notice : Copyright © 2004 vilias *
'* : All Rights Reserved *
'* Date : 16/12/2004 *
'* Version : 1.0 *
'* Notes : for any uptade please e-mail me [email protected] *
'* : *
'****************************************************************
temp var byte
b2 var byte
b2=0
trisa = 0
trisb = 1
porta.0 = 1
porta.1 = 0
porta.2 = 0
main:
BUTTON PORTB.1,1,0,0,B2,1,pressed
goto main
pressed:
temp = porta.0
porta.0 = porta.1
porta.1 = temp
porta.2 = porta.1
goto main
The question
Now I
View attachment 36367