12F508 config -- going nuts

+ Reply to Thread
Results 1 to 5 of 5
  1. #1

    Default 12F508 config -- going nuts

    Thought I'd buy this chip because digikey had so many in stock and search results seemed to make it popular in the 8 pin low cost pics (unless someone has a better idea). Started off using 12f675 which was a bad idea, took forever to figure out configuring the int clock and that chip is wacko imho.

    Please, can anyone tell me how to set the 12F508 for internal osc 4mhz (or do I even need to? does it default to internal)? I've tried everything.

    get an error on _intrc _fosc_intosc tried a half dozen.

    or do set it up like the 12f675 with that weird define?

    Looking for a reliable 8 pin PIC that is a dollar or under that is the best choice -- just need to use 3 I/O for something. ___THANKS

  2. #2
    Join Date
    Apr 2014

    Default Re: 12F508 config -- going nuts

    Oscillator setting is controlled through the CONFIG Register. The only Internal Oscillator option available is 4 MHz.

    The PIC12F508 has no analog capabilities, only 1 Timer (Timer0), less-than-minimal memory, was introduced in 2009... It may be an acceptable choice if you only need to toggle an LED. To actually do any real work, it's about useless.

    I don't know if you have at least PBP3.0, but there are an abundance of newer designs that may cost less, and will certainly do much more. For the 8-pin application, a good universal choice is the PIC16F18313. Don't let the "PIC16F" fool you, it is an 8-pin MCU. Grab a data sheet and have a look. I think you'll like what it can do, and it's cheap.

  3. #3

    Default Re: 12F508 config -- going nuts

    I'm just using it to do some simple I/O stuff so 12F508 will be fine. Would appreciate a time saver if anyone can tell me for the osc, I tried em all --

    __config _? tried _fosc_intosc intrc &other crap that gives me compile errors


  4. #4

    Default Re: 12F508 config -- going nuts

    Needed IntRC

    not INTRC


    I spend half my time configuring new chips. Writing code is the easy part.

  5. #5
    Join Date
    Nov 2003

    Default Re: 12F508 config -- going nuts

    Well, sorry you had hard time configuring the chips.

    I think 12F675 is a fine little chip. If you still want to use it let me know.


Similar Threads

  1. 12F508 OPTION Register
    By sayzer in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 13th January 2013, 00:00
  2. 12F508 strange timing
    By pk7639 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd April 2007, 00:25
  3. calibration clock 12f508
    By volcane in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 5th December 2006, 10:33
  4. Driving me NUTS!
    By muddy0409 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 13th October 2005, 15:06
  5. 12F508 question...
    By muddy0409 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 22nd August 2005, 09:32

Posting Permissions

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