Arduino on ESP8266: Difference between revisions

From Wiki
No edit summary
No edit summary
 
(2 intermediate revisions 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 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 ESP-01 Pinout]
* GPIO1 (=TX, = LED)
* Pins
* GPIO2  
** GPIO0
* GPIO3 (=RX)
** GPIO1 (=TX, = LED)
** GPIO2  
** GPIO3 (=RX)

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)