lcd with Hserout and a max232 connections? help


Results 1 to 7 of 7

Threaded View

  1. #1
    Join Date
    Jul 2007
    Posts
    65

    Default lcd with Hserout and a max232 connections? help

    Hello

    I wanted to drive my serial LCD with Hserout (for a test), on a pic16f628a, but I can't seem to shoot understandable data on the tx line.

    First I realised it wanted an inverter, so I plugged a Max232, and used only the inverter feature(removed capacitor on the -10 +10 v port... multimeter agreed it does the job).

    But i'm still getting trash data on the display...

    here is the code
    :
    ' Initialize USART
    input portb.1
    output portb.2
    RCSTA = %10010000 ' Enable serial port and continuous receive
    TXSTA = %00100000 ' Enable transmit and asynchronous mode
    define HSER_BAUD 9600
    define HSER_CLROERR 1

    hserout [12,"* LED FADER *"]


    see jpeg for circuit layout (may be wrong...)

    Attached Images Attached Images  

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