Key recognition and serial communication design based on 51 single chip microcomputer (with program)