Firmware
Rolling code reception routine (Manchester decoder),uses the interrupt driven CCP1 peripheral . Practically speaking during the reception of code the PIC can execute also others commands/routines. The routine must be called by ISR and can be easily modified and adapted to the requirements of the system that you are planning. In MAIN you control by polling the Flag_RX flag in order to know if a valid code has been received .
UM86409 reception routine compatible with MM53200 and UM3750.
This routine is written for PIC16C54, at 4MHz (therefore 1uS cycle time) without Capture peripheral, the radio signal is supervised by polling PB, 0 (RB0) therefore during the reception the PIC is blocked! Moreover the Watchdog is managed as well.
All comments are appreciated, but remember that:
IT WAS ONE OF MINE FIRST PROJECTS WITH THE PIC, 11 YEARS AGO 1995!!
UART Management Routine. It transmits and receives under interrupt using the peripheral (remember to set the PIN TX and RX of the UART as INPUT!)
Standard 16x2 LCD management routine
All the PDF documentation (free) can be found in the DOWNLOAD page (you must be registered to access it)
NOTE: The routines, bench working, are alone for the sake of example and MUST be adapted to your circuit or the proposed outline, verifying also the pinout of the used PICMICRO!
|