1. Port P1.0-P1.4 connect to Relay drive ULN2003
2. P1.5-P1.7 check input signal 12VDC
3. Int0 connect to temperature sensor DS1820
4. Rx Tx connect RS232 circuit
Mention to Keil C programming code work properly detail as below




Engineering insights, practical tutorials, and research on Electronics, Microcontrollers, Telecommunications, AI, NLP, and Thai Text-to-Speech (TTS) systems.