Level switching action
Level characteristics:
There are only two levels in the digital circuit: high and low defines the TTL level for the MCU: high 5V, low 0V. RS232 level: Serial port of the computer, high -12V, low 12V.
Therefore, the level conversion chip max232 is required for communication between the single chip and the computer.