Help for my project(16f877,2x16LCD,)


Closed Thread
Results 1 to 22 of 22

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    but the word "value" always flickering , why ?
    Probably because something is overwriting it or clearing the screen, then you re-print the VALUE on the LCD...

    as i said before , whene there is 5V , i don't want any bars , there must be full bars at 3.9V
    Simple math
    Minimum = 5V (1023 ADC counts)
    Maximum = 3.9V (798 ADC counts)
    Spread = 1.1V (225 counts)
    raw = 1024 - raw 'flips the value upside-down
    raw = raw / 14 '14 counts per box, assuming 16 boxes
    Surely you can do something with that...

  2. #2
    Join Date
    Mar 2008
    Posts
    13


    Did you find this post helpful? Yes | No

    Default

    Okey my friend , thank you for your patience and for your helps
    Today is enough for me ;
    i'm working about this project from 9 o'clock to now.
    I think , it's time to make my brain free.
    And one last question ; i don't know that you are interested in integrated circuits; if you are ; i want to ask something.
    I have 2 op-amps LM358 and i learned that , the maximum supply current for LM358 is 600mA . I have a power supply with 6-9-12-15 adjustable ; and it says , it can give a current of 2.5A
    So, if i connect it to my op-amps , do they blow out ?
    Thank you .

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    The op amps will be fine. The PS rating is the maximum it can handle, the op amps will only draw what they need.

    As for the flicker, you need a pause of maybe 100 in the loop.
    Dave
    Always wear safety glasses while programming.

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