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





All information regarding electronics, micro-controller (temperature control, motor control, computer control, electronics robot basic and etc) Telecommunication