> Problem Description:
> ------------------------------
> * I cannot get charecters to show on my LCD Screen.
> * Im not sure if my circuit is correct in terms of an external clock for
> the PIC.
> * I have tried nearly every circuit diagram i have found on the net and the
> matching software, which is for the hitachi controllers none of which seem
> to work.
>
> Parts List:
> ---------------
>
> - PIC16F84A Microcontroller.
> - Ampire AC162B Revision E. 16x2 Backlit LCD screen
> -> LCD Driver IC is a samsung KS0066U.
> - 4.0 Mhz Crystal
> - 2x 33pF Ceramic Capacitors
> - 470 Ohm Resistor.
> - LED
>
> Circuit Description:
> ---------------------------
>
> PIC RB(0-7) Pins are connected to LCD (DB0-7) Pins.
> PIC RA(0-2) Pins are connected to LCD RS, R/W, E Pins.
> PIC Vss grounded.
> PIC Vdd ===> 5v Powersource.
> LCD Pin1 ===> Grounded.
> LCD Pin2 ===> 5v Powersource.
> LCD Pin3 ==> 10Kpot for contrast
> PIC RA3 => 470 Ohm Resistor => Red LED => Grounded.
> PIC RA4 => 470 Ohm Resistor => Red LED => Grounded.
> PIC OSCI => Leg 1 of 4.0Mhz Crystal => 33pF Capacitor1 = > Ground.
> PIC OSCO => Leg 2 of 4.0Mhz Crystal => 33pF Capacitor2 = > Ground.
>
> Questions:
> ----------------
> 1) Is the KS0066U LCD driver compatible with the Hitachi driver for a
> simmilar 16x2 LCD ?
>
> 2) Do you connect the ceramic capacitors between the OSC pins of the PIC
> and the 4.0Mhz crystal or between the 4.0Mhz crystal and ground. I have
> seen pictures on websites where the caps are connected between POC OSC pins
> and the Crystal, whereas the PIC datasheet shows it connected between the
> Crystal and Ground ?
>
> 3) I dont have access to an oscillascope and im not sure if the crystal is
> actually working, or if the PIC is actually running so i connected a
> resistor to RA4 to and LED, and added code to my program to light up the
> LED if the LCD is busy and it didnt come on at all. I then cut out all my
> LCD code and just put in code to turn PORTA HI->LOW to see if it would
> light up the led and it didnt. I checked the pins of the PIC with a
> multimeter, some were 5v, some were 0, but my port A wasnt changing as i
> would have hoped.
>
> 4) Is there an easy way of checking things are all working without having
> to spend hours wiring up a test circuit?
>
> 5) Has anyone managed to get an Apire LCD to display anything, if so do you
> have a circuit diagram that i could look at?
>
> 6) Is there any ticky things i have to keep in mind when writing my
> software and controlling the Samsung KS0066U LCD driver?
>
> Dylan.
>
> --
>
http://www.piclist.com hint: PICList Posts must start with ONE topic:
> [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads