User manual

13
2.2.4 PIC 18F452
This powerful 100 nanosecond instruction execution are easy-to-program
with which have 77 single word instructions with CMOS FLASH-based 8-bit
microcontroller packs Microchip's powerful PIC architecture into a 40-pin package.
It is upwards compatible with the many PIC devices and thus providing a seamless
migration path of software code to higher levels of hardware integration. The
PIC18F452 features a 'C' compiler friendly development environment where high
level language such as C++ programming can be used. It also comes with 256 bytes
of EEPROM, Self-programming, an ICD, 2 capture/compare/PWM functions, 8
channels of 10-bit analog-to-digital (A/D) converter. The Analog-to Digital (A/D)
converter is important as this project use IR proximity sensor (GP2YOA21YK). The
output of the sensor is analog and PIC can read digital value only.
The synchronous serial port can be configured as either 3-wire Serial
Peripheral Interface or the 2-wire Inter-Integrated Circuit bus and Addressable
Universal Asynchronous Receiver Transmitter (AUSART). These features make it
ideal for instrumentation and monitoring, data acquisition and power conditioning
[25].