Thursday 11 December 2014

Baseband decoding - PIC16F1716 MCU coding work

The remote control car receiver 2014 version is almost complete, analog circuit is done, after finished analog part, now is the MCU programming part. 
MCU is 16F1716, the point of this MCU is having a 8-bit DAC, which is vital to generate analog voltage to control the variable gain amplifier, and the drawback is, this is a 8-bit MCU, making 16-bit variables calculation a bit painful, and the ADC is only 10-bit, i hope this resolution is OK for sampling the received baseband signal.
Data coding method is switched to Manchester code, which looks like solving the problem of threshold floating issue in the previous NRZ coding method. Bitrate is shorten to 500uS, data length keep 8 bits for each of two channel.


Using two probe is very rare in here. But this is digital debugging, the more probe the better.


Generating a narrow but high resolution pulse for interface with RC servos and ESC(electronics speed controller). The difficulties is the control pulse required a narrow(1-2ms) and high-res short burst and same time having a long period (~20ms). 


No comments:

Post a Comment