sashijoseph said:Try shorting the contrast adjustment pin(pin3?) of LCD to ground.
The contrast pin should not be shorted to ground. It should be slightly above ground. Use a pot and adjust it.expert said:i have short the contrast adjustment pin(pin3) to ground be4 but still can't work!sashijoseph said:Try shorting the contrast adjustment pin(pin3?) of LCD to ground.
is there any other way?
ravimarcus said:The contrast pin should not be shorted to ground. It should be slightly above ground. Use a pot and adjust it.expert said:i have short the contrast adjustment pin(pin3) to ground be4 but still can't work!sashijoseph said:Try shorting the contrast adjustment pin(pin3?) of LCD to ground.
is there any other way?
Cheers
Ravi
ravimarcus said:I am not sure of the voltage but it is around 100mV to 300 mV above ground.
Cheers
Ravi
1. At 4 MHz, there is no need to insert delay.expert said:my circuit connection is same as the circuit that you shown. the only different is i'm using 4MHz crystal and 8-bit interface.
ravimarcus said:Can you post your code? I can check it and let you know.
Cheers
Ravi
ravimarcus said:I have seen your code. There is a mistake in initialization. I am uploading my code. My code is for 4 bits interface. Please change it to suite your 8 bits interface.
Ravi
Function set has to be done 3 times as per the flow chart in the data sheet that I read a long time back.expert said:can u show me which part of the initialization got problem??
but y i can simulate by simulation software??
ravimarcus said:I have seen your code. There is a mistake in initialization. I am uploading my code. My code is for 4 bits interface. Please change it to suite your 8 bits interface.
Cheers
Ravi
If you assemble the code as is, it will generate the error. I have given you the routines. You will have to insert it in your file with necessary declarations and modifications.there is alot of error in the coding??
do u simulate be4?
debounce movlw .5
bra msecond
ms15 movlw .15
bra msecond
msecond movwf temp
my movlw .250
movwf temp1
mx clrwdt
decfsz temp1,same
bra mx
decfsz temp,same
bra my
retlw 00
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?