Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

AT89s51

Status
Not open for further replies.

shanky25

New Member
Hello

My doubt is, can I connect a 220pf capacitor to the two terminals of the crystal connected between 18th and 19th pin of an AT89s51. 33pf is to be connected there actually. I am trying to do with 220pf.. but m not getting the required o/p
 
Last edited:
Hello

My doubt is, can I connect a 220pf capacitor to the two terminals of the crystal connected between 18th and 19th pin of an AT89s51. 33pf is to be connected there actually. I am trying to do with 220pf.. but m not getting the required o/p

It should be a crystal across the oscillator pins. 2 nos of 22 or 33pF caps one side grounded and other side one act each of the crystal pins. a schematic attached below.
 
Last edited:
This isn't recommended but have you tried removing the caps altogether. I was in a similiar situation lately with a AT89C2051 and found that it worked with just a crystal.
But again, don't blame me if your chip dies and if it does work, still get the right values as per the datasheet or your aren't guaranteed anything.
 
we use the caps to ground the noise, but if there is any noise.. it might affect the controler as far as I know!
 
It can work because of stray capacitance I believe.
Wait until you get the right values if you don't want to take risks.
I personally had a few chips laying around so it wasn't much of a risk when I tried it.
 
we use the caps to ground the noise, but if there is any noise.. it might affect the controler as far as I know!

The capacitors aren't there to 'ground the noise', they are a crucial part of the oscillator circuit - as suggested, you may be lucky and have sufficient stray capacitance to make it work, but it's not likely to be reliable.

220pF is likely to be far too large.
 
I am afraid I will have to side with Nigel. 220pF is easily enough to completed short out the return side of the oscillator, with the predictable result of the failure to start and if you do not know to look there, complete frustration.

The crystal is in the feedback loop of an amplifier for practical purposes, you short the input to ground and you short the output to the positive rail since it is an inverter (the crystal provides the phase shift needed for the oscillator to run)

Pierce oscillator - Wikipedia, the free encyclopedia
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top