Use Arduino Due To Program and Test ESP8266
Use Arduino Due To Program and Test ESP8266
Table of Contents
Step 2: Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
http://www.instructables.com/id/Use-Arduino-Due-to-program-and-test-ESP8266/
Intro: Use Arduino Due to program and test ESP8266
If you want to program an ESP8266 (Wifi SoC) you will normally use a USB to serial adapter like this one. In case you do not have one but you have an Arduino Due
laying around you can rig the Arduino as a bridge to program and test the ESP8266. Please be aware it does not make sense to buy an Arduino Due just for this purpose
because it is usually more expensive than the FTDI chip (USB to serial).
Arduino Due is in particular good for this purpose because it does not need any level shifters. Arduino Due works at 3.3V which is compatible with the ESP8266. Here
you have the steps how to do this:
Step 2: Wiring
The wiring is fairly simple. If you use a switch you can prepare the wiring for both programing and serial monitoring. The wiring is fairly simple. Vcc on ESP8266 goes to
3.3V on Arduino Due. GND from ESP8266 obviously goes to GND on Arduino Due. CH_PD from ESP8266 goes to 3.3V. RX from ESP8266 goes to TX1 on Arduino and
the TX from ESP8266 goes to RX1 on Arduino. GPIO0 is connected to GND for programing or disconnected if it's just running the software.
http://www.instructables.com/id/Use-Arduino-Due-to-program-and-test-ESP8266/
Step 3: Program Arduino Due to act as a bridge
This is a very simple step. You need to know at what speed your ESP8266 works. In case you do not know it you can just try. In most of the cases the speed would be
either 9600 or 115200. Set Serial1 on Arduino at that speed. Basically the program reads from Arduino main serial and transfer the data back and forth with Serial1 on
Arduino Due.
http://www.instructables.com/id/Use-Arduino-Due-to-program-and-test-ESP8266/
Step 5: Program the ESP
You can use any IDE to program the ESP withe Arduino bridge you just created. In case you want to use Arduino to program the ESP8266 you need to use this release
of Arduino. Once installed and made sure you set the port to the one connected to Arduino you need to set ESP8266 as target and the programmer to esptool.
Related Instructables
Esp 8266 ESP8266 WiFi ESP8266 WiFi ESP8266 WiFi Use ESP8266 to ESP8266 WiFI
firmware update temperature and relay switch by DS18B20 Internet enabled water leak
by RaviP6 humidity sensor EasyIoT temperature AC Appliances sensor by
by EasyIoT sensor by shinteo EasyIoT
(ESP8266
Arduino IDE
without
Arduino) by
EasyIoT
Advertisements
Comments
http://www.instructables.com/id/Use-Arduino-Due-to-program-and-test-ESP8266/