We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Hardware

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What is a PIC Microcontroller?

By J. Winchester
Updated: May 16, 2024
Views: 10,982
Share

A peripheral interface controller (PIC) is a type of microcontroller that is commonly used by hobbyists and inventors. A PIC microcontroller typically has between 20 and 60 pins that control the input and output from the microcontroller. They are usually integrated into a circuit board and programmed using C language. PIC microcontrollers are inexpensive, flexible, and easy to use, which makes them a popular choice in microcontrollers.

There are many types of PIC microcontrollers available. The differences between the different models are the form factor, number of pins, and amount of memory. The dual in-line package (DIP) is usually preferred by PIC hobbyists, because it is easier to work with and can be easily added to a bread board. The quad flat no-leads (QFN) package is generally used in industrial settings, because it is more compact. Most people will not use all of the pins or memory in their PIC microcontroller, so it is not necessary to buy a top-of-the-line microcontroller.

A hobbyist will usually hook up his or her microcontroller to a breadboard or circuit board. A breadboard is easier to use, but the circuit board is preferable in more permanent applications because it is more compact and durable. Inputs and outputs such as motors, LED lights, and sensors can be hooked up to the pins from the circuit or bread board. These can then be controlled by the PIC microcontroller.

To program a PIC microcontroller, it is necessary to have a PIC programmer. These are typically much more expensive than the microcontroller themselves and hook up to the microcontroller through the USB or serial ports on a computer. Programming the microcontroller also is done through C. The programming usually consists of getting input and output from the pins. It is typically fairly difficult for a novice to program a PIC microcontroller, though it can be learned through books or online tutorials.

The PIC microcontroller is similar to the AVR microcontroller. These are the two most popular choices for microcontroller enthusiasts. Neither of these microcontrollers is a clearly better option. Both are cheap, programmed in C, and similar in appearance.

Another option to consider is the relatively new Arduino® platform. It is an open source project based on the AVR microcontroller. It is significantly easier to program an Arduino® than a PIC microcontroller, so it may be a better choice for those without much programming experience.

Share
EasyTechJunkie is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.
Discussion Comments
By anon316114 — On Jan 27, 2013

What are the program models of the PIC?

Share
https://www.easytechjunkie.com/what-is-a-pic-microcontroller.htm
Copy this link
EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.

EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.