I've used my LCD display with a lot of small projects. Now it doesn't work anymore. Most of the diagrams you find online use resistors and potentiometers. However I never done that, but still got it to work nonetheless.
I tried different schematics, but none of them seem to work. So I'm thinking I broke my LCD somehow.
I'm pretty sure the schematic I'm currently using works. The backlight works but nothing is being printed.
Pictures of the project (Warning!! wire hell)
The LCD component is a blue 16x2 1602A v2.0 display. All the components come from the official Arduino starter kit, except for the wires. Though I tested every single wire for continuity, to make absolutely sure the problem was not within the wires themselves. Also, turning the potentiometer doesn't show any blocks, or change anything on the LCD as expected.
Code:
#include <LiquidCrystal.h>
//LiquidCrystal lcd(RS, E, D4, D5, D6, D7);
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
pinMode(6,OUTPUT);
analogWrite(6,90); //sweetspot for backlight without using a potentiometer.
lcd.begin(16, 2);
//lcd.setCursor(0,0);
lcd.print("hello, world!");
}
void loop() {
}
I'm not sure what's wrong, I tested everything I can think off.
I can upload more (cleaner) pictures if requested, I just didn't want to tear down my other project.