PIC Tutorial information on compilers, programming, device information, peripherals, protocols and techniques.
In the Devices section there is a tutorial on the 12F675 which is also
useful for the other PIC devices since the 12F675 has many of the same internal
peripherals as the other PICs.
In the Hardware section there is a short introduction to PIC microcontrollers which summarizes the main peripheral blocks so that you can get familiar with the PIC micro more easily.
It gives a useful overview of each block. You can also find notes on ICSP there.
The Software section has a short introduction to C programming and there is a useful guide to I2C in the Protocols section.
The Techniques section collects together circuit examples and links to projects that use a specific peripheral block.
Although this device is small (an 8 pin chip) it has lots of peripherals
(many more than the 16F84) which are used in different ways in this pic
tutorial. It starts off showing you simple projects progressing on to more
interesting ones which use each peripheral.
It should give you a solid start in using any PIC microcontroller as you can transfer the techniques learned here to any PIC device.
An introducrory circuit for the 16F84 with C program source.
Summarizes the main peripherals of the mid-range PIC micro and details of
devices used in site projects.
Describes what they are and how to use them.
Description of ICSP signals and typical circuit connections for programming a pic micro.
A very quick compilation tutorial just to show how to re-compile files found
on this site that use the mikroC compiler.
A PIC tutorial showing signals and use of the I2C protocol.
A short tutorial showing signals and use of the SPI protocol.
Shows how RS232 works at the physical bit level describing bit details and showing signals you can expect to see at the microcontroller pins.
Some simple rules to follow to ensure your RS232 system works.
Shows you what frequency counting is and how to use PIC micros to obtain a frequency measurement using Timer 1.
Here you can create an ultrasonic range finder and learn about it (general information on ultrasonic range finding is contained within the project page).
Also shows you how to use the PIC CCP module in capture mode.
A project that creates three interrupt driven software pulse width modulators for driving an RGB tri color LED. Its not a full implementation as each PWM has the same period but it works well.
Two projects; the above is for multiplexing an 8x8 dot matrix display and
this for multiplexing a seven segment
How to create a Pulse Width Modulation signal without an internal PWM peripheral. Two methods 1st - one timer, 2nd - two timers.
Jump from PIC tutorial to
Best Microcontroller Projects Home Page.
A tutorial on using the ADS1115 precision 16 bit ADC for low power use.
Learn how to use the TP4056 properly. There's a right, and a wrong way, to use it to safely charge Lithium Ion batteries.
The DW01A chip is a Lithium Ion battery protector commonly used on TP4056 boards. Find out Exactly how it works and how to use it the correct way.
For Arduino string operations you can use Object Class Strings or C style strings but which should you use? Also find out how to decode commands and control variables in your programs using strings.
Real Time Clock Design (FREE): A Free and Complete RTC design using the DS1307 and a PIC micro (16F88) also re-targetable. This PIC project uses an I2C Clock chip and 7-segment display to create a fou…
With the ADXL345 acellerometer you can detect up to 16g! You can also find out how to use it for tap detection and more.