Difficulty level
0
Getting started Arduino. Receive commands from the serial port (ESP32 ESP8266 compatible)

It is possible to use the serial port to receive commands directly in the Arduino code. We can for example control the GPIO from the serial monitor of a code ...

0
C++ functions print•println•printf•sprintf for Arduino ESP32 ESP8266. Combine•format → serial port

We use the serial monitor to debug the Arduino code, but there are many other things you can do. We will discover in this article the main methods to ...

0
C++ String functions. concat•c_srt•indexOf•replace•subString… for Arduino, ESP32, ESP8266

The C++ library for Arduino offers 24 functions to easily handle character strings. charAt • compareTo • concat • c_str • endsWith • equals • getBytes • ...

0
ESP32. How to connect to local WiFi network with Arduino code

The ESP-IDF Development Kit for ESP32 contains the WiFi class which provides all the tools needed to connect to the WiFi network. Unlike the ESP8266, the ...

0
I2C addresses of the most common sensors and actuators

To facilitate the development of your connected objects based on Arduino, ESP32, ESP8266, STM32 or Raspberry Pi micro-controllers, here is a list of the most ...

0
Get started with the I2C bus on Arduino ESP8266 ESP32. Wire.h library

The I2C bus is widely used to retrieve measurements or control equipment on Arduino, ESP32, ESP8266 and Raspberry Pi projects using the standard Wire.h ...

0
ESP32. How to use Timers and Alarms with Arduino Code

A Timer is an internal interrupt that can trigger an alarm and an associated action at a specific time repeatedly. A Timer is considered an interrupt because ...

0
ESP32. How to use external interrupts with Arduino code

The ESP32 has 26 digital pins which can be used to trigger the execution of a function using an external interrupt. An interrupt is a process that is triggered ...

0
ESP32. How to use GPIO digital IO with Arduino code

The ESP32 has many pins that can be used as a digital input or output. The ESP32 also has pull-up and pull-down resistors which simplify the circuits. ...

0
ESP32. How to use the WiFiManager library to manage WiFi connections

The WiFiManager library allows you to easily manage the Wi-Fi connection in your ESP32 projects. The WiFiManager library for ESP32 is under development. It ...

0
ESP01. Get started with the Arduino or PlatformIO IDE. Which module to choose? Pinout

The ESP01 is an ESP8266 module installed on a miniature development board that has four expansion slots (GPIO). The difference between the versions lies in the ...

0
ESP8266. How to read, write, erase the EEPROM. Calculate the space needed in bytes

The ESP8266 has a reserved memory area to simulate the internal Arduino EEPROM. Initially, this area was present to mimic the operation of the Arduino and to ...

0
Get started with ArduinoJSON v6, Arduino library for handling JSON objects

The JSON format is used to organize, store and transmit data. Widely used in the IT world, it also finds its place in the world of micro-controllers. Among all ...

0
ESP32. Access SPIFFS files in FTP with the ESP8266FtpServer library

There are several libraries allowing access to the SPIFFS file system stored on the flash memory of an ESP32 in FTP. The ESP8266FtpServer.h library ...

0
ESP32. Get started with the SPIFFS.h library to read, write, modify files

SPIFFS (Serial Peripheral Interface Flash File System) is a lightweight file system suitable (among others) for microcontrollers with SPI flash memory such as ...

0
Getting started with PlatformIO IDE on VSCode (Windows, macOS, Raspbian, Linux)

PlatformIO is an alternative to the Arduino IDE for developing connected objects or code for microcontrollers in a more general way. PlatformIO is not a code ...

DIY Projects
DIY Projects