Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just got my ESP8266, but I am unable to program it. Since it can't be connected to via USB, I was wondering if I can program it using an Arduino or perhaps use it as a shield for an Arduino Nano. I haven't been able to find a good guide online. Any help is greatly appreciated.

share|improve this question
    
Why can't connect via usb? – Visual Micro Feb 23 at 14:05

Is it possible to program an ESP8266 12F using an Arduino Nano?

Yes, but it is much easier to use a FTDI for USB-to-Serial adaptation. Two buttons are also needed to activate the ESP8266 programming mode.

Cheers!

share|improve this answer
    
Actually that tutorial has some fairly serious problems. It claims the regulator is an "LM1117" but neglects to mention that this part comes in various voltage ratings, and it neglects to mention capacitors required by the regulator data sheet. The author might have gotten away with it using the part they had on hand, but it is not good guidance. – Chris Stratton Aug 27 '16 at 3:12
    
Could you suggest a link to a better tutorial? Please feel free to update. – Mikael Patel Aug 27 '16 at 8:55

Yes, you can program it with Arduino but its a bit complex that way. You will need a separate Linear Regulator with Adjustable Output to get it hooked up with the Arduino. Its way better to have an FTDI adapter to program it.

But if you still want to know, there is a tutorial below,

Upload Bareminimum sketch so that no program is running on the Arduino.

Circuit Diagram

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.