Questions about PIC16F677


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2006
    Posts
    14

    Default Questions about PIC16F677

    I begin a project with PIC16F677 and I should like to ask the experts of
    this forum some questions.Here are some details of my application:
    1-Pins RA0, RA1 and RA3 are free. If I use internal pull up resistor for
    RA3/MCLR can I let this pin floating and save diode protection during programming?
    2- Pic will be feed through a batery and should be sleeping as much time
    as possible. I will use RA2 as an analog input and I pretend to use IOC
    for waking up the system when input RA2 changes but
    Which is the minimum input volt change for starting an IOC action?
    Is it a risky situation to use IOC for reliable operation of the system considering input signal RA3 is generated by an op-amp with high gain?
    3- For generating previous description I imagine I have to setup these registers:
    TRISA, ANSEL, IOCA, INTCON,ADCON0, ADCON1 and for disable comparators
    CM1CON0 and CM1CON1=0 but Do I forget anything else?
    Thank you in advanced for any help
    -Francesc

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by fnovau View Post
    I will use RA2 as an analog input and I pretend to use IOC
    for waking up the system when input RA2 changes but
    Which is the minimum input volt change for starting an IOC action?
    When the PIN is in Analog mode, a digital "Read" always returns 0.
    Therefore, an IOC will never happen.
    <br>
    DT

  3. #3
    Join Date
    Mar 2006
    Posts
    14


    Did you find this post helpful? Yes | No

    Default Questions about PIC16F677

    [QUOTE=fnovau;48669]I begin a project with PIC16F677 and I should like to ask the experts of
    this forum some questions.Here are some details of my application:
    1-Pins RA0, RA1 and RA3 are free. If I use internal pull up resistor for
    RA3/MCLR can I let this pin floating and save diode protection during programming?

    Does anybody can answer or give me any hint about question 1?

  4. #4
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    >>1-Pins RA0, RA1 and RA3 are free. If I use internal pull up resistor for
    RA3/MCLR can I let this pin floating and save diode protection during programming?

    Yes - if you are using RA3 as MCLR (MCLRE = 1), the internal pull-up will keep it high so you do not need to tie this pin to anything, which saves the diode between the pin and the VDD rail. However, if you are in a noisy environment, you might want to consider using the internal MCLR pull-up (MCLRE = 0) or add the diode and a 1.0K resistor in line to the rail.
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

Similar Threads

  1. Two quick (and elementary) questions.
    By scorpion990 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 26th June 2008, 23:03
  2. A few 12F683 questions
    By dhouston in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 24th May 2008, 03:54
  3. Usart Questions
    By shawn in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th March 2008, 01:17
  4. Still new to PicBasic - i2c questions
    By cometboy in forum mel PIC BASIC
    Replies: 4
    Last Post: - 13th November 2006, 18:27
  5. Hi Everyone! Some newbie questions :-)
    By guest_05 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 28th October 2006, 22:24

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