16F877A and LCD HD44780


Closed Thread
Results 1 to 39 of 39

Hybrid View

  1. #1
    Join Date
    Oct 2013
    Posts
    18


    Did you find this post helpful? Yes | No

    Default Re: 16F877A and LCD HD44780

    Archangel,

    Thank you. I added the code you supplied just above the define OSC 20 line and it was enough to initialize the PIC. This is the good news. There are bad news, however.

    1. Something is still missing in the code because applying 1 Vpp from a generator to the diodes of the left and right channels activates only 7 blocks out of 16. Applying 1.9 Vpp activates all 16 blocks. In other words, the VU meter is very insensitive and the logarithmic scale (I believe it uses a logarithmic scale) is way off.

    2. Something is still missing in the code because the button that is connected to pin 35 of the PIC and which is suppose to change configuration of the bars does not change the configuration of the bars but instead in completely resetting the VU meter starting the sequence again.

    Any ideas how to fix this?

    Thank you.

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: 16F877A and LCD HD44780

    Prog seems to run just fine in sim. See attached GIF's. First one steps thro all the modes and both traces are 2 volts. Second just a few modes and 1.5 volts. Both show 2 and 4 Hz traces. BTW if you don't specify config fuses most compilers will insert defaults ditto xtal. The fuses for this prog (from Proteus) is 0x3FFB.

    George
    Attached Images Attached Images   

Similar Threads

  1. 20x4 HD44780 LCD Supplier Recomendations
    By retepsnikrep in forum General
    Replies: 4
    Last Post: - 19th September 2011, 23:43
  2. 2x16 LCD Module with HD44780 + 16F877A
    By comwarrior in forum General
    Replies: 12
    Last Post: - 19th August 2009, 19:38
  3. Lcd Hd44780
    By alaaodeh in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 6th February 2007, 14:04
  4. code for LCD-4x20 HD44780....HELP
    By Martin.... in forum mel PIC BASIC
    Replies: 13
    Last Post: - 24th July 2006, 22:31
  5. LCD 4x20 HD44780
    By inteco in forum mel PIC BASIC
    Replies: 13
    Last Post: - 27th June 2006, 16:52

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts