LCD showing mostly jibberish on 16F716


Closed Thread
Results 1 to 22 of 22

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Posts
    60


    Did you find this post helpful? Yes | No

    Default Re: LCD showing mostly jibberish on 16F716

    After reading more datasheet and looking at the PBP inc file for this chip, the best I came up with in my tired state is to change my first line to....

    @ __CONFIG _WDT_ON & _RC_OSC & _PWRTE_ON & OPTION_REG = %11011000

    Now I'm sure this is wrong, can anyone point me to the idiots guide to setting option regs?
    Thanks

  2. #2
    Join Date
    Dec 2007
    Posts
    60


    Did you find this post helpful? Yes | No

    Default Re: LCD showing mostly jibberish on 16F716

    Henrik,

    That would explain why I can't find an easy way of turning it on and off. Having said that, in my circuit the OSC pins are left floating. How is it doing anything?

    Edit: I think you're right Henrik, I've been trying to make it do something it isn't meant to do.
    I will add a crystal osc tomorrow and change the osc source and see how I go.
    Thanks
    Last edited by davewanna; - 26th May 2015 at 16:41.

  3. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,627


    Did you find this post helpful? Yes | No

    Default Re: LCD showing mostly jibberish on 16F716

    Yeah, with the OSC pins floating it might be picking up noise and running off of that.
    For that device you need an external crystal/resonator or an external R/C network - or an external clock signal for that matter. With both OSC pins floating you have neither.

    /Henrik.

  4. #4
    Join Date
    Dec 2007
    Posts
    60


    Did you find this post helpful? Yes | No

    Default Re: LCD showing mostly jibberish on 16F716

    You're exactly right Henrick.
    I put a 4Mhz osc on it thismorning, works perfectly.

    I'm surprised it worked at all with no external osc components.

    Cheers

  5. #5
    Join Date
    Oct 2009
    Posts
    583


    Did you find this post helpful? Yes | No

    Default Re: LCD showing mostly jibberish on 16F716

    I must admit I'm surprised that it doesn't have a built in oscillator. Thought that all pics had that ??

  6. #6
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,627


    Did you find this post helpful? Yes | No

    Default Re: LCD showing mostly jibberish on 16F716

    Hi,
    Actually, according to the product selector on Microchips website only 18 out of around 375 models (which are in production) is missing an internal oscillator of one type or another. They are:
    Code:
    PIC16F54
    PIC16F57
    PIC16F716
    PIC16F59
    PIC16F1454
    PIC16F1455
    PIC16F1459
    PIC16HV540
    PIC16F818
    PIC16F819
    PIC16F72
    PIC16F73
    PIC16F84A
    PIC16F74
    PIC16F76
    PIC16F77
    PIC18F6520
    PIC18F8520
    So it's close but not quite all ;-)

    /Henrik.

  7. #7


    Did you find this post helpful? Yes | No

    Default Re: LCD showing mostly jibberish on 16F716

    I have used both the pic16f818 and 819 which are in the list. Both have internal oscillators to 8mhz.
    Microchip has one of the worst website/search engines out there.

Similar Threads

  1. Replies: 6
    Last Post: - 19th August 2013, 11:22
  2. 16f716
    By amit28 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 28th November 2007, 17:56
  3. 16f716
    By mwhatley in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 3rd November 2006, 20:35
  4. Showing numbers in diffrent ways?
    By SuB-ZeRo in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 29th July 2005, 15:57
  5. Reading a Hex value from a Modem and showing it as Decimal..
    By Tom Gonser in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 16th March 2005, 17:58

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