Pic16f870


Closed Thread
Results 1 to 14 of 14

Thread: Pic16f870

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by plyrathrt View Post
    Internal, packaged in to the chip.
    You only need to pull up the MCLR for Programming... Also keep in mind, this is on a full development board (Mikroelectronica EasyPIC 5) and not just placed in a breadboard with ICSP.
    Ok, here's the next question....and it's going to be a tough one, I mean hard...You may have to study quite awhile to answer this one...

    Which internal clock would that be on the PIC16F870?
    (Ref: Pic16F870 datasheet, DS30569B-page 89)

  2. #2
    Join Date
    Nov 2007
    Posts
    42


    Did you find this post helpful? Yes | No

    Default

    I don't see anything about a software selectable internal oscillator. I am guessing that is why you said "you may have to study very hard". Is that correct?

    Even with that it should still turn a pin high that I designate for a button press right?

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by plyrathrt View Post
    I don't see anything about a software selectable internal oscillator. I am guessing that is why you said "you may have to study very hard". Is that correct?

    Even with that it should still turn a pin high that I designate for a button press right?
    Not without some sort of oscillator driving the chip you won't...The PIC16F870 doesn't have an internal oscillator...Therefore, your chip won't run anything.

    Did you see the 4 oscillator/clock options you have with the PIC16F870?
    Last edited by skimask; - 1st August 2008 at 20:36.

  4. #4
    Join Date
    Nov 2007
    Posts
    42


    Did you find this post helpful? Yes | No

    Default

    Yes I did, however for my project I must have a internal oscillator due to size constraints... Ok, so basicly I am the idiot and I should take a hammer to my head instead of the chip... I don't know why I assumed it had a internal oscillator other than the fact that I have never used mid-range MCU's. Only 16pin and smaller PIC's.

    Know of a 28pin PIC with a accurate internal oscillator off the top of your head?

  5. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by plyrathrt View Post
    Yes I did, however for my project I must have a internal oscillator due to size constraints... Ok, so basicly I am the idiot and I should take a hammer to my head instead of the chip... I don't know why I assumed it had a internal oscillator other than the fact that I have never used mid-range MCU's. Only 16pin and smaller PIC's.

    Know of a 28pin PIC with a accurate internal oscillator off the top of your head?
    Parametric search at Microchip.com
    13 hits on a 16F PIC in a 28 pin package with an internal oscillator block...
    My personal favorite for a 28 pin PIC at the moment wouldn't be a 16F though. It would be a PIC18F2685 (96K of code space) or a PIC18F2550 (USB included)...
    All sorts of options here...

    Another thing...just to verify it all, get it to at least work, you can use the R/C oscillator. Just hang a resistor and a capacitor off the OSC1 pin and see what happens.
    Sure, it's not accurate, but it'll at least verify that your hardware is good.
    Last edited by skimask; - 1st August 2008 at 21:46.

  6. #6
    Join Date
    Nov 2007
    Posts
    42


    Did you find this post helpful? Yes | No

    Default

    I just switched to a 16F690 that I had a PDIP version of as well as a SOIC version. It's a few pins short of what I need but it's fine for testing the final product and the most important thing is, it has a internal oscillator :-)

    I really can't believe I overlooked that and wasted my time and everyone else in here. lol

    I am etching the new prototype board out now after I tested the code working on my development board. Hopefully all goes well!

    Thanks again for your help everyone!

Similar Threads

  1. i2c non-eeprom examples?
    By justDIY in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 22nd January 2010, 19:07
  2. Peek Poke pic16f870
    By Eric123 in forum mel PIC BASIC
    Replies: 4
    Last Post: - 16th March 2007, 07:07
  3. ASM for dummies
    By Squibcakes in forum General
    Replies: 9
    Last Post: - 28th February 2007, 06:08
  4. help with pic16f870 a/d converter
    By cammo in forum mel PIC BASIC
    Replies: 3
    Last Post: - 22nd March 2005, 06:16

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts