Arduino on ESP8266: Difference between revisions

From Wiki
No edit summary
No edit summary
 
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>



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)