Parallax Serial LCD and issues


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2009
    Location
    Colorado, USA
    Posts
    10

    Default Parallax Serial LCD and issues

    Beginner so be patient. Using MPLAB 8.33, Pickit2 Demo board, and PicBasicPro DEMO compiler (trying to decide whether I should buy PRO or go C). Have Parallax Serial LCD #27977. Trying to write basic code to LCD module with little success.

    ansel = 0
    Define OSC 4
    N2400 CON 4

    High Portb.7
    pause 500

    Serout portb.7, N2400, ["Hello World"]
    End

    LCD module power separate with 5v supply, baud rate jumpers set correct.
    No back light comes on, no visible character appears.

    Using PICF690 with demo board. Portb.7 listed as serial transmission port.
    LCD module has +5, Grd and Rx pin which I connected to portb.7
    Have tried different baud rates and use 8mhz . According to info I gathered this should work. Any comments, offerings appreciated.

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


    Did you find this post helpful? Yes | No

    Default

    No back light sounds like a bad LCD or power problem.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Aug 2009
    Location
    Colorado, USA
    Posts
    10


    Did you find this post helpful? Yes | No

    Default Parallax LCD and backlite

    I know the back light works because if I set jumpers on LCD module to TEST and apply 5v the back light comes on and PARALLAX INC, etc is spelled outon the module. Rests jumpers to 2400 Baud rate and nothing with program I described in note. All examples for PIC Basic Pro use LCD modules designed for Hitachi 44780 controller or equivalent which I believe use parallel input. I thought for serial input this LCD controller would work. SO question does PBP software support serial input ?? Hope this makes sense .. getting to limit of my understanding ........ thanks for any input.

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


    Did you find this post helpful? Yes | No

    Default

    I just looked at the documentation from Parallax and it looks like you should be using T2400.

    And scratch
    N2400 CON 4
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Aug 2009
    Location
    Colorado, USA
    Posts
    10


    Did you find this post helpful? Yes | No

    Default RS-232 serial data transmission with Pic16f690

    Tried about everything. My Parallax seria LCD connected to TX Portb.7 and both using T2400 and N2400 baud rate did not change anything. Had friend check LCD module with "C" program and pickit2 and works fine so module is good. Friend knows "C" but not Pic Pro but believe issue could be using Pro Demo software .. of course wants to convert me to "C"

    ansel = 0

    T2400 Con 0

    High portb.7
    pause 100

    Serout portb.7, T2400, ["Hello"]
    end

    Basic program I have tried with lots of variations but I think this should work from all that I have read.

    Is there any additions, changes to above or examples of small example software to just write one character that is available.

    Thanks

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


    Did you find this post helpful? Yes | No

    Default

    T2400 Con 0
    is pretty much setting the baud to "0"'

    Like I said before, scratch the CON

    Here is a project using a serial LCD
    http://www.rentron.com/PicBasic/one-wire3.htm
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. Quadrature encoder and ASM Interrupts. questions..
    By godfodder in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 17th March 2013, 14:45
  2. A2D issues on PIC16F876A
    By earltyso in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 31st July 2008, 14:06
  3. Migrating from PIC16F690 to PIC18F4525 and having LCD issues
    By jblackann in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 6th June 2008, 20:05
  4. LCD output and data types
    By oldcarguy85 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 2nd August 2007, 06:01
  5. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 12:22

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