Become a subscriber (Free)

Join 29,000 other subscribers to receive subscriber sale discounts and other free resources.
:
:
Don't worry -- youre-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 :Recovering lost calibration
12F675 OSCCAL Program


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



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.

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





Visit our Facebook Page:

   Click Here

Recent Articles

  1. Easy Switch Debounce

    Switch debounce: Three different ways to debounce input push switches with one amazing method that you can't miss.

    Read more

  2. 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

  3. How to use the BMP280 Barometric Pressure chip with the Arduino

    How to use the BMP280 for weather pressure measurement or altitude change detection.

    Read more

  4. 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

  5. All about the MC78M05BDTRKG Linear Voltage Regulator

    How to use MC78M05BDTRKG for maximum current without using too large a heatsink pad and how to select the optimum input voltage.

    Read more

  6. Fixed point: A fast and easy way to save tons of microcntroller flash memory

    How to use fixed point maths to save microcontroller memory by avoiding use of the floating point library.

    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