The single row of blocks means that your LCD controller is not being initialized properly. This is almost always due to incorrect or defective connections.By the way, your display is still upside down - but you will discover this when you get it working.Quotemass(pin5),What does this mean? Pin 5 must be connected to GND (pin 1).Don
Well I meant if you checked the signals using LEDs or logic analyzer.I use LEDs + 4.7k, tag them to ICs or displays using just a little solder.Maybe you can slow down the software, and then you can see specific flashes,otherwise also they should be observeable to light up for an instant.I often had trouble with PIC ICSP in past years, or tristate/alternate pheripherals,tagging LEDs cleared that up.
Sorry, i meant GND. But i've see on the guide the same initialization with a single row of 'black' blocks.
You have connected a resistance of 4.7k between vcc and +LEDs pin?Can you explain me how i can slow software? I need to change parameters in the liquidcrystal library?
Your photographs are not very helpful because there is no single picture where I can trace the wires between your Arduino and your LCD module.
QuoteYour photographs are not very helpful because there is no single picture where I can trace the wires between your Arduino and your LCD module. How about dealing with this problem?Don
Is it correct you power up the LCD directly?The method I use since recently is to wait at least a second (after startup), then power the LCD through digital I/O, then also wait the period mentioned in the manual before initialization.Well it's different if you use a library, or if you do it all manually. It's not that difficult by the way.Your connections seems to be correct and you wrote that you checked them using a multimeter.About the LEDs + 4.7k Ohms, I use high brightness LEDs, they still can be used with 4.7k and this has no impact on the LCD I/O.Slowing down the MCU simply means to choose a different clock frequency (some new PICs have internal oscillator which can be selected via software even after startup). Doesn't Atmel MCU too have internal 8 MHz oscillator?
I've found here datasheet:http://www.geeetech.com/Documents/LCD1602%20White%20Datasheet.pdfBut i can't find what type of resistor i need.
QuoteI've found here datasheet:http://www.geeetech.com/Documents/LCD1602%20White%20Datasheet.pdfBut i can't find what type of resistor i need.That is not the datasheet for your LCD module but it looks fairly typical.Look in the middle of page 6 in section 7. The nominal current for the LED is 110mA and with that current the voltage drop across the LED will be 4.2 Volts. Since you are using a 5 Volt supply the series resistor will have to drop 0.8 Volts. The required resistance is 0.8 V divided by 0.110 A which gives 7.27 Ohms. I would try a 10 Ohm resistor but you could probably use a much larger value and still have a usable amount of backlight. Don
Using a diode is not that uncommon for that kind of voltage drop.
Over the years you'd become familiar with debugging issues, I use MCUs since 2004.