Arduino on ESP8266: Difference between revisions

From Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:




* ttyUSB Permission problems?
* Linux only: ttyUSB Permission problems?
: <pre>sudo usermod -a -G dialout $USERNAME</pre>
: <pre>sudo usermod -a -G dialout $USERNAME</pre>


Line 22: Line 22:


== Pinout ==
== Pinout ==
[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]
[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 ESP-01 Pinout]
* Pins
* Pins
** GPIO0
** GPIO0

Latest revision as of 09:53, 20 February 2019

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


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


Programm

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


Pinout

ESP-01 Pinout

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