Hi Chris,
Thanks for your kind help firstly.

That's how the cpu board should be used, in a box with other boards. Initially, I guess the over heated problem
was caused by the power board. There is a big AC/DC module on power board.
So I pluged the CPU board out and soldered a 5V power on LM1117 pin directly as showed after.

And the over heated problem still exist. The ambient temperature is 27℃ and we have an air-conditioner in our school lab
so this should not be the cause.
I measured current of the whole CPU board and it is 0.341A.
There are four modules on the CPU board: Internet port, RS485 port, EEPROM, IO port. But none of these modules were
used in the project code. The CPU only do A/D conversation every 0.833ms with the internal ADC.
Thanks
Fukai