pass pic basic pro pic from pic 16f877a to pic 16f887


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: pass pic basic pro pic from pic 16f877a to pic 16f887

    Name:  symmetric power supply.jpg
Views: 1420
Size:  458.0 KB

    I attached the image of the symmetrical power supply circuit, at the output of the positive voltage it has a voltage divider and at the output of the negative voltage it has a voltage comparator in inverter mode, so the code works perfectly with the pic 16f877a, in the 20x4 display the result of the negative and positive voltages flicker a lot, the objective is to correct this fault, and pass the code to work with the pic 16f887.

    thanks
    José

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,645


    Did you find this post helpful? Yes | No

    Default Re: pass pic basic pro pic from pic 16f877a to pic 16f887

    so
    a xtal osc freq unknown
    no OSC statement in pbp code
    and still not a clue about the config settings used
    no idea of how osc is treated in proteus
    and a cropped schematic thats barely readable
    no idea of how the 877a was setup in comparison
    Warning I'm not a teacher

  3. #3
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: pass pic basic pro pic from pic 16f877a to pic 16f887

    I assume you have a data sheet for your LCD. First, only update the screen when a value changes. This means tracking "OldVolts" through a separate variable. Next, when you DO update, only update the new values; in other words, don't update the whole screen, don't update the whole line, in fact, only update the actual characters that have changed. Another common issue is sending the Erase Screen command every time you want to change something. DON'T! Just update the changes. (Again, it is explained in common LCD data sheets how to change only 1 DDRAM address without having to reload the entire screen.)

Similar Threads

  1. Trying to integrate Visual Basic with PIC 16f877a
    By vtolentino in forum General
    Replies: 3
    Last Post: - 9th March 2011, 09:22
  2. serial interface pic 18f452 using pic basic pro
    By syed ahmed in forum Serial
    Replies: 0
    Last Post: - 16th May 2010, 05:46
  3. PIC BASIC or PIC BASIC PRO
    By kirkmans in forum USB
    Replies: 3
    Last Post: - 20th April 2007, 00:52
  4. Replies: 5
    Last Post: - 17th January 2006, 19:26
  5. help pic basic pro
    By f6ggy in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 29th September 2003, 00:55

Members who have read this thread : 1

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