My graduation project is base on the existed hardware device-the signal transmitter (wireless remote controller) and signal receiver. On the wireless remote controller, I use the ATmega88 microcontroller to encode the wireless digital signal through three encode methods-Manchester code, CMI code, Differential Manchester code. On the signal receiver, I use the ATmega88 microcontroller to decode wireless digital signal through the above three encode methods.Firstly, I explain and compare the three encode methods-Manchester code, CMI code, Differential Manchester code respectively. Not only I describe the concept of the three encode methods, but also illustrate the three encode methods through timing diagram.Secondly, on the wireless remote controller, I use the C language to program on the ATmega88 microcontroller, so as to encode the synchronization signals and the eight-bit control signals through the Manchester code, CMI code and Differential Manchester code respectively.Finally, on the signal receiver, I use the C language to program on the ATmega88 microcontroller, so as to decode the synchronization signals and the eight-bit control signals through the Manchester code, CMI code and Differential Manchester code respectively.The implementation of the graduation project is base on the ICCAVR and AVR STUDIO 4 development environment, by using the C language to encode and decode the signals on the ATmega88 MCU. The encode methods used in the graduation project are Manchester code, CMI code and Differential Manchester code. |