Installing the Arduino IDE
There are many (nah… many millions of) hits for Arduino installation tutorials. This post is meant to be concise and assumes you have used installation software on your computer. It provides the links and the steps to install the Arduino IDE, add ESP8266 support, and finally to add InqPortal support. I hope you find this post useful.
- Download the Arduino installer for your operating system from the Arduino website https://www.arduino.cc/en/software. The rest of this guide will reflect Windows 10. Linux and MacOS will be similar.
- Install the Arduino IDE by your operating system’s standard way. Typically, this is simply running from the download prompt in your browser of choice or double clicking of the downloaded file in your file explorer.
- Follow all the prompts of the installer.
- At this point you can build projects on Arduino and clone boards, but there is more…
ESP8266 Development
- Start the Arduino IDE and open the Preferences option under the File menu. You’ll want to point it to a folder where you want to keep your program files and libraries and also add the following line to the Additional boards manager URLs: http://arduino.esp8266.com/stable/package_esp8266com_index.json
- Exit out of that Preferences dialog and then:
- Select the Boards Manager button
- Restrict the list by typing in ESP8266
- Find the library and press the Install button
- Plug in your USB connected ESP8266 device. I use various boards including NodeMCU, WeMos, ESP-07 and ESP-01S via USB Programmers.
- Linux and MacOS tend to recognize and install the proper drivers; however, Windows tends to require manual loading of drivers for some ESP8266 boards. Open the Windows Device Manager
- If you see one of the following, you already have the proper drivers installed and are ready.
- If you see the following yellow triangle with a generic USB2.0-Serial label, you’ll need to add a driver. More details and a driver for your operating system is available at: https://learn.sparkfun.com/tutorials/how-to-install-ch340-drivers/all
- It will look like this afterwards with USB-SERIAL CH340 (COMx).
- At this point you will be able to start development on ESP8266 based boards, but there is more…
ESP8266 Web and IoT Development Using InqPortal
- To create ESP8266 projects that will have a browser based client GUI connected to your ESP8266 web server, we need the InqPortal library.
- To download the latest InqPortal library,
- Open the Arduino Library Manager
- Filter the available libraries by typing InqPortal
- Press the Install button.
- Your development environment is now ready for InqPortal based applications. The next step will be to set project settings. There are many available for ESP8266 boards and some, need to be adjusted for InqPortal usage. Head on to Project Settings.