LCD serial backpacks


Closed Thread
Results 1 to 40 of 68

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Posts
    33

    Default On my way..

    Yes, was a typo I mean 24h. Yes, I used a 16F628-20 Mhz. I changed the crystal but not the caps, sorry. Mr. Flipper_ND, when I received the error I thought I shouldn’t go on, but I think that you got a point there, I’ll. First I’ll do the test with the two 15-33 pf caps in place and next test sending some data. I’ll report to both of you. Thanks.

  2. #2
    Join Date
    Aug 2009
    Posts
    33

    Default Still lost.

    Let me report to both of you: I changed the caps and same error. I send the serial data and received it but unreadable and there is no clear screen neither. The program I am using reads as:
    PAUSE 1000
    SEROUT PORTB.1, 4, [254, 1] ‘Clear the screen
    SEROUT PORTB.1, 4, [“ABCDE”]
    END
    I don’t know why but the PBP 2.50A compiler doesn’t accept
    SEROUT PORTB.1, N2400, [254, 1]. (Bad Expression) doesn’t like the N2400. I don’t know if there is a distinction between the N2400 and the 4 alone.
    I have spent hours investigating the hardware and the software for any error but find nothing bad. There may be a test program to check the backpack program.
    BTW, To be able to write and compile this four lines “text sending serial program” I had to restore the 16F628 .INC file back to it’s original text. (Take the (;) out).
    Any ideas of what may I doing wrong? Thanks.

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959

    Default

    The standard USART requires "TRUE" levels.
    N2400 is "Inverted".

    Use mode 0 (T2400).

    And to use the N2400, T2400 T9600 etc.
    Code:
    INCLUDE "modedefs.bas"
    DT

  4. #4
    Join Date
    Aug 2009
    Posts
    33

    Default Going in circles

    I did the Include "modedefs.bas" and also sent all kind of modes from 0 to 11 with different characters on the display but none of them good. What I thought would be the simplest trouble shooting became the hardest for me. I don’t know what to do next. Thanks

  5. #5
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959

    Default

    I don’t know what to do next.
    Me neither.

    DT

  6. #6
    Join Date
    Aug 2009
    Posts
    33

    Default Thanks.

    Thank you any ways. I'll keep reading post about it and see what ideas comes up. Thanks to all of you. TimSeven.

  7. #7
    Join Date
    Jul 2007
    Posts
    65

    Post

    Hi Guys

    I was having trouble the other days with serial stuff and Bruce(rentron) pointed me at using PIC to PIC for testing.
    So I setted up a cute 12F683 running it's internal 8mhz osc (then you plug only Power+Ground, it's running), and have a little program sending:
    - TRUE 9600 on one pin with serout,
    - INVERTED 9600 on another with serout,
    - and debug at 38400 on another one, constantly in a loop.
    Validate that your computer can see the data(with a max232) and then you should be able to use it to feed directly a PIC.

    um, let me grab that proggie
    Attached Files Attached Files

Similar Threads

  1. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 20:54
  2. Please help with EDE702 - Serial to LCD interface
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th October 2008, 03:48
  3. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 17:56
  4. Serial LCD
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 15th November 2007, 09:31
  5. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 27th June 2007, 00:07

Members who have read this thread : 2

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