PIC16F1503 8-bit Microcontroller
The PIC series of microcontrollers from Microchip has been a hobbyist staple. This series features an 8-bit RISC architecture for fast and efficient operation and is also packed with peripheral features. They provide an alternative to the popular Atmel and ST microcontrollers.
PIC16F1503 Pinout Description
Pin Number |
Pin Name |
Description |
1 |
VDD |
IC supply pin |
13, 12, 11, 4, 3, 2 |
RA0, RA1, RA2, RA3, RA4, RA5 |
Port A GPIO pins (see datasheet for alternate functions) |
10, 9, 8, 7, 6, 5 |
RC0, RC1, RC2, RC3, RC4, RC5 |
Port C GPIO pins (see datasheet for alternate functions) |
14 |
VSS |
IC ground reference |
Features
- 2.3V to 5.5V supply range
- Supply current between 30uA and 1.5mA
- Up to 20MHz clock frequency
- 8-channel 10-bit ADC
- 5-bit DAC
- 2 analog comparators with rail-to-rail inputs and software-defined hysteresis
- 1.024V reference with 1, 2, 4x gain options
- 8-bit timer/counter with 8-bit prescaler
- 4 10-bit PWM channels
- Numerically controlled oscillator and complementary waveform generator
Note: Complete technical details can be found in the PIC16F1503 datasheet linked at the end of this page.
Other 8-bit Microcontrollers
How To Use PIC16F1503
The PIC16F1503 8-bit RISC microcontroller comes from the popular PIC microcontroller family from Microchip and has been a hobbyist staple. Although not as popular as the ATMega or STM32 series, they are placed firmly in their own niche. PIC microcontrollers can be programmed using PICkit programmers and the MPLAB IDE. The PIC16F1503 provides a wide variety of peripherals, including analog and mixed-signal interfaces. The integrated analog to digital converter (ADC) has eight external channels that can be mapped to GPIO pins RA0, RA1, RA2, RA4, RC0, RC1, RC2, and RC3. It can also be connected internally to the voltage reference, a temperature sensor, and a digital to analog converter (DAC).
The PIC16F1503 also has an integrated 5-bit DAC, which can output 32 voltage values. The reference voltage can be selected in software, and the output can be broken out into pins RA0 or RA2. The output can also be routed to the ADC or the internal comparators. There are two internal comparators, each with rail-to-rail inputs and software programmable hysteresis. Since this comparator is made on a digital process, the performance is only marginal – 60mV max. offset, and between 400ns and 1.2us.
There is an internal bandgap voltage reference with a nominal output voltage of 1.024V, but can be internally amplified to 2.048V or 4.096V. There are two timers, TIMER0 and TIMER1. TIMER0 is an 8-bit timer/counter with an 8-bit prescaler, whereas TIMER1 is a 16-bit timer/counter. The PIC16F1503 also has two programmable logic modules, called Configurable Logic Cells (CLC). They can be programmed to any logic configuration that is made up of basic AND, OR, NOT and SR latches. They are used when the required response times increase beyond the capabilities of the software. The chip also has capabilities for I2C and SPI protocols.
Applications
- Programmable logic
- Mixed-signal applications
- Smart appliances