-->
Page 1 of 4

Wemos D1 Mini Pro - Upload Sketch, doesn't run the program

PostPosted: Mon Feb 15, 2021 10:18 am
by lrossel
Hi,

I recently received from Aliexpress 10 board Wemos D1 Mini Pro 16Mb.

The first weird thing I noticed was the high COM port detected when I connected the boards trough the USB cable. COM7 or higher.

I followed the usual procedure to upload a simple test sketch I used to program another Wemos (same version) with Arduino IDE.

When I upload the sketch, all seems ok. Led blynks, and Arduino IDE shows a normal upload process to 100%.

But the test code doesn't run.

This is the test code

Code: Select allvoid setup() {

  Serial.begin(9600);
}

void loop() {

  Serial.println("Hello");
  delay(1000);
}


This is how the program runs in my old Wemos
Image

This pic shows the new Wemos received not working
Image

My old wemos is detected in COM4
Image

The new Wemos are detected at high COM ports
Image

At first I tough it was a computer problem. The I installed Arduino IDE on another computer, configured for ESP8266, and tried to upload and run the same test skecth, but now, the COM port detected was COM4, but still the program doesn't run on the new Wemos boards.

Any ideas? I'm very frustrated, how it's possible to receive 10 boards with the same problem?

Re: Wemos D1 Mini Pro - Upload Sketch, doesn't run the progr

PostPosted: Tue Feb 16, 2021 6:55 am
by jankop
You claim to have Wemos with 16 MB of memory, but you stubbornly set up 4 MB in the Arduino IDE. Why, for what reason? Did you try manual reset after uploading the program?

Re: Wemos D1 Mini Pro - Upload Sketch, doesn't run the progr

PostPosted: Tue Feb 16, 2021 9:05 am
by lrossel
Yes, you are right. I just used my usual IDE configuration for ESP8266 that worked with my other Wemos D1 Mini Pro 16Mb.

This is my old Wemos.
Image

Back view
Image

Now, I'll set up for Wemos D1 Mini Pro
Image

Upload OK:
Image

Test Running OK
Image

Now, I'll do the same with one of the new Wemos

This is the Wemos received, It seems to be the same (I purchased the same Wemos Mini D1 Pro 16 Mb):
Image

Picture of the back side. It looks the same
Image

Plugging the new Wemos to the USB cable. COM port detected very high.
Image

Upload seems normal. Blue led on board blinking.
Image

But the simple test program doesn't run
Image

When I press the reset button on the Wemos board, just show some garbage on the serial monitor.
Image

Re: Wemos D1 Mini Pro - Upload Sketch, doesn't run the progr

PostPosted: Tue Feb 16, 2021 10:47 am
by QuickFix
Could you set the baud rate of the serial monitor to 74880 Baud and reset the Wemos for us?
That would/could give you the actual error message. :idea:

SerialBaud.png