-->
Page 2 of 2

Re: Error running sketches on WeMos D1 R1

PostPosted: Mon Feb 17, 2020 4:44 am
by schufti
if you get readable response from bootloader @ 115200, try the 40MHz "Crystal Frequency" setting in the Arduino IDE.
Unfortunately they crippled the Wemos D1 R1 board settings, so you have to select "Generic ESP8266 Module" board to get the Crystal Frequency setting.
OR (if you feel confident) add following lines to the d1 r1 section of your boards.txt
Code: Select alld1.menu.CrystalFreq.26=26 MHz
d1.menu.CrystalFreq.40=40 MHz
d1.menu.CrystalFreq.40.build.extra_flags=-DF_CRYSTAL=40000000 -DESP8266

Re: Error running sketches on WeMos D1 R1

PostPosted: Mon Feb 17, 2020 5:11 am
by JurajA
schufti is right. you have a 40 MHz crystal on this D1 R1