Tutorials ESP8266: Arduino IDE programming – Web Server – Web Client – IoT

The ESP8266 is a small revolution in the family of Arduino microcontrollers. It is programmed as an Arduino using the Arduino IDE or in the Lua language (close to the Python). It is found for about 4 €. The ESP8266 has an analog input (3.2V), a serial port (RX / TX) and 9 digital inputs (3.3V max). You will find in this section many tutorials that address the following:

  • Installing (or reinstalling) the firmware, updating the firmware : NodeMCU (Lua), ESP Easy (IoT without programming)…
  • Programming from the Arduino IDE and using libraries
  • Web Server Programming: we add an HTML interface to drive the ESP8266 from a tablet, a smartphone, a computer from home or from the internet
  • Web Client programming: query services on the Internet (weather, time server …) or send data on an online service (Thingspeak…)
  • Example of code and tutorials in domotics, connected objects …
  • And many other projects
0
ESP8266, Deep Sleep mode test, wake up with a PIR motion detector

The ESP8266 module has the deep sleep mode which allows to put it in hibernation to save the battery. You can wake up the module at regular intervals to make ...

0
WebSocket communication with an ESP8266 or Arduino in Python. Test with the ws4py library on Raspberry Pi

The Websocket is a much faster communication protocol than the REST protocol that uses standard HTTP requests. The Websocket allows to open a bi-directional ...

0
Publish the CO2 concentration of an MH-Z19 sensor to Domoticz, Arduino code compatible ESP32 / ESP8266

In the previous tutorial, we discovered and tested the MH-Z19 sensor which allows to measure the CO2 concentration without calibration. We saw how to read the ...

0
ESP32 MicroPython project with several DS18B20 probes, publish the measurements to Domoticz using the HTTP JSON API

After several articles to present the principles of MicroPython on ESP8266 and ESP32 development board, it's time to get down to business. I propose to take ...

0
Unpacking the Geekcreit PCA9685 I2C Shield 16 Servos + 2 DC motors for Arduino or ESPDuino (ESP8266)

The Arduino Uno or ESP8266 boards do not deliver enough power to power the 6 robotic arm servo motors discussed earlier in this article. So you have to buy a ...

1
OLED display SSD1306 in MicroPython, example with a I2C digital barometer BME280 (or BMP180)

I propose today to learn how to detect the devices connected to the bus i2c in MicroPython. For this tutorial, we will retrieve the measurements returned by a ...

0
ESP8266 + DHT22 + MQTT: make a connected object IoT and include it in Home Assistant

ESP8266 + DHT22 + MQTT, here's how we will learn how to make our first connected object (a temperature probe) and connect it to the Home Assistant server. To ...

0
Program the ESP8266 with the Arduino IDE: Libraries, GPIO, Web Server, Web Client

In many applications, ESP8266 WiFi modules can replace Arduino by adding Wi-Fi connectivity at a lower cost. At the launch of ESP8266 (in 2014), the preferred ...

0
How to reinstall the MicroPython firmware on an ESP8266 or ESP32 with the esptool.py script

In the previous tutorial, we were able to test the firmware MicroPython which is now pre-installed by default on the Wemos LoLin32 Lite. The MicroPython ...

0
ArduinoOTA: Wireless Update (OTA) from the Arduino IDE of ESP8266 Programs

The ArduinoOTA library is a library that allows to update the Arduino program (and ESP3226, ESP32) wirelessly in Wi-Fi. It is an essential ...

0
Unpacking: shield SHT30 (temperature and humidity) for Wemos D1 Mini

The DHT22 temperature and humidity sensor (and its small brother the DHT11) are ubiquitous in the Arduino / ESP8266 / Raspberry Pi tutorials. You are also ...

0
ESP8266 (FTP server): file exchange with the SPIFFS file system, rapid development Web Server

The ESP8266 (and Arduino) SPIFFS file system can be used to store files from a Web server as well as data files (using the ESP8266 as a ...

DIY Projects