ccp module for pic controller
Hi,
Sorry, I don't intend to be rude, but
Dear Alphastar,
It shows from your answer, that you, yourself, are new to microcontrollers.
This is complete rubish:
If so, I advice you to start with PIC16F84A. it is available in the market and has 13 I/O pins. PIC16F628 and PIC16F88 have the same number of I/O pins, but they are more complex.
PIC 16F84A is the best MCU to start with.
The PIC 16F84A is OBSOLETE. It has only 1k of program memory, 68 bytes of RAM, and 64 bytes data EEPROM.
The 16F84A is also lacking a lot of hardware the other chips have. It has no UART, and only one 8 bit timer. There are no AD converters.
As well, the price of the f84 is about DOUBLE the price of the others!
The 16F88 has 4k program memory, 368 bytes of RAM, 256 bytes data EEPROM.
The F88 has a 7 channel 10bit AD converter, 2 x 8 bit and 1 x 16 bit timer, a USART as well as a SSP, and a PWM/CCP module. In addition it has a very accurate internal RC oscillator.
The PIC 16F628 has 2k program flash, 224 bytes RAM, and 128 bytes data EEPROM.
It has 2 8 bit and 1 16 bit timer, 2 analog comparators, a PWM/CCP module, and a USART. In addition it has a very accurate internal RC oscillator.
On the prices, I just looked at
https://www.futurlec.com/ICMicrochip_PIC16.shtml
The 16F84A @ 4MHz is $3.50 and @ 20MHz is $4.90
The 16F88 @ 20 MHz is $3.90
The 16F628A @ 20MHz is $2.20
Looks to me, that the 16F628A is the part to start!
Regards,
Robert