How to use Analog interrupt in 16f72


Results 1 to 5 of 5

Threaded View

  1. #3
    Join Date
    Aug 2008
    Posts
    22


    Did you find this post helpful? Yes | No

    Default

    Hi jerson,

    Thanks for ur response.I am designin UPS control operation using 16f72.my confusion is how to know whether main is present or not.

    1.If main is present,operation continues with main power
    2.if not inverter should continue the task.

    here power failure indication is one i/p to PIC.so,i am thinkin to connect it to RB0/INT.so that i can start inverter.in case of power resumption,i should start the main with some delay,
    i used the intr routine like,

    ;power failure condition
    ;RB0/INT vector
    org 0x04
    btfsc INTCON,INTF ;in case power failure i/p is 0,start main.
    goto inverter_start
    goto start_main

    Plz give ur suggestion.

    I have another doubt.I used LCD display to display the character,
    i used the code like

    movlw "U"
    call disp
    movlw "P"
    call disp
    movlw "S"
    call disp


    If i use like this will increase the memory.i want to save the memory,so instead of these,can i use DB or DT

    like
    dt "UPS"
    call disp


    -Regards,
    Raja.
    Last edited by kvrajasekar; - 2nd September 2008 at 06:46.

Similar Threads

  1. Won't go back to SLEEP after 1st Interrupt
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 29th June 2009, 09:00
  2. Can't ID interrupt source with this IntHandler??
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 3rd June 2009, 02:35
  3. Help with Analog Interrupt
    By brid0030 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 13th February 2008, 18:14
  4. NEWBIE: Some basic questions using interrupts
    By JackPollack in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th March 2006, 02:59
  5. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 01:07

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