??? 02/14/07 14:13 Read: times |
#132901 - Circuit proposed Responding to: ???'s previous message |
![]() This simple circuit (not fully tested) may help to work with AT89S8253, and properly reset it on power on. R3/D2/Q3 fire Q2 when Vcc reach more or less 4.5V. R6 then latches the output and ensures rise time<1mS (C3 limited). R3/R4+RT1 keep Q3 on until uC Vcc drop bellow 2.4V aprox. RT1 (not calculed) is a NTC resistor in order to correct negative Q3 Vbe drift with temperature. It is optional, specially if the ambient temperature is more or less constant. I use the PWR_OK\ line to check the input before any EEPROM writing. C1 gives time enough to complete the EEPROM write cycle (4mS) if 12V input starts to drop. Notice that RST pin is not used: I let the uC to use its own internal Reset. Regards, Daniel |