my lcd have no text display when using nodemcu esp8266 but when i use arduino nano have text display.
i already scan it 0x27
i already adjust the petiometer at the back of my lcd
i already check the wires
sda = d2
sdl = d1
vnn = vin
gnd = gnd
i already search for how many days but still i can't find what is the problem i hope if anyone can help me .
my code.
#include "Wire.h"
#include "LiquidCrystal_I2C.h"
// create an LCD object (Hex address, # characters, # rows)
// my LCD display in on Hex address 27 and is a 20x4 version
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup()
{
lcd.init();
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("This is");
lcd.setCursor(0, 1);
lcd.print("help me");
}
void loop(){}
Technically everything is correct however you are using the wrong I2C with your LCD. The fact that it works with your Arduino and not with the other devices is a big clue. The LCD needs about 4.5 volts to work, you are supplying 3.3 or thereabouts hence it will not work. At your own risk power the display with 5V, the SCL and SCA are open drain wo they will not pull the lines high. You need to remove the pull up resistors from the display and place them external using the 3.3V instead of the 5V. I have several working this way. They also are selling these rated for 3.3 volts.
thank you for the info @gilshultz i really appreciated your comment so you meaning is i need to pull up the resistor from the display and put it to 3.3v? sorry im newbie
@jamjrrr, your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advise on) your project.
Thanks for trying to apply code tags, as you might have noticed it did not work out as expected. You can edit your post and replace the ticks by back ticks ( ``` ).
Right On! Many modules sold for the Arduino and Pi have pull up resistors on them so check first you may need to only remove them from the display. I have seen these resistors range from about 2K to over 20K. Have fun, the more you work with it the more knowledge and fun you have.