Become a subscriber (Free)

Join 29,000 other subscribers to receive subscriber sale discounts and other free resources.
:
:
Don't worry -- your e-mail address is totally secure. I promise to use it only to send you MicroZine.

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 : Setting OSCCAL in C
12F675 :Recovering lost calibration
Noise rejection decoupling
Charlieplexing
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


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.

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


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



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:

Now



:
:
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

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

Recent Articles

  1. How to use the DHT22 (or DHT11) with an Arduino; full code and description. Also including a comparison of the DHT11 vs DHT22.

    The Essential Guide to the DHT22/11 humidity sensor including a library code guide for the Arduino. Learn how to determine Humidity, Dew point and Heat Index.

    Read more

  2. How to Use the MAX7219 to drive an 8x8 LED display Matrix on the Arduino.

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

    Read more

  3. How to use a DS18B20 (single or multiple on one wire) for temperature measurement using the Arduino Uno.

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

    Read more