Page 1 of 1
Can't get LCD to work with ECIO40p
Posted: Mon Dec 09, 2013 11:35 am
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?
Re: Can't get LCD to work with ECIO40p
Posted: Mon Dec 09, 2013 3:28 pm
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
Re: Can't get LCD to work with ECIO40p
Posted: Mon Dec 09, 2013 4:54 pm
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.
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.
Re: Can't get LCD to work with ECIO40p
Posted: Tue Dec 10, 2013 7:56 am
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.
Re: Can't get LCD to work with ECIO40p
Posted: Wed Dec 11, 2013 12:02 am
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?
Re: Can't get LCD to work with ECIO40p
Posted: Wed Dec 11, 2013 8:19 am
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.
Re: Can't get LCD to work with ECIO40p
Posted: Wed Dec 11, 2013 1:00 pm
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.