go_away

Author Topic: connection diagram for PIC 16f877  (Read 2838 times)

0 Members and 1 Guest are viewing this topic.

Offline sambhavTopic starter

  • Jr. Member
  • **
  • Posts: 20
  • Helpful? 0
connection diagram for PIC 16f877
« on: May 09, 2007, 11:38:16 AM »
hiii frnds....
i have designed a project with all thhe sensors and othr sstuff.. and i want to interface everything using PIC 16f877... can anyone provide me the basic connection diagram for the PIC to work properly..such as any capacitors, resistors etc...to be put..with the crystal and other stuff..

thanx a lot ... :)

Offline JonHylands

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 562
  • Helpful? 3
  • Robot Builder/ Software Developer
Re: connection diagram for PIC 16f877
« Reply #1 on: May 09, 2007, 12:14:26 PM »
I don't have a diagram handy, but its pretty simple. You need:

Either a ceramic resonator (with three pins), or a crystal and a couple 18 picofarad capacitors. If you're using the resonator, connect the two outside pins to pins 13 and 14, and the center pin to ground. If you're using a crystal, connect the two legs of the crystal to pins 13 and 14. Connect one leg of each capacitor to each leg of the crystal, and the other leg of each capacitor to ground.

You should have a 0.1uF decoupling capacitor between Vdd and Ground (pins 11 and 12). On a 16F877, I normally put one there, and one between 31 and 32 as well.

You should have a 5-10K resistor between pin 1 and Vdd (power).

That's all you need.

- Jon

Offline sambhavTopic starter

  • Jr. Member
  • **
  • Posts: 20
  • Helpful? 0
Re: connection diagram for PIC 16f877
« Reply #2 on: May 10, 2007, 11:37:16 AM »
thanx a lot buddy....

 


Get Your Ad Here