Can't get LCD to work with ECIO40p

For users of Matrix Multimedia Electronics software to discuss projects, circuits and any other electronics concepts.

Moderators: Benj, Mods

Post Reply
Klipeti
Posts: 13
Joined: Wed Oct 30, 2013 6:30 am
Has thanked: 1 time
Contact:

Can't get LCD to work with ECIO40p

Post by Klipeti »

Hi.
I'm again having trouble with ECIO40p :/
The LCD display is 16x2, model W162B-N3LW
I should have right connections etc but it still doesn't work on ECIO.
However, I managed to get it work with PIC16F88 on multiprogrammer.
Connections are the same, program is the same except for different processor. The program just prints "test" on screen.
Only difference I have noticed that on multiprogrammer board there is this RC / XTAL switch. Program works on RC, not on XTAL. Is this the reason LCD doesn't work with ECIO?

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times
Contact:

Re: Can't get LCD to work with ECIO40p

Post by dazz »

Hi
Can you post you flowchart please as it difficult try to to help without one, also can you tel us how you have connected the lcd

Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

Klipeti
Posts: 13
Joined: Wed Oct 30, 2013 6:30 am
Has thanked: 1 time
Contact:

Re: Can't get LCD to work with ECIO40p

Post by Klipeti »

As I said it works with multiprogrammer w/ 16F88, but not with ECIO.
Here's the program for 16F88. The program for ECIO is exactly the same, except for different processor of course.
16f88_lcd_test.fcf
16F88 program
(5 KiB) Downloaded 598 times
And here's how I connected LCD. The picture is kinda big, so I suggest opening it in it's own tab. I didn't have my original connection picture at hand, so I drew this in paint. LCD is connected the same way.
lcd circuit .png
LCD connections
(82.78 KiB) Downloaded 4230 times

Klipeti
Posts: 13
Joined: Wed Oct 30, 2013 6:30 am
Has thanked: 1 time
Contact:

Re: Can't get LCD to work with ECIO40p

Post by Klipeti »

For unknown reasons, the LCD started working!
...But now I made a little change to printed text in program, and send it to ECIO but it won't work. Strange. Change I made just altered printed text...

And it works again o_O
Dunno why, but I don't care as long as it works.

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: Can't get LCD to work with ECIO40p

Post by Benj »

Hello,

I'm not aware of any issues with the ECIO and the LCD, in fact I have used the combo a lot over the years. If you find any pattern to the problem then let us know and we will do our best to help.

Are you using the ECIO application board or wiring direct to the LCD. If your wiring then how long are your wires?

Klipeti
Posts: 13
Joined: Wed Oct 30, 2013 6:30 am
Has thanked: 1 time
Contact:

Re: Can't get LCD to work with ECIO40p

Post by Klipeti »

It's been working fine now.
I have directly wired LCD to ECIO, wires are about 10cm long.
If I detect where my problem was, I'll tell you.

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: Can't get LCD to work with ECIO40p

Post by Benj »

Hello,

Wires about 10cm should be ok but going any longer will likely cause issues as the wires start to act as transmission lines and you get problems like reflections which can corrupt the signals getting to the LCD.

Someone did a forum post a while ago on how to overcome this problem using resistors and capacitors at the LCD end of the cable should you need to use a longer cable.

Post Reply