ESP8266 Wi-Fi Module is Now Supported in Arduino IDE

ESP8266 revolutionized the IoT world by offering an ultra low cost Wi-Fi solution either standalone or connected to a micro-controller board via SPI or UART. There are plenty of tutorials on the web to play with the Wi-Fi module, but it’s only recently an Arduino IDE has added support for ESP8266.

ESP8266 Board in Arduino IDE (Click to Enlarge)
ESP8266 Board in Arduino IDE (Click to Enlarge)

If you want to try it, you can download the binary for Linux, Windows, or Mac OS X. Since my computer is running Ubuntu 14.04, I download and extracted arduino-1.6.1-linux64.tar.xz to install it in my PC. Now simply run the arduino script to start the IDE, and select to Tools->Board->Generic ESP8266 board. I don’t own an ESP8266 module myself, but Olimex tried it on their ESP8266-EVB:

  1. They connected a serial debug board and selected Tools->Port->/dev/ttyUSB0 in the IDE
  2. Selected Tools-> Programmer->esptool
  3. Loaded Blink example, and modified it to turn on and off the relay on their evaluation board.

If you don’t find turning on/off an LED or a relay, there are also a few ESP8266 samples to run a Web Server, an mDNS responder, as well as Wi-Fi client, Wi-Fi scan, and a Wi-Fi server that controls GPIOs.

Development is not complete yet, and there are plans to allow sketch uploading via Wi-Fi, I2C slave support, hardware PWM, and so on.

Share this:
FacebookTwitterHacker NewsSlashdotRedditLinkedInPinterestFlipboardMeWeLineEmailShare

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard

7 Replies to “ESP8266 Wi-Fi Module is Now Supported in Arduino IDE”

  1. Is this support for Arduino for interfacing with ESP8266 via serial or for ESP8266 itself (standalone) ?
    and how can one runs his own program on ESP8266 ?

Leave a Reply

Your email address will not be published. Required fields are marked *

Khadas VIM4 SBC
Khadas VIM4 SBC