Set up the Arduino IDE

The Arduino IDE is a free IDE provided by https://www.arduino.cc/ that makes it easy to write and deploy code on Arduino and Arduino-based boards like the ESP8266. It's written in Java and it supports Windows, GNU/LINUX, and macOS. Before we start, you must install the Arduino IDE from the following link. You might have to select the correct version for your OS.

https://www.arduino.cc/en/main/software

If you already have the Arduino IDE, make sure its version is higher than 1.6.4.

By default, the Arduino IDE doesn’t support the ESP8266. The Arduino IDE needs to be set up to work with the ESP8266; to do that, follow these steps:

  1. Open up your Arduino IDE.
  2. Under the menu, look for and open Preferences.
  3. In the input box for Additional Boards Manager URLsenter this URL: http://arduino.esp8266.com/stable/package_esp8266com_index.json.
  4. Click on OKOpen Boards Manager at Tools Board:*Boards Manager.
  5. Under Type, select Contributed and type esp8266 in the search bar.
  6. Click on Install to install support for the ESP8266.
These instructions are for Arduino IDE 1.8.1 and may differ depending on your version of IDE.

Once you have installed the ESP8266, you may have to restart the IDE. After restarting the Adafruit Huzzah, the ESP8266 will be visible under Tools | Board:*. When you select your board, follow these steps:

  1. Select 80MHz in ToolsCPU Frequency.
  2. Select 115200 baud in ToolsUpload Speed.

Once this setup is done, connect the ESP8266 to the USB port on your computer using a USB FTDI cable.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.190.219.65