PIC12F microcontroller project board

The 12F series of PIC microcontrollers are handy little 8-pin devices designed for small embedded applications that do not require too many I/O resources, and where small size is advantageous. These applications include a wide range of everyday products such as hair dryers, electric toothbrushes, rice cookers, vacuum cleaners, coffee makers, and blenders. Despite their small size, the PIC12F series microcontrollers offer interesting features including wide operating voltage, internal programmable oscillator, 4 channels of 10-bit ADC, on-board EEPROM memory, on-chip voltage reference, multiple communication peripherals (UART, SPI, and I2C), PWM, and more. The following project board is designed for fast and easy development of standalone applications using PIC12F microcontrollers. It features on-board regulated +5V power supply, header connectors to access I/O pins, ICSP header for programming, a reset circuit, and small prototyping area for placing additional components.

PIC12F

The picture below shows a closer view of the features on board.

  1. Two-pin terminal block for DC input (6-12V DC)
  2. AMS1117-5.0V regulator
  3. PIC12F microcontroller on a DIP IC socket
  4. Tact switch connected to RA3 I/O pin, which is input only. It can be used to reset the microcontroller if MCLR is enabled. Otherwise, it can be used as an user input switch.
  5. Header connector for ICSP programming using chipKIT2/3.
  6. Headers to access I/O pins and power supply pins (Vcc = +5V). Note that RA5 has been mislabeled as RP5 on silkscreen.
  7. Small prototyping area for connecting additional circuit. The regulated +5V power supply for the additional circuit can be derived from the Vcc header pins.

Important: The RA0-RA5 names are used for I/O pins of the PIC12F micrcontrollers in the enhanced mid-range family (PIC12F1822, PIC12F1840, etc). The corresponding I/O pins for the old ones (PIC12F629, PIC12F675, PIC12F683, etc) are named as GP0-GP5, and have the same pin configurations. Therefore, this board can be used for both.

Test program

The following program is written in mikroC Pro for PIC compiler to illustrate the interfacing of the 4-digit serial seven segment LED display module with the PIC12F development board. The microcontroller used on the board is PIC12F683. The GP0, GP1, and GP2 pins of the PIC12F683 drives the CS, MOSI, and CLK pins, respectively, of the 7-segment display module to create a 4-digit up-counter. The counter counts from 0000 to 9999 and then reset to zero and start again.
For more detail: PIC12F microcontroller project board

About The Author

Ibrar Ayyub

I am an experienced technical writer with a Master's degree in computer science from BZU Multan University. I have written for various industries, mainly home automation and engineering. My writing style is clear and simple, and I am skilled in using infographics and diagrams. I am a great researcher and am able to present information in a well-organized and logical manner.

Follow Us:
LinkedinTwitter