bare minimum for PIC 16F84A

W

wiredmonkey

Guest
Hi All,

I've recently jumped into the world of MCU's and have had a great time
of doing so. I've managed to grasp assembler over the past few weeks
quite well and have pulled off some fun little tricks with LCD panels
and the like. All this had been performed virtually however with a
simulator I bought (oshonsoft if anyone is interested). I have built a
PIC programmer and it seems to do the trick (well, i can write and read
from the mcu). Now my question is, how do I get the darn thing to work
in the physical world. I place the mcu into a breadboard, connect vdd
to 5V+ and make vss the negative. I also have tried connecting osc1 and
osc2 to a 4.0Mhz crystal (though it has no ground?). None of this
works, If anyone can let me know what the bare minimum setup is to
'power up' a pic16f84a it would be greatly appreciated :)

Cheers!!
 
"wiredmonkey" <wiredmonkey@gmail.com> wrote in message
news:1097534241.982962.28650@z14g2000cwz.googlegroups.com...
Hi All,

I've recently jumped into the world of MCU's and have had a great time
of doing so. I've managed to grasp assembler over the past few weeks
quite well and have pulled off some fun little tricks with LCD panels
and the like. All this had been performed virtually however with a
simulator I bought (oshonsoft if anyone is interested). I have built a
PIC programmer and it seems to do the trick (well, i can write and read
from the mcu). Now my question is, how do I get the darn thing to work
in the physical world. I place the mcu into a breadboard, connect vdd
to 5V+ and make vss the negative. I also have tried connecting osc1 and
osc2 to a 4.0Mhz crystal (though it has no ground?). None of this
works, If anyone can let me know what the bare minimum setup is to
'power up' a pic16f84a it would be greatly appreciated :)

Cheers!!

Hi. You need a few capacitors as well as the bare crystal - take a peek
here:
http://www.quisquose.com/PIC-Projects.htm
or go to microchip's website for the full data which I believe will have
test circuits.

Ken
 
wiredmonkey wrote:
Hi All,

I've recently jumped into the world of MCU's and have had a great time
of doing so. I've managed to grasp assembler over the past few weeks
quite well and have pulled off some fun little tricks with LCD panels
and the like. All this had been performed virtually however with a
simulator I bought (oshonsoft if anyone is interested). I have built a
PIC programmer and it seems to do the trick (well, i can write and read
from the mcu). Now my question is, how do I get the darn thing to work
in the physical world. I place the mcu into a breadboard, connect vdd
to 5V+ and make vss the negative. I also have tried connecting osc1 and
osc2 to a 4.0Mhz crystal (though it has no ground?). None of this
works, If anyone can let me know what the bare minimum setup is to
'power up' a pic16f84a it would be greatly appreciated :)

Cheers!!
Don't forget to pull up _MCLR (pin 4), and a small (~20pf) capacitor
from each crystal leg to ground and you should have it going. If you're
using a ceramic resonator instead of a crystal, just earth the center
pin, no need for the caps.

josh
 
wiredmonkey wrote:

Hi All,

I've recently jumped into the world of MCU's and have had a great time
of doing so. I've managed to grasp assembler over the past few weeks
quite well and have pulled off some fun little tricks with LCD panels
and the like. All this had been performed virtually however with a
simulator I bought (oshonsoft if anyone is interested). I have built a
PIC programmer and it seems to do the trick (well, i can write and read
from the mcu). Now my question is, how do I get the darn thing to work
in the physical world. I place the mcu into a breadboard, connect vdd
to 5V+ and make vss the negative. I also have tried connecting osc1 and
osc2 to a 4.0Mhz crystal (though it has no ground?). None of this
works, If anyone can let me know what the bare minimum setup is to
'power up' a pic16f84a it would be greatly appreciated :)

Cheers!!
Have a look at:
http://www.dontronics.com/dt101.html
you will see a schematic for simple support circuitry there.

Don...


--
Don McKenzie
E-Mail Contact Page: http://www.e-dotcom.com/ecp.php?un=Dontronics

Free phone calls via USB Phone: http://www.dontronics.com/usbphone.html
USB to RS232 Converter that works http://www.dontronics.com/usb_232.html
 

Welcome to EDABoard.com

Sponsor

Back
Top