ESP8266: Difference between revisions
From CoMakingSpace Wiki
(Mitja moved page ESP8266 to Category:ESP8266) |
NitramLegov (talk | contribs) m (no deletion rights, so I have to move the page like this...) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
# | [[File:NodeMCU-Board.jpg|thumb|300 px|right|Typical NodeMCU development board, carrying an ESP8266-12E chip in addition to a voltage regulator and an USB/UART bridge for easy programming]] | ||
ESP8266 was initially intended as a serial port to wifi bridge, but can also be used as standalone microcontroller. There is even [https://github.com/esp8266/Arduino/ support for Arduino IDE]. | |||
== Development Boards == | |||
In order to get used to the ESP8266, it is a good idea to get a development board. These boards contain a pre-soldered ESP8266, access to the GPIO pins and usually a USB connector which can be used to communicate with the ESP8266 and supply it with power. | |||
===Wemos D1 Mini=== | |||
The [https://wiki.wemos.cc/products:d1:d1_mini Wemos D1 mini] is a low-cost microcontroller PCB featuring an [[ESP8266]]. | |||
It uses a [[USB_Serial_Converter#CH340|CH340 USB serial converter]]. | |||
==== Bootup GPIO state ==== | |||
{| class="wikitable" | |||
|- | |||
| D0 | |||
| D1 | |||
| D2 | |||
| D3 | |||
| D4 | |||
| D5 | |||
| D6 | |||
| D7 | |||
| D8 | |||
| A0 | |||
| RX | |||
| TX | |||
|- | |||
| LOW | |||
| LOW | |||
| LOW | |||
| HIGH | |||
| HIGH | |||
| LOW | |||
| LOW | |||
| LOW | |||
| LOW | |||
| LOW | |||
| HIGH | |||
| HIGH | |||
|} | |||
== Firmware Options == | |||
* [http://bbs.espressif.com/viewtopic.php?f=46&t=1451 AT firmware], turning the ESP8266 into a serial/wifi bridge | |||
* [https://github.com/nodemcu/nodemcu-firmware NodeMCU firmware], allowing Lua programming | |||
* [https://github.com/esp8266/arduino Arduino port] ([https://arduino-esp8266.readthedocs.io/en/2.4.1/ documentation]), using the popular Arduino/C programming language | |||
* [[MicroPython]] firmware | |||
* [https://www.esp8266basic.com/ Basic] firmware | |||
== Development Tools == | |||
* [https://esp8266.ru/esplorer/ ESPlorer] integrated development environment mostly useful for AT, Lua and MicroPython development | |||
* [https://www.arduino.cc/en/Main/Software Arduino] integrated development environment | |||
* [https://pypi.python.org/pypi/esptool ESPtool] Python package | |||
* [[PlatformIO]] | |||
== Advanced Hacking == | |||
If you just need a superfast cheap microcontroller without wifi, check out [https://github.com/cnlohr/nosdk8266 nodsk8266]. | |||
== Links == | |||
* [https://www.youtube.com/watch?v=8ISbmQTbjDI Websockets on ESP8266] | |||
* [https://jjssoftware.github.io/esp8266-password-complexify/ Thoughts on security] | |||
[[Category:Electronics]] | |||
[[Category:Microcontrollers]] |
Latest revision as of 21:30, 22 July 2019
ESP8266 was initially intended as a serial port to wifi bridge, but can also be used as standalone microcontroller. There is even support for Arduino IDE.
Development Boards
In order to get used to the ESP8266, it is a good idea to get a development board. These boards contain a pre-soldered ESP8266, access to the GPIO pins and usually a USB connector which can be used to communicate with the ESP8266 and supply it with power.
Wemos D1 Mini
The Wemos D1 mini is a low-cost microcontroller PCB featuring an ESP8266.
It uses a CH340 USB serial converter.
Bootup GPIO state
D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | A0 | RX | TX |
LOW | LOW | LOW | HIGH | HIGH | LOW | LOW | LOW | LOW | LOW | HIGH | HIGH |
Firmware Options
- AT firmware, turning the ESP8266 into a serial/wifi bridge
- NodeMCU firmware, allowing Lua programming
- Arduino port (documentation), using the popular Arduino/C programming language
- MicroPython firmware
- Basic firmware
Development Tools
- ESPlorer integrated development environment mostly useful for AT, Lua and MicroPython development
- Arduino integrated development environment
- ESPtool Python package
- PlatformIO
Advanced Hacking
If you just need a superfast cheap microcontroller without wifi, check out nodsk8266.