Best Microcontroller Projects


[?] Subscribe To This Site

XML RSS
Add to Google
Add to My Yahoo!
Add to My MSN
Subscribe with Bloglines


Home
Forum
Problem?-Solution
Projects Showcase
LCD-KEYS OnePort
PIC Introduction
PIC Programmer
Schematic Tool
PIC Projects
Tips & Techniques
PIC Tutorials
C Course
Digital Downloads
Store
My SECRET
Oscilloscopes
About Me
Search This Site
Freebies
Articles
Books
Resource Links
Site Map
Video du Jour
Rant/Rave
Privacy Policy
Contact
Terms of Use


Custom Search

Sign up for MicroZine:
''The'' Microcontroller Newsletter


:
:
Don't worry -- your e-mail address is totally secure. I promise to use it only to send you MicroZine
Enter your first Name and primary email address in the form above:

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



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.



Social Bookmarking
Click & Add:
add to BlinkBlink
add to Del.icio.usDel.icio.us
add to DiggDigg
add to FurlFurl
add to GoogleGoogle
add to SimpySimpy
add to SpurlSpurl
Bookmark at TechnoratiTechnorati
add to YahooY! MyWeb
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

Learn PIC C Now
Wondering how to program your next project using C and need a great start?


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


- Matt
matt_tr<at>
wolf359.cjb.net


"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

Learn Microcontrollers
"Interested in
Microcontrollers?"


Sign up for The
Free 7 day guide:

FREE GUIDE : CLICK HERE

"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





Decoupling Capacitors and grounding

Decoupling is all about reducing noise in your circuits and its main objective is to provide a low impedance path to short out high frequencies away from your integrated circuits and back to the power supply.



To provide a low impedance at high frequency (but high impedance at DC so filtered voltage/current is fed into the IC) a capacitor is used since its equation is:

Xc = 1/2.PI.f.C

...the higher the frequency (f) the lower that Xc (capacitive reactance) becomes i.e. at high frequency Xc is lower.

Note: At DC f=0 so Xc theorectically is infinite in a real device it can not be infinite due to current leakage.

You might think that placing electrolytic 10uF capacitors everywhere is a good idea since it will give the lowest Xc but large capacitors do not behave well at high frequencies.  This is where the real world asserts itself and you have to choose components based on how they work in the real world not on the 'Ideal'.

Generally for each IC you should use a polyester 100nF or a 10nF for each power/ground connection to the IC and use a few 10uF or 100uF to provide low frequency decoupling elsewhere.

Power supply decoupling

For general decoupling use an electrolytic 100uF or 10uF capacitor at the output of the power supply e.g. from a 7805 (also add to the input of a 7805).  Add more of these for a large board (spread around the board).

Note In a PCB design its easier to leave capacitors off rather than add them later!

Chip decoupling 

You have to ensure that you use decoupling on all chips so place a 100nF capacitor as close to the power supply of each device.  In general you should place one 100nF for every device power supply connection - some devices have two or more power supply connections.

High frequency decouping

To remove high frequency interference use a small capacitance in parallel with each 100nF e.g. a ceramic 10nF - not all capacitors are made the same so smaller ones have a better high frequency response.

Note: You only really need this on critical sections/boards e.g. if interfacing to an RF system it would be a good idea.

Add Series Inductance

Placing a series inductor in the power supply to each chip will also have a decoupling effect e.g. 100uH but ensure it can pass the maximum current the the device can supply.

Use a ground plane to improve decoupling response

This is easiest to do when creating a PCB but you can add insulated copper foil to the back of a prototype.  The ground plane reduces the inductance of the ground return paths and for e=L( di/dt) reducing L reduces e i.e. the induced noise voltage due to ground currents will be smaller - less noise. 

Connect this ground planes at the negative power supply connection only so that digital noise is kept in the digital ground plane and analogue noise is kept in the analogue ground plane.

Separate ground planes for decoupling analogue and digital.

Keep digital and analogue ground places separate. Connect the two grounds at the power supply ground so digital noise goes directly to the power supply negative pin and the analogue ground does not see the digital noise.

Ground Bounce

Digital noise is generally very strong as the signals pass through nearly the full supply voltage range and if driving current hungry devices, large current flows back to the power supply through the ground return path.

If there are analogue devices with their ground connected in the path of this ground return path current) then the small resistance of the device ground pin and inductance of the chip package itself will react to the current - causing ground bounce

The ground reference of the analogue device will change depending on digital signals - and it looks like digital noise at the output of the analogue device.


Jump from decoupling page to
Best Mirocontroller Projects Home Page


Don't forget to Sign Up for your

Microcontroller Newsletter

With "Essential tips and techniques",

..."New Site Info" and more...

Including a free project :

How to drive an LCD and 12key keypad using "Only One 8 Bit Port" with no interface logic!...

(Works for any microcontroller)

This costs you : Nothing...
Just fill out the form below and you'll get full C source code and project schematic and description.



:
:
Don't worry -- your e-mail address is totally secure. I promise to use it only to send you MicroZine
Google
 
  Best Microcontroller projects.





<-- --> <-- -->