I wired this lcd up and ran the hello world, but its not working. ive triple checked my wiring and cant find anything wrong!
I also changed the code in hello world to match the pins on the arduino (2,3,4,5,6,7)!
i hope these photos help!
all black leads are ground and red are 5v, rainbow is RS, E and data pins.
Pin 3 on your LCD has a red wire. You said that the red wires are connected to 5v but I think pin 3 should be used as a contrast adjustment.
For the 16 x2 LCD currently on my breadboard, pin 3 has to be tied to ground. Even connecting it to ground through a 10 K ohm resistor doesn't work. (It's okay with a 300 ohm resistor.) I'm not sure why it acts this way - I think I've got it properly grounded using pins 1 and 16 but it does. I did spend a whole $2 on this LCD so maybe it's faulty. Experience has shown that it's more likely to be me.
Also, are you sure that you've got D5 and D6 correct? They look switched to me.
In my first response, I suggested you look at D5/D6. You responded that you'd rechecked the wiring but you didn't specifically address these two.
In your original post:
the pins go brown, red, orange , green, yellow, blue . and these are RS, E, D5,6,7,8.
arduino (2,3,4,5,6,7)
I think that the LCD nomenclature is actually D4, D5, D6 and D7. Using these pin assignments and your first picture, the yellow wire is connected to pin 5 and is LCD D5.
In the second picture, the yellow wire is connected to LCD D6 instead of D5.
Could the LCD be busted? or tbhe arduino? both are brand new!
If you can execute other sketches on the Arduino (e.g., "Blink"), I think it's unlikely that the Arduino has failed. I have ordered LCDs from eBay several times and some of the devices don't exactly agree with the spec. I think this is true with my current breadboarded LCD. All the devices I've purchased have worked, sometimes they've worked eventually.
Your plan to use an alternate LCD should help isolate the problem.