16f877 Unused Pins


Results 1 to 9 of 9

Threaded View

  1. #7
    Join Date
    Sep 2007
    Posts
    19


    Did you find this post helpful? Yes | No

    Default LCD damaged by hardware/software?

    I use LCDOUT with DB4-DB7 on PORTB.0-PORTB.3, RS on PORTC.1, Ebit on PORTC.0 on 16F886. Starting BIT is set to 0. Will setting TRISB and TRISC even not set correctly can damage the LCD as well the PIC itself?

    example TRISB=00000000 and TRISC=00001111 as used before, works fine till I noticed something that TRISC shows last four inputs and I changed it to TRISC=00000000, the result is damaged. all are set for DIGITAL Modes (ANSEL).

    Does it have to have TRIS set correctly for use with LCD?

    I have about ten units running fine with TRISB=00000000 and TRISC=00001111 working fine, then the two units failed with modified TRIS's TRISC=00000000. Maybe the TRISB needs to be 11110000 and TRISC set to 00000011?
    Last edited by hvacrtech; - 24th September 2009 at 19:18. Reason: changes in wording

Similar Threads

  1. 16F877A Pullups/Pulldowns and unused pins
    By DavyJones in forum General
    Replies: 6
    Last Post: - 17th April 2009, 01:39
  2. Change On Interrupt, PIC16F884
    By elec_mech in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 14th November 2008, 17:25
  3. Five unused pins and one resistor
    By Cabomba in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th May 2007, 18:07
  4. Unused pins
    By manxman in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 4th May 2007, 22:24
  5. Interrupts and Disable 16f877
    By Rob Martin in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th April 2005, 21:08

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