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

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

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:
To Visit Click Here


Recent Articles

  1. How to use the ADS1115

    A tutorial on using the ADS1115 precision 16 bit ADC for low power use.

    Read more

  2. The TP4056: Lithium Ion/polymer Battery Charger IC

    Learn how to use the TP4056 properly. There's a right, and a wrong way, to use it to safely charge Lithium Ion batteries.

    Read more

  3. DW01A Battery Protector IC

    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.

    Read more

  4. Arduino String: How to read commands from the serial port.

    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.

    Read more

  5. A Real Time Clock design (DS1307) with a PIC microcontroller

    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…

    Read more

  6. How to use the ADXL345 for movement sensing and more.

    With the ADXL345 acellerometer you can detect up to 16g! You can also find out how to use it for tap detection and more.

    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