??? 09/13/04 07:20 Read: times |
#77304 - wild pig 3 |
Hi all,
POWER-DOWN I want to thank all those, they helped me to solve my problem. But first I thank Oleg Sergeev, he says simple and clear: Yes, it is possible and how it is to make (POWER-DOWN for 89S52). And I thank Mr. Cr. Steiner who gives the fundation, the forum. Now my unit is ready to work: I can read the last 8 times and dates with LCD (16x2). Then I must bring the unit in position and after 2 minutes (or more) the unit is waiting, one hour, days or month. If the postion is changed (fall down), the unit wakes up and the time is stored. My unit falls down and then stores. But is also possible for input US, opto-sensors, HF, pressure and more others. Now the unit sleeps again a hour, a week or more. In wake-time the unit needs ca. 20mA, in sleep-time 50uA. Before the unit sleeps current to LCD and 20K poti is cut off. The 2 switches works directly to INT0, INT1 (with time-loop) without IC4538, without resistor. To use the unit for other purpose it is possible to include more possibilidats: more outputs (transistors, bistabil-relais, LEDs, fotos and more). The unit also is preparated for store the dates in EEPROM (93C66) For programming and test the program sends all relevant bytes to PC (unit-number, time, date, registers and more). I work with AEC-ISP and I used MED-editor. A simulator I don’t missed. I would send you a plan, but I don't know how. With many thanks and regards Manfred POMUTZ |