using spark funs huge lcd with prop anyone get it to work?
mikediv
Posts: 825
Hey guys I am just not having any luck with LCD's I boguht the spark fun huge LCD it really is huge by the way 160x128 and almost 6 inches across, anyway I am trying to connect it to my prop educational kit with prop stick usb
here are the pin outs
PIN SYMBOL FUNCTION
1 FG FRAME GROUND
2 Vss Power Supply(GND)
3 Vdd Power Supply For Logic(+5V)
4 Vo Power Supply For LCD Driving (Contrast Adjust)
5 VEE NEGATIVE VOLTAGE INPUT/OUTPUT
6 /WR DATA WRITE
7 /RD DATA READl
8 /CE CHIP ENABLE FOR T6963C
9 C/D COMMAND/DATA SELECTION
10 /HALT CLOCK OPERATING STOP SIGNAL
11 /RST RESET T6963C(LOW EFFECTIVE)
12--19 DB0—DB7 DATA BUS
20 NC NO CONNECTION
21 LEDA LED BACKLIGHT POWER SUPPLY(+)(+5V)
I connected the data lines 0-7 to prop pins P0-7 going through 1K 1/4 watt resistors , I also tied the reset of the LCD to ground using a 20mf pico cap, I have a seperate 5V power supply ut using shared grounds. anbd I tied the write data pin to the clk out using some simple prop spin commands randomly dira and outa to set the output pins to high or low I was hoping it would put somehting on the LCD but nothing I would like to just be able to test out the display any thoughts? Thank you
here are the pin outs
PIN SYMBOL FUNCTION
1 FG FRAME GROUND
2 Vss Power Supply(GND)
3 Vdd Power Supply For Logic(+5V)
4 Vo Power Supply For LCD Driving (Contrast Adjust)
5 VEE NEGATIVE VOLTAGE INPUT/OUTPUT
6 /WR DATA WRITE
7 /RD DATA READl
8 /CE CHIP ENABLE FOR T6963C
9 C/D COMMAND/DATA SELECTION
10 /HALT CLOCK OPERATING STOP SIGNAL
11 /RST RESET T6963C(LOW EFFECTIVE)
12--19 DB0—DB7 DATA BUS
20 NC NO CONNECTION
21 LEDA LED BACKLIGHT POWER SUPPLY(+)(+5V)
I connected the data lines 0-7 to prop pins P0-7 going through 1K 1/4 watt resistors , I also tied the reset of the LCD to ground using a 20mf pico cap, I have a seperate 5V power supply ut using shared grounds. anbd I tied the write data pin to the clk out using some simple prop spin commands randomly dira and outa to set the output pins to high or low I was hoping it would put somehting on the LCD but nothing I would like to just be able to test out the display any thoughts? Thank you
Comments
http://forums.parallax.com/showthread.php?p=765574
www.rayslogic.com/propeller/3rdPartyHardware/3rdPartyHardware.htm
From the second reference: "Data bus pins are backwards from datasheet! Pin#12 is the MSBit and Pin#19 is the LSBit...". Might this be your problem?
Jerry
I connected D0-7 to the prop pins P0-7 with 1K resistors in line I think I dont have the other pins connected properly
I put a 10K pot between VDD and VEE with the wiper part of the pot on pin 4 VO but I do not know what other pins to connect
I knew about rays post thats why I bought this LCD its and awesome display by the way , ut he does not show what pins to connect to anyhting his code is nice but if you dont know how to interface the hardware its not much help
Thanks again
·
Jerry
·
22 is grounded
Pin 3 is +5 volts that goes thorugh a 10K pot to pin 5 pin 4 VO goes to to middle of the pot or wiper
DB0-DB7 go to prop pins P0-P7 through 1K resistors so DB0
\\\/\/\/\/
1K resisotr Prop pin P0
pin 11 reset I have a 20 pico cap right to ground so pin 11 LCD
(cap)
ground
I did not use frame ground I just tied pins
6 /WR DATA WRITE
7 /RD DATA READl
8 /CE CHIP ENABLE FOR T69 all through a oull up 1 k resistor to +5 I didnt know what else to do with them and thats it so I am pretty sure I need to do something with more fo the pins, then I just wrote some random spin code dira: outa to the data pins just on or off hoping it would do something on the display so I could at least confirm its working
Ray if you get a chance I would love to know what pins from the display you connected to the prop pins?
Or if anyone else has any recomendations
Thanks all
I think you need to toggle CE in order to read or write from the device...· So, it need to connect to a Prop pin.
I'd suggest you look at the datasheet or the driver code I posted...
Also, I think 20pF for that reset cap might be too small.· I think I used 100nF...
so unless I more blind than I already think I am you must be talking·about somehting I just don't see. I still think I need to have more pins connected to the prop while I have the data 0-7 thats it, I·saw in data sheet about /WR and it says to toggle it high for read but then next line says 90ns so does that mean I should strobe the /RW with a 90ns square wave,, I do appreciate everyones help and I am determined to figure out the LCD displays if it kills me I have several projects with Pics and·props that are just begging for a simple display ..
·
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
I think the easiest path for you is to change these pin definitions to match what you have and try out my test file that uses this driver...
.. If I get this to work I will let you know thanks again
the rest of your code is a bit complex for me but now I have a starting point to help figure out what you were doing with it
thanks again
·Oh Ray in your code you state that you have to manualy enter pins?? can I ask where in the code? I am asuuming by that you mean to enter what LCD DB0-7 pins that are connected to the prop right? thanks
Post Edited (mikediv) : 12/27/2008 1:10:09 AM GMT
I wired it all up on wirless proto board so its easy to change anything , I am giving it a try as we speak I did notice I forgot to install Vss to ground but the backlight is so bright on this thing , from the datasheet it looks like that 10K pot is only for the charactor contrast there is seems to be no way to adjust the backlight is there thanks again.
·