Arduino on ESP8266: Difference between revisions

From Wiki
No edit summary
No edit summary
Line 21: Line 21:




== Pins ==
== Pinout ==
* GPIO0
[https://www.google.de/search?q=ESP-01+pinout&dcr=0&tbm=isch&tbo=u&source=univ&sa=X&ved=0ahUKEwiHzPrtzvDXAhUGVxoKHS7kB8AQsAQIKQ&biw=1279&bih=1255&dpr=1]
* GPIO1 (=TX, = LED)
* Pins
* GPIO2  
** GPIO0
* GPIO3 (=RX)
** GPIO1 (=TX, = LED)
** GPIO2  
** GPIO3 (=RX)

Revision as of 14:57, 4 December 2017

Install

  • Install Arduino software
  • File / Preferences
    • Additional Board Manager URLs:
http://arduino.esp8266.com/stable/package_esp8266com_index.json
  • Tools / Board:xxx / Boards Manager
    • Search: 8266
    • Install


  • ttyUSB Permission problems?
sudo usermod -a -G dialout $USERNAME


Programm

  1. GPIO0 to GND
  2. RST
  3. flash
  4. release GPIO0
  5. RST


Pinout

[1]

  • Pins
    • GPIO0
    • GPIO1 (=TX, = LED)
    • GPIO2
    • GPIO3 (=RX)