LCD Connections... Help!

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
fish
Posts: 6
Joined: Sun Oct 19, 2008 11:18 am
Location: Somerset
Contact:

LCD Connections... Help!

Post by fish »

I have a LCD display which I want to connect to a PIC. The trouble is is that it isn't working, and i'm not sure why. The LCD Display has the connectors at the top, which I believe is corect. The Software allows for 4 data buses, but the display has eight. I was wondering if I connected these wrong. I have used buses 1-4 as stated in the connections property of the LCD display. The RS and Enable are connected correct.

Does anyone know why this might not be working? have i connected the data busus wrongly?
And yes, there is power going to the LCD, with good contrast.

Below is the document:
http://www.voti.nl/docs/LCD-17-HC200401.pdf

Any help appreciated,
Conor(15)

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: LCD Connections... Help!

Post by Benj »

Hello

The last page of this document shows the schematic for connecting a standard LCD to a microcontroller.

http://www.matrixmultimedia.com/datashe ... 5-30-3.pdf

You will find that the pins connections in Flowcode match the pins that are exposed to the microcontroller. If you are not using Flowcode then how are you developing the LCD driver code.

fish
Posts: 6
Joined: Sun Oct 19, 2008 11:18 am
Location: Somerset
Contact:

Re: LCD Porblem - Still not working >>>>>>

Post by fish »

Hi,
Thankyou for your reply.

Also, thanks for the document.
Everything is properly connected, and I have double checked this.

Unfortunately, the screen still does not work when on the breadboard - but it does if connected to the progrmmer board.

Is there anything you can reccommend doing? I am relly stuck.
Conor :mrgreen:

Azii
Posts: 25
Joined: Tue Mar 03, 2009 12:13 pm

Re: LCD Connections... Help!

Post by Azii »

Hi there,
Have you ever had something on the LCD before or is this your first time that you want to get something on the screen?

Important thing to make sure they are correct is that the adapter on your PICmicro is External 14V ( You can adjust the adapter on the backside ), and you should have a wire from the PICmicro back to the LCD E block, you can use the +4V DC at the PICmicro controller.

Also if it's the first time i can add a little program i wrote to check if the LCD works or not, or you can ofcourse use the LCD_hex.hex test file

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: LCD Connections... Help!

Post by Benj »

Hello

You may want to check your chip configuration settings to make sure that low voltage progframming LVP is disabled.

Also check that your connections for the LCD are correct in Flowcode.

Finally check that you are running the device in XTAL mode with the correct clock speed defined in Flowcode. A one second flasher program will confirm if you are running at the right speed.

Post Reply