axel0909 wrote:Hi i am using wemos D1 R1
...
Any one to help me please ?
The Wemos D1 R1 is just like any other Wemos/NodeMCU development board, the only difference being it having an Arduino UNO-like form factor.
Please note that, although the Wemos D1 looks like an ATMEL based UNO, it isn't capable of doing the exact same things as an ATMEL DUO can; it only looks like a UNO.
But back to the problem, which can be solved using the same procedure as with all other USB-UART based ESP developments boards:
- Remove everything (and I mean everything) from the board, including the USB cable
- Have a look at the USB -> UART convertor on board; it should either be a CH340 (which is shaped rectangularly) or a CP2102 (which is square shaped).
This chip should be in the vicinity of the USB connector.
The original (and most clones of) D1 R1 boards use the CH340, but you'd better check to be sure - Download the driver for the convertor used:
- Install the just downloaded driver on your system
- Open the "Device manager" by right-clicking the Windows "Start"-button and choosing "Device manager"
- Expand the node called "Ports (COM & LPT)" (note: the tree might be empty at this point)
- Now, while watching the screen, insert the USB cable into the development board
If all's well, you should see an extra item being added:
Make a note of the COM-port displayed (in above example, on my machine, it's "COM10")
If nothing happens at all:- Check cable
- Replace cable
- Re-install USB driver
- If that all fails: try on another machine
- If that fails as well: at best the convertor on your board is defective
- Open the Arduino IDE and go to "Tools" -> "Port" -> "COMx", where x is the COM-port you just noted down (you can leave the other settings as-is for now)
- Invoke the serial monitor by selecting "Tools" -> "Serial monitor" or by pressing CTRL+SHIFT+M
- Set the baud rate (at the bottom right) to 74880 Baud and press the "RESET" button on your development board; you should see something similar to this: