PIC Micro hardware and software techniques to help you design your projects

This page has many links to hardware and software techniques that I have found useful in developing microcontroller circuits. I hope you find them useful as well.

Jump to General, Resources, Hardware, Software, Other.

ICSP programming
Transmission lines
Static electricity precautions
Hardware Debugging Techniques
PIC Timer overview
I/O Expansion techniques
PIC Programmers
USB RS232 Ports

Hardware specific
Switch debouncing
Setting up RS232
12F675 : Setting OSCCAL in C
12F675 :Recovering lost calibration
Noise rejection decoupling
Voltage reference as a DAC
Using R-2R as a DAC and more

Software specific
Hex conversions
Soft USART (TX) (TX details)
Soft USART (RX/TX) (RX details)
Using fixed point maths

PIC device comparison
RS232 pinout

Timers and Oscillators
Crystal ppm calculations
TCL code for ppm calculations
Interactive Timer 0 calculator
Interactive Timer 1 calculator
Interactive Timer 2 calculator

Reading schematics
Using an oscilloscope
Electronic schematic symbols
Listen to Digital Signals

PIC Micro : General

ICSP In Circuit Serial Programming circuit and notes.

ICSP programming - How you set up the ICSP hardware and PC software.

RS232- What it is and how it works.

Transmission line terminators - How to improve signal quality using one.

This method applies equally well for long cables or PCB traces. e.g. Parallel port or Serial port cables.

Static electricity precautions - Static precautions and advice.

A quick overview of Timer mid-range 1,2 & 3

Methods to increase your Input or output pins from/to your microcontroller.  Minimum requirement is 1 pin. 

PIC Programmers Explanation of the various types of PIC programmers

PIC Micro Resources

PIC device comparison Comparing some pic microcontroller features using bubble diagrams.They also give a quick overview of the Program memory, RAM, EEPROM and peripherals.

Pinouts of some common devices used on this site

RS232 pinout diagrams at the PC connector.

Using PIC I/O : TRIS, PORT: General notes applicable to any PIC device.

Crystal ppm calculations: Notes on accuracies of crystal and other oscillators.

Interactive Timer 0 calculator showing frequency, period of Timer 0 output.

Interactive Timer 1 calculator showing frequency, period of Timer 1 output.

Interactive Timer 2 calculator as above using pre-,post- scaler & period reg.

PIC MIcro Hardware techniques

Switch debouncing Debouncing input keys on a Microcontroller port.

12F675 - How to set the OSCCAL value stored in the 12F675.

12F675 - How to recover OSCCAL.

Does RS232 work? Five simple rules to ensure your RS232 system works. 

Noise rejection decoupling. Notes on decoupling to reduce digital noise. 

Use the voltage reference module 
as a DAC

The built in refence can generate a voltage out.

PIC Micro Software techniques

Bits bytes and hexadecimal conversions
All about bits, bytes and hexadecimal numbers and conversions.

Soft USART (TX)The transmission part of a USART (~90 words).

Soft USART (RX/TX)  Detailsthe reception part of a USART (~? words).

Fixed point maths How to avoid using floating point maths to save memory and operate faster.

Click here for PIC microcontroller projects


Reading schematics A simple introduction to reading schematics.

Multitasking A guide to simple multitasking - fits into 12F675 (1k).

Schematic symbols A list of schematic symbols and components

Prototyping Discusses solderless breadboard, stripboard and pcb methods.

Using an oscilloscope Beginners guide to using an oscilloscope.

PWM what it is and what it's for.

Jump from Tips and Techniques to
Best-microcontroller-projects home page

Privacy Policy | Contact | About Me

Site Map | Terms of Use

Visit our Facebook Page:

   Click Here

Sign up for MicroZine
''The'' Microcontroller Newsletter

Enter your first Name and primary email address in the form below:

And receive absolutely FREE a full project for:

"Measuring Analogue Voltages
Without An ADC"

(Using only one pin).

Instant Download:
You Can
Get It Right Now

Warning: This project could be  Removed 
at any time.  

It will  NOT be 
available indefinitely SO
To avoid 
disappointment  get it:


Don't worry -- your e-mail address is totally secure. I promise to use it only to send you MicroZine
Remember this is a project with full description and fully debugged C Source code - and it's not available from the main website.

You can only get it through this newsletter.

To get exclusive access Enter your first name Name and primary email address Now in the form above.:

But wait !

There's more...

You'll receive more
free and exclusive reports as well as site information and site product updates

Scroll up to the form above and sign up NOW. Don't forget it's FREE and if you don't like it, you can unsubscribe at any time.

Click Here Now to use the form above to get your Valuable information absolutely free.

Readers Comments

"I wanted to thank
you so so so much
for all the information
you have provided in
your site it's


- Ranish Pottath

"This site really is
the best and my favorite.
I find here many useful
projects and tips."

- Milan


"Awesome site,
very, very easy and nice
to navigate!"

- Matt

Learn Microcontrollers

"Interested in

Sign up for The
Free 7 day guide:


"I am a newbie to PIC
and I wanted to say
 how great your
site has been for me."

- Dave


"Your site is a great
and perfect work.

- Suresh


"I couldn't find the correct
words to define
yourweb site.

Very useful, uncovered,
honest and clear.

Thanks so much for
your time and works.

- Anon

Recent Articles

  1. Eye Tracking System

    Eye tracking : How to detect the gaze of your eye and track where you are looking.

    Read more

  2. DS18B20: How to use it on the Arduino Uno.

    How to Easily Use the DS18B20 Maxim One-Wire thermometer with Arduino example code using both external powered and parasitic powered devices.

    Read more

  3. The best Microcontroller projects and resources.

    Do you want to learn how to use a microcontroller in your electronic projects or do you need inspiration for your next project? If so you have found the right place!

    Read more