I used a wiring diagram and some sample code to make an LCD say hello world. It didn't. What instead happened was the screen just didn't display anything. It lit up, but didn't show any text. After a little bit of tweaking with the wires and such, I got it to the point where it could display some boxes on the top row, but still no text. Here are some pictures I took:
You forgot to post it! (Use code tags please)
That's my bad xD
#include <LiquidCrystal.h>
const int rs = 12, e = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
LiquidCrystal lcd(rs, e, d4, d5, d6, d7);
void setup() {
lcd.begin(16, 2);
lcd.print("Hello world!");
}
void loop() {
}
I can't see a problem with wiring or code.
Test each of your Dupont wires. They are often unreliable.
Will do! Progress report coming soon.
may be the contrast is too high.
i was just bout to say that
I'm not sure if this is good or bad lol but all of the wires are working.
Nevermind, I got it fixed!
...mind, it unfixed
Nevermind again, I got it fixed!
what was the issue?
I have heard if the rw line isn't used, it should be connected to gnd.
Just what I heard.
Edit: Never mind. It is grounded with a red wire.
Nope.
Look a the display. If the contrast were too high, ALL the positions / pixels would be on.
This is not the case.
Sounds very dodgy.
Re-build the circuit on a different part of the breadboard. It's not easy to tell if the breadboard is damaged or faulty internally.
Did you solder the pins into the display? The soldering looks ok, except maybe for pin 16. Maybe try re-heat them all with the iron for a few seconds each, adding a tiny bit more solder.
It's working now! Thanks for all your help!
But do you know why it started working?
It may help others with similar problem in future.
I think maybe the LCD was shot. I tried it with a different one, and that's why it worked.
well great, im having this problem and i might have the same fix but i only have one LCD that came with the starter kit