Having an errors while uploading to Arduino mega with wifi module

Hello
I just bought a new Arduino Mega with the Wifi ESP8266 in built in it .
As for test i try uploading the the basic BLINK code from the examples of arduino IDE , but and errors appear as shown below and i have set the control switch 3 and 4 on and the remaining off

`Arduino: 1.8.13 (Windows 7), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Sketch uses 1536 bytes (0%) of program storage space. Maximum is 253952 bytes.

Global variables use 9 bytes (0%) of dynamic memory, leaving 8183 bytes for local variables. Maximum is 8192 bytes.

An error occurred while uploading the sketch

avrdude: ser_open(): can't open device "\\.\COM3": The system cannot find the file specified.




avrdude: ser_drain(): read error: The handle is invalid.




avrdude: ser_send(): write error: sorry no info avail

avrdude: stk500_send(): failed to send command to serial port

avrdude: ser_recv(): read error: The handle is invalid.




avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: ser_send(): write error: sorry no info avail

avrdude: stk500_send(): failed to send command to serial port

avrdude: ser_recv(): read error: The handle is invalid.




avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: ser_send(): write error: sorry no info avail

avrdude: stk500_send(): failed to send command to serial port

avrdude: ser_recv(): read error: The handle is invalid.




avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: ser_send(): write error: sorry no info avail

avrdude: stk500_send(): failed to send command to serial port

avrdude: ser_recv(): read error: The handle is invalid.




avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: ser_send(): write error: sorry no info avail

avrdude: stk500_send(): failed to send command to serial port

avrdude: ser_recv(): read error: The handle is invalid.




avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: ser_send(): write error: sorry no info avail

avrdude: stk500_send(): failed to send command to serial port

avrdude: ser_recv(): read error: The handle is invalid.




avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_getsync(): timeout communicating with programmer



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
The com3 i used seem to be working for Arduino UNO properly , and the com display arduino uno , but in case of mega the com in the device manager did not even appear 
Here are my some personal question arise looking at the errors
1) Should i install arduino ide beta for working this arduino ?
2) Should i have an appropriate USB cable ?
and this is the arduino i bought 
https://www.amazon.in/Robocraze-ATmega2560-ESP8266-Compatible-Arduino/dp/B08MVYHCWL/ref=sr_1_5?dchild=1&keywords=arduino+mega&qid=1622620124&sr=8-5
I am trying to install the Arduino Beta too 
Any suggestion really appreciated , and thanking in advance 
With best regard from
LUCKY
> Blockquote

from `

have you set the switches in the right way?

(source from this tutorial)

1 Like

Yes Sir @J-M-L
I just want to check the working so i just upload the example code

yes i have on the 3 and 4 switches and remaining are off
But my device manager did not even display the Arduino mega even it is connected as shown for the arduino uno
And what more should i do to get this working ?
Please wishing to have an advice
Btw thanking you sir
for the reply

did you install a CH340 driver?

1 Like

Oh sir that was really informative
Should i check that library in my arduino IDE ?
Wait sir i will come to you let me check it
thanking you so much sir @J-M-L

It was the same sir it still do not display
And i will like to mention you i am using Arduino IDE 1.8.13
Maybe i need to have Arduino beta ?
is that right ? sir @J-M-L

Do you see your board in the Serial menu?
It’s a weird board,I’ve not seen lotsof people using it.

No sir @J-M-L
It still did not appear maybe i better change my board
What do say would it work for Arduino Beta ?
Thanking for your concern on my problem
Lucky

If your computer does not see it, the IDE wont be able to upload anything. Again, did you install a CH340 driver?

1 Like

YES yes yes
I am very happy
thank you so much
i was very frustrated yesterday and now i am very happy
thank you so much for all the help you have done for me sir @J-M-L
With love from Lucky(India)

So does it work now?

yesterday you told me to install CH340 , i was searching in the IDE library ( not really checking your message)
but this morning i check your message and it was driver you mention
so i search in the google and i got it
Thanking you so much
i really appreciate you sir

Have fun

1 Like