This project was a security system with a motion alarm, password keypad, and bluetooth control. The main goal of the project was to get a circuit board produced, and learn more about programming PIC microcontrollers. The system used a PIC18F45K22 microcontroller and was written in C. There were a couple of feature like a EEPROM stored password and a serial bluetooth module for wireless communication.

...

See the full source code at Bitbucket. This code was wrote several years ago and may contains errors along with unoptimized code.