Pedometer design based on single chip microcomputer