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.


General
ICSP
ICSP programming
RS232
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 :Recovering lost calibration
12F675 OSCCAL Program


Noise rejection decoupling
Charlieplexing
Voltage reference as a DAC
Using R-2R as a DAC and more
Logic level converter

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


Resources
PIC device comparison
RS232 pinout
Using PIC I/O : TRIS, PORT


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

Other
Reading schematics
Prototyping
Using an oscilloscope
Multitasking
Electronic schematic symbols
PWM
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.

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

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

12F675 - How to recover OSCCAL.

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


Use the voltage reference
module as a DAC
The built in PIC refence can
generate a voltage out.


Using R-2R as a DAC
Using Thevenin's theorem
you can make a DAC.


A simple logic level converter
They can be made using
only 3 components.


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


Other

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


Subscribe to the MicroZine Newsletter and collect your free microcontroller Ebooks, download project code and more...


Visit our Facebook Page:

   Click Here



Recent Articles

  1. How to use a DS18B20 on the Arduino for easy temperature measurement

    How to Easily Use the DS18B20 Maxim One-Wire thermometer with Arduino example code showing external or parasitic power modes.

    Read more

  2. The TCS230 Color Sensing Chip: How it works and how to use it.

    How to use the TCS230 (/TCS3200) Color detector chip and easily add it to any of your projects.

    Read more

  3. Arduino millis

    How to use Arduino millis() for delays but still make the processor do work - Stop using delay()

    Read more

  4. [Arduino Tutorial] : How to use the 74HC595 shift register with shiftOut().

    The Essential Guide to the 74HC595; What it is and how you can easily use one in any of your projects.

    Read more

  5. Pic Programmer Types

    Which pic programmer do you need? This page discusses PIC programmers and gives some essential information on choosing or building your own programmer.

    Read more

  6. Arduino Pulsein: an easy way to measure pulse periods in microseconds.

    learn how to use Arduino pulseIn and pulseInLong to get the most accurate pulse measurement on an Arduino.

    Read more

Readers Comments

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

SUPERB and FANTASTIC."

- Ranish Pottath

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

- Milan

bursach<at>gmail.com<

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


- Matt
matt_tr<at>
wolf359.cjb.net


Learn Microcontrollers

"Interested in
Microcontrollers?"

Sign up for The
Free 7 day guide:

FREE GUIDE : CLICK HERE


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


- Dave

de_scott<at>bellsouth.net

"Your site is a great
and perfect work.
congratulations."


- Suresh

integratredinfosys<at>
yahoo.com

"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.
Regards."


- Anon

Back to Top