Bipin
Bipin

Reputation: 1

How to upload example code of ESP8266 to arduino uno?

I am using ESP8266-01 with Arduino Uno... I am able to compile example code of ESP8266 with Generic ESP8266 module board with arduino ide but unable to upload it to Uno...., it is giving an error: espcomm_upload_mem failed while uploading the code to Uno

Upvotes: 0

Views: 717

Answers (2)

cagdas
cagdas

Reputation: 1644

Esp8266 generic example will not run on Arduino Uno. Possibly your device is selected as Esp8266 from Device Manager as gurus said. What you need to run Uno with Esp is writing Esp8266 serial controller to Uno. Here is the sample. Good luck.

Upvotes: 0

Richard210363
Richard210363

Reputation: 8406

How the code is compiled is based on the board you have set in the Arduino IDE.

Before you compile and upload, have you switched the IDE to use an Uno board?

In the Arduino IDE try: Tools | Board | Arduino Uno

Upvotes: 0

Related Questions