Installing Arduino IDE

This tutorial will walk you through downloading, installing, and testing the Arduino software (also known as the Arduino IDE – short for Integrated Development Environment). Before you jump to the page for your operating system, make sure you’ve got all the right equipment.

What you will need:

  • A computer (Windows, Mac, or Linux)
  • An ESPcopter
  • A USB – micro USB

micro usb ile ilgili görsel sonucu

 

1-) Arduino Installation:

Download and install the latest version from the Arduino web site: https://www.arduino.cc/en/Main/Software

2-) Driver Installation:

The following driver is required for the ESPcopter to be recognized by the computer. Download and install the appropriate driver version for your OS.

https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers

3-) ESP8266 Library

To begin, we’ll need to update the board manager with a custom URL. Open up Arduino, then go to the Preferences (File> Preferences). Then, towards the bottom of the window, copy this

URL into the “Additional Board Manager URLs” text box:

http://arduino.esp8266.com/stable/package_esp8266com_index.json

 

 

Hit OK. Then navigate to the Board Manager by going to Tools > Boards > Boards Manager. There should be a couple new entries in addition to the standard Arduino boards. Look for esp8266. Click on that entry, then select Install. You need to install 2.6.3 version of esp8266 library.

 

 

The download process can take up to 10 minutes depending on your internet speed. After the download is done, select NodeMCU 1.0 from the Tools tab and follow the other settings.

 

 

4-)Downloading the ESPcopter library:

Before downloading the code from the website, you must use the contacts page to request the source code. See the following site: http://espcopter.com/code-release/

After downloading, remove the zip file twice and put the file (ESPcopter ”(Files> Arduino> Library) into the file. In the Examples section, you will see the sample codes of the ESPcopter.

Open the following example program:

 

5-) Spiffs Memory Updater Installation:

  • What is Spiffs Memory?

Flash File System (SPIFFS) is a SPI Flash (64kBytes to 3Mbyte) In this flash memory ESP stores the program. This filing system can be used to store infrequently changing data such as; web pages, configurations, sensor calibration data etc.

Install Spiffs Memory Uploader?

Update Software:

6-) Update Main Software:

  • To update the code, the drone must be turned on and connected to the computer via USB cable. Open the ESPcopter code from the ESPcopter Library in the Examples section. Do not forget to select Com port from the tools section of Arduino.

 

  • Make the necessary settings from the Tools section.

 

  • Upload the code by clicking the Upload button.

 

7-) Update Spiffs Memory:

  • Make sure you have selected a board, port, and closed Serial Monitor.
  • If your board requires you to press a button (or other action) to enter bootload mode for flashing a sketch, do that now.
  • Select Tools > ESP8266 Sketch Data Upload. This should start uploading the files into ESP8266 flash file system. When done, IDE status bar will display SPIFFSImage Uploaded.

After updating the main software and spiffs memory, updating software is completed.