I want to interface LCD keypad shield directly with WeMos D1 wifi board when i try to burn the code using arduino IDE, program burnt successfully but it shows an error in serial terminal
error in serial console without showing anything on LCD:
"ets Jan 8 2013,rst cause:4, boot mode:(3,4)
wdt reset
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v614f7c32
~ld
"
when i use "'blink" program in WeMos D1 it works fine, power supply and all the parameters are correctly defined. i have also tried 12V SMPS power but same error with LCD code.
if it is assumed that this problem is with level conversion b/c ESP uses 3.3v while LCD shield is for 5V, so with removed LCD Shield it also restarts with same code
code for LCD
#include <LiquidCrystal.h>
// initialize the library by associating any needed LCD interface pin
// with the arduino pin number it is connected to
const int rs = 8, en = 9, d4 = 4, d5 = 5, d6 = 6, d7 = 7;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
// Print a message to the LCD.
lcd.print("hello, world!");
}
void loop() {
// set the cursor to column 0, line 1
// (note: line 1 is the second row, since counting begins with 0):
lcd.setCursor(0, 1);
// print the number of seconds since reset:
lcd.print(millis() / 1000);
}
with BLINK Program it is working fine