here is the link to the datasheet...
http://www.bipom.com/lcds/manuals/lcd2041.pdf
thanks for the help...
danny
here is the link to the datasheet...
http://www.bipom.com/lcds/manuals/lcd2041.pdf
thanks for the help...
danny
Is the protocol select jumper set for TTL or RS232?
If it's setup for RS232 then you should be able to talk to it with the Matrix uProject software. If not, check your comms wiring.
If it's setup for TTL then you should be able to use the PIC with inverted serial.
Have you tried resetting it to factory defaults? Might not be a bad idea just so you know it's at a specific baud rate.
Do you have a common ground between the LCD & PIC power supplys?
i have tried uproject, i changed the startup screen and displayed some stuff on it, then i made some custom characters... i tried changing the baud rate, but it didnt seem to work. i have since changed it to ttl by desoldering the rs232 contacts and soldering across the ttl ones.. i checked them with a mm and everything seems to be right.. it still displays my startup screen and displays other weird characters when the pic program tells it to display the "hello world".
my setup has both the pic and the display running off of one 1A 5V reg, and a 6V battery. so it shares the same ground and the same power.
danny
Most 1A 5V regulators require >6V input to maintain a regulated +5V out. Have you tried bumping up the input voltage to your regulator?
i measured across the output on the vreg while under load, and i still get 5v so i dont think that is the problem, but to make sure, i also hooked up 9v to the input and im still getting the same problem...
Try this and see what happens;
Do any of these print as expected?Code:@ DEVICE MCLR_OFF, HS_OSC, WDT_OFF, LVP_OFF, BOD_OFF, PWRT_ON DEFINE OSC 10 CMCON = 7 Pause 2000 start: SerOut2 PORTA.3, 17197,["N1200"] Pause 2000 SerOut2 PORTA.3, 16780,["N2400"] Pause 2000 SerOut2 PORTA.3, 16468,["N9600"] Pause 2000 SerOut2 PORTA.3, 16416,["N19200"] Pause 2000 SerOut2 PORTA.3, 813,["T1200"] Pause 2000 SerOut2 PORTA.3, 396,["T2400"] Pause 2000 SerOut2 PORTA.3, 84,["T9600"] Pause 2000 SerOut2 PORTA.3, 32,["T19200"] Pause 2000 GoTo start End
Try using a different port pin and see what happens.
thanks bruce.. i wish i had thought of that... as soon as i saw the code you wrote, it just kinda clicked that i should have done it 2 days ago... so it works with t19200 so i needed to use "32"... so i put that # back into my original code, and it displays the "hello world" multiple times..
with my code, it repeats itself every 2 seconds, so the first time it display the "hello world" the hello is all messed up, and it displays world fine... then the second cycle it displays everything fine... so the display looks like
B PPx world hello w
orld hello world hel
lo world hello world
@ DEVICE HS_OSC
DEFINE OSC 10
cmcon = 7
TRISA = %00000000
TRISB = %00001000
lcd VAR PORTA.3
baud CON 32
Pause 2000
start:
SerOut2 lcd, baud,[" Hello World"]
Pause 2000
GoTo start
End
thanks for all your help.. i think im finally learning a bit!!!
danny
Bookmarks