A coded exposure camera based on the technology of hardware camera is proposed to get the unambiguous image of fast moving objects. A binary code sequence is pre-set in the sequential circuits of CCD to control the pattern of exposure and the imaging sensor in CCD is driven by FPGA. The deconvolution algorithm is applied in a microprocessor of ARM to deblur the image in the next step. The high frequency information could be preserved by using the code sequence to control the exposure pattern. Therefore, a high quality image could be obtained thanks to the fact that the deconvolution algorithm of deblurring could be converted from an ill-posed problem to a well-posed one. The experiments show that the images taken by the coded exposure camera are clearer and better than the images taken by traditional camera.