have you tried looking up the driver chip to see if it is compatible? have you tried to adjust the display contrast with a pot rather than connecting it to a 3v3 pin? youll probably want a series resistor in there, and definitely one for the backlight, again, id recommend a pot. 10k works well for me. connect the two outside pins to v+ and v- and the wiper to the contrast pin.
using analogWrite(pin, 50); worked well for me on a 16x2 lcd, connecting the contrast pin to a pwm/analog pin instead of a pot. values above 100 were not useful IIRC. as for the backlight, its pretty linear with the brightness.
I did a small review on the wiring. It seems to be ok. However, as mentioned in the previos comment, there could be a contrast issue: I suggest to use a variable potentiometer.
One end to VOUT
Other end to VSS (GND)
Wiper to V0
I do not think that this will work at all. The contrast pin of the LCD often requires a voltage outside the range of 0..5V. This can not be generated by analogWrite(). Use a var. pot. instead!
I live on a Island called Mayotte where a pot. is hard to find !
The post service are very slow (approx. 3 month to get my glcd from dx after shipping)
I've tried to connect the contrast to 0, 3.3V, 5V and differents values that I made with some resistances.
I can assure you the at 3.3V and 5V the contrast is very high.
I realy think that my problem is not here...
Thanks.
Ok, i see your problem. Nevertheless: Please measure the voltage at Vout. If it is negative you will probably need two suitable resistors to get the correct negative voltage which must be applied to v0.
In general: By applying some different voltage, you must be able to see and not see all the pixel.
If all this is ok, then another idea is to send a picture of your setup, so we can have a look at it.