<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=Arduino-ESP8266</id>
	<title>Arduino-ESP8266 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=Arduino-ESP8266"/>
	<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=Arduino-ESP8266&amp;action=history"/>
	<updated>2026-06-08T17:38:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://w.electrodragon.com/w/index.php?title=Arduino-ESP8266&amp;diff=27117&amp;oldid=prev</id>
		<title>Chao: /* Upload Options */</title>
		<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=Arduino-ESP8266&amp;diff=27117&amp;oldid=prev"/>
		<updated>2020-06-18T16:55:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Upload Options&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Install in Arduino IDE ==&lt;br /&gt;
Installation&lt;br /&gt;
* Install esp8266 firmware in arduino IDE - add to board manager - http://arduino.esp8266.com/stable/package_esp8266com_index.json&lt;br /&gt;
* Board file from here http://arduino.esp8266.com/stable/package_esp8266com_index.json&lt;br /&gt;
* Open Tools→Board:xxx→Boards Manager and install esp8266 by ESP8266 Community&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Esp8266_arduino_ide_setup.gif | Setup ESP8266 for arduino IDE&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Select Board ==&lt;br /&gt;
[[File:Esp8266 arduino selection.png|thumbnail]]&lt;br /&gt;
[https://github.com/esp8266/Arduino/blob/esp8266/hardware/esp8266com/esp8266/doc/boards.md#generic-esp8266-modules Supported Board] - Choose correct board&lt;br /&gt;
* Adafruit HUZZAH ESP8266 (ESP-12)&lt;br /&gt;
* NodeMCU 0.9&lt;br /&gt;
* '''NodeMCU 1.0'''&lt;br /&gt;
* Olimex MOD-WIFI-ESP8266-DEV&lt;br /&gt;
* Olimex MOD-WIFI-ESP8266&lt;br /&gt;
* SparkFun ESP8266 Thing&lt;br /&gt;
* SweetPea ESP-210&lt;br /&gt;
* '''Generic ESP8266 modules''' &lt;br /&gt;
&lt;br /&gt;
=== Upload Options ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Flashing relay board arduino.jpg | arduino setup note 01&lt;br /&gt;
File:2018-07-12_142905.png | arduino setup note 02&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Please see the guideline image on the right, this will be used in esp flash download tool, arduino IDE, etc&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Option !! value for ESP-12F !! Description&lt;br /&gt;
|-&lt;br /&gt;
| Boards || Generic ESP8266 Modules || -&lt;br /&gt;
|-&lt;br /&gt;
| flash mode || QIO or DIO || -&lt;br /&gt;
|-&lt;br /&gt;
| crystal frequency || 26mhz || -&lt;br /&gt;
|-&lt;br /&gt;
| flash frequency || 40mhz || - &lt;br /&gt;
|-&lt;br /&gt;
| CPU frequency || 80mhz || -&lt;br /&gt;
|-&lt;br /&gt;
| upload using || &amp;quot;serial&amp;quot; || -&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| flash size || 4MB / 32Mbit (3M SPIFSS) || Old 512Kbit&lt;br /&gt;
|-&lt;br /&gt;
| Debug mode / level || Disable / none || -&lt;br /&gt;
|-&lt;br /&gt;
| reset mode || none or nodemcu || -&lt;br /&gt;
|-&lt;br /&gt;
| upload speed || 115200 ~ 921600 || use highest normally &lt;br /&gt;
|-&lt;br /&gt;
| upload port || COM Port || -&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| lwip Variant || v2 lower memory || &lt;br /&gt;
|-&lt;br /&gt;
| Buildin LED || 2 || -&lt;br /&gt;
|-&lt;br /&gt;
| Erase Flash || Only Sketch || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Upload ===&lt;br /&gt;
* '''enter into bootloader mode of the board first '''&lt;br /&gt;
&lt;br /&gt;
== Code Examples ==&lt;br /&gt;
Default arduino sketch&lt;br /&gt;
* WifiScan - find close by wifi spot&lt;br /&gt;
* WifiClient - connect to wifi&lt;br /&gt;
* Wifiwebserver - build a simple web server&lt;br /&gt;
 http://server_ip/gpio/0 - address to set gpio 2 to low&lt;br /&gt;
 http://server_ip/gpio/1 - address to set gpio 2 to high&lt;br /&gt;
Other sketch - 1 - ESP8266-Arduino via serial, control GPIO&lt;br /&gt;
* [https://github.com/Edragon/esp_firmware/blob/master/Demo%20code/Arduino%20demo/esp8266_arduino_cmd/esp8266_arduino_cmd.ino Demo code - Blink esp on board io12 by at-commands]&lt;br /&gt;
Other sketch - ESP8266-Arduino via serial, send TCP data&lt;br /&gt;
* Connect WIFI, Send Data&lt;br /&gt;
* In this case, the wifi module still connect to hardware serial (software serial port can not higher than 19200 baud rate), and another software serial port should be created on arduino and print out via another serial port&lt;br /&gt;
* So the connection should be  &lt;br /&gt;
 Wifi's uart to arduino hardware uart; &lt;br /&gt;
 arduino's software UART to another serial port device, for example like FTDI basic, CP2102 breakout, etc, and this serial port device can connect to PC to read data&lt;br /&gt;
* change the SSID and password in code for your wifi router&lt;br /&gt;
* [https://github.com/Edragon/esp_firmware/tree/master/Demo%20code Demo code please see here.]&lt;br /&gt;
Demo code - [[* [https://github.com/Edragon/esp8266_arduino More esp8266 arduino library, demo code find on our github]|D1 Mini example code]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[category: Arduino]]&lt;br /&gt;
&lt;br /&gt;
[[category: ESP8266 Program]]&lt;/div&gt;</summary>
		<author><name>Chao</name></author>
	</entry>
</feed>