Get started in Arduino

Install Arduino IDE from the Arduino website.

There are two ways to install Hardware package. It is recommended to use git version.

Using git version

  • Clone repository into Sketchbook_directory/hardware/esp8266com/esp8266 directory (or clone it elsewhere and create a symlink), you may need to create the hardware directory if it does not exist.
  • cd hardware
    mkdir esp8266com
    cd esp8266com
    git clone https://github.com/wemos/Arduino_D1.git esp8266
  • You should end up with the following directory structure:
  • ─┬ Arduino
     └─┬ hardware
       └─┬ esp8266com
         └─┬ esp8266
           ├── bootloaders
           ├── cores
           ├── doc
           ├── libraries
           ├── package
           ├── tests
           ├── tools
           ├── variants
           ├── platform.txt
           ├── programmers.txt
           ├── README.md
           ├── boards.txt
           ├── LICENSE
  • Download binary tools(You need Python 2.7)
  • cd esp8266/tools
    python get.py
  • Restart the Arduino IDE

Using Boards Manager

  • Start Arduino and open Preferences window.
  • Enter
    
    
    

    into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.

  • Open Boards Manager from Tools > Board menu and install esp8266 platform.

write this url : http://arduino.esp8266.com/versions/2.3.0/package_esp8266com_index.json

After install hardware package, you will see WEMOS boards in the Tools→Board:xxx Choose your right board.