Introduction to the Microchip PIC C Programming
The PIC microcontroller is quite popular in industrial and hobbyist, some of the newest 8-bit midrange Microchip PIC microcontroller with nanoWatt technology is PIC16F690, this 20 pin microcontroller has a build in peripherals such as ADC, UART, PWM, I2C, analog comparator and with 7KBytes program memory flash; for those who’s come from the AVR background this is a good change to gain the knowledge as we know is hard to find the comparable 20 pin 8-bit AVR microcontroller product which has the same feature as Microchip PIC16F690; and for those who are the first time learner welcome to the PIC microcontroller world.
1. Which tools should I use
To start C programming language on Microchip PIC Microcontroller you need these following tools:
- Down load the latest Microchip MPLAB IDE which provide you with the complete IDE (integrated development environment) for managing project, program editing, compiling, debugging and downloader for all Microchip PIC Microcontroller series.
The MPLAB IDE is already come with the HITECH PICC-Lite C compiler and fully integrated with MPLAB IDE.
- The PIC16F690 datasheet, is one of the most important document if you want to learn this type of microcontroller
- Microchip PICKit2 Programmer.
- PICJazz 16F690 board from ermicro (for circuit schema click here)
After downloading, install the Microchip MPLAB IDE and just follow all the default setting.
2. My first PIC C Programming
To create your first PIC project go to Start -> All Programs -> Microchip -> MPLAB IDE ver 8.00 -> MPLAB IDE (I am using version 8.00 on this tutorial), this will launch the MPLAB IDE application screen then start the project wizard by selecting the menu Project -> Project Wizard… from MPLAB IDE and this will launch the project wizard, just continue with Next button and it will show the project wizard step one form as follow:
For more detail: Introduction to the Microchip PIC C Programming
JLCPCB – Prototype 10 PCBs for $2 (For Any Color)
China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: https://bit.ly/2GMCH9w
Current Project / Post can also be found using:
- PICJAZZ 16F690 BOARD
- introduction c pic
- microchip pic programming
- pic16f877 c programming pdf