Category Archives: ESP8266


Tutorial 6: ESP8266 and BME280 make a local/remote weather station

In previous tutorials, we explored how to connect an SSD1306-based I2C OLED to ESP8266 for displaying texts and graphics, as well as to setup an ESP8266-based web server. This tutorial combines the knowledge gained before to make a standalone weather station that will display the local weather data on an OLED screen. In addition, the weather station will also run a web server that would allow a remote computer to access the weather data via web browser. Hardware Setup This project uses the EasyESP-1 board and the following hardware devices. BME280 sensor module: BME280 is a fully integrated environmental unit from Bosch that combines sensors for pressure,

Read more

Tutorial 5: Setting up an ESP8266 Web Server

In this tutorial, we will explore how to setup an ESP8266 web server to serve an webpage that can be displayed on a client’s browser. The client can be any other computer, smartphone, or tablet connected to the same WiFi network. The webpage will also provide an user interface to allow you to toggle an I/O pin of the ESP8266 hardware. Hardware Setup There is nothing much to do in the hardware setup of this experiment. In your EasyESP-1 board, all you need to do is to connect the LD1 pin to D1 pin using a jumper cable. This will connect the

Read more

Tutorial 4: Working with ESP8266 WiFi Scan Class

Working with ESP8266 WiFi functionality using Arduino IDE has been made surprisingly simple by the availability of the versatile ESP8266WiFi library that allows user to configure the ESP8266 as a WiFi network scanner, a WiFi station (connected to a WiFi network), a soft access point (creating it’s own WiFi network), etc. In this tutorial, we will explore the features of the Scan Class of the ESP8266WiFi library. The Scan Class allows you to scan and list the available WiFi networks in the range. In order to try this feature, open an example code from File->Examples->ESP8266WiFi->WiFiScan. In the example code, int n = WiFi.scanNetworks(); returns the

Read more

Send a note to your valentine “the IoT way”

Valentine’s day is coming soon, and some of you must be ready to send a personal note to your long-distance sweetheart. Would you like to try something different this year? How about sending a warm note via internet, or more appropriately, “the IoT way”. Becky Stern posted a new Instructable about sending a valentine note over the internet using ESP8266 devices and Adafruit IO cloud platform. This project uses a small vibrating motor to gently wave a tissue paper heart and flash an LED when it receives instructions over the internet from another device. I built two versions of the ESP8266 wifi

Read more

Tutorial 3: Connecting an OLED display to ESP8266

Whether you want to show sensor readings, implement a navigational user interface menu, or display diagnostic information during prototyping a project, a graphic OLED display is always a cool add-on to embedded systems. In this tutorial, we will learn how to interface an I2C monochromatic OLED screen to ESP8266 (we will use EasyESP-1 board) using Arduino IDE. The OLED display used in this tutorial is SSD1306-based that can be bought for ~$5 on eBay or Aliexpress. You can also get a similar I2C OLED display with a grove connector from Elecrow for plug-and-play interfacing with the EasyESP-1 board. Buy EasyESP-1 board Hardware Setup

Read more
« Older Entries Recent Entries »