user2742: I've hooked up my Arduino on this LCD, and after running the following code, all I see is a row with black boxes and another one empty.
//LiquidCrystal d(RS, E, D4, D5, D6, D7);
LiquidCrystal lcd(0, 1, 2, 3, 4, 5);

void setup() {                
     lcd.begin(16, 2);
     lcd.print("hello, world!");
}

void loop() {
     lcd.print("hello, world!");       
}

Wiring:

(The UTP cable is used just for the data lines :-)
Actual wiring photos: (sorry for the total klutz in the wiring, I had limited solid-core wires so I had to use these scrap ones)




user2742: The problem was that the R/W pin on the LCD was left floating, after I connected it to GND, I started working :)

2742: <p>I've hooked up my Arduino on <a href="http://arduino.cc/documents/datasheets/LCD-WH1602B-TMI.pdf" rel="nofollow noreferrer">this</a> LCD, and after running the following code, all I see is a row with black boxes and another one empty.</p>

<pre><code>//LiquidCrystal d(RS, E, D4, D5, D6, D7);
LiquidCrystal lcd(0, 1, 2, 3, 4, 5);

void setup() {                
     lcd.begin(16, 2);
     lcd.print("hello, world!");
}

void loop() {
     lcd.print("hello, world!");       
}
</code></pre>

<p>Wiring:
<img src="https://i.stack.imgur.com/nZumv.jpg" alt="table showing wiring between arduino and lcd"></p>

<p>(The UTP cable is used just for the data lines :-)</p>

<p>Actual wiring photos: (sorry for the total klutz in the wiring, I had limited solid-core wires so I had to use these scrap ones)</p>

<p><img src="https://dl.dropboxusercontent.com/s/t7u0e8jt2640zep/Photo%2008-06-14%2008%2031%2013%20PM.jpg" alt="wiring">
<img src="https://dl.dropboxusercontent.com/s/o9hg6i5drzva1x8/Photo%2008-06-14%2008%2031%2020%20PM.jpg" alt="wiring">
<img src="https://dl.dropboxusercontent.com/s/3ugmxr0ddjcpz4x/Photo%2008-06-14%2008%2031%2031%20PM.jpg" alt="wiring"></p>
 2742: <p>The problem was that the R/W pin on the LCD was left floating, after I connected it to GND, I started working :)</p>
