Controlling a relay remotely via HTTP using the ESP32.
ESP32 Arduino: Controlling a relay
The objective of this post is to explain how to control a relay using the Arduino core, running on a ESP32. The relay board used was this one from Elecrow. Introduction The objective of this post is to explain how to control a relay using the Arduino core, running on a ESP32. We will use a relay …
ESP32 Arduino web server: getting client IP
The objective of this post is to explain how to obtain the IP of a client that contacts a HTTP web server running on the ESP32, on the Arduino core. The tests of this ESP32 tutorial were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction The objective of this post is to explain how …
Continue reading "ESP32 Arduino web server: getting client IP"
ESP32 HTTP server: Multiple methods allowed on same route
The objective of this post is to explain how we can allow multiple HTTP methods on the same route of an async HTTP web server running on the ESP32, using the Arduino core. The tests of this tutorial were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction The objective of this post is to explain …
Continue reading "ESP32 HTTP server: Multiple methods allowed on same route"
ESP32 Arduino: Variable length arrays
In this tutorial, we will check how to use variable length arrays on the Arduino core running on the ESP32. The tests of this tutorial were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction In this tutorial, we will check how to use variable length arrays on the Arduino core running on the ESP32. Variable …
ESP32 Arduino async server: Controlling HTTP methods allowed
In this ESP32 tutorial, we will check how to control the HTTP methods allowed for requests made to routes of the HTTP async web server. The tests of this ESP32 tutorial were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction In this ESP32 tutorial, we will check how to control the HTTP methods allowed …
Continue reading "ESP32 Arduino async server: Controlling HTTP methods allowed"
ESP32 Arduino: Applying the HMAC SHA-256 mechanism
The objective of this post is to explain how to apply the HMAC mechanism to a message on the ESP32, using the Arduino core. The tests of this ESP32 tutorial were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction The objective of this post is to explain how to apply the HMAC mechanism to a …
Continue reading "ESP32 Arduino: Applying the HMAC SHA-256 mechanism"
ESP32 Arduino HTTP server: route not found handling
In this ESP32 tutorial, we will check how to define a custom handling function to be executed when a route is not found on a HTTP web server running on the ESP32. The tests of this ESP32 tutorial were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction In this ESP32 tutorial, we will check …
Continue reading "ESP32 Arduino HTTP server: route not found handling"
ESP32 Arduino HTTP server: external and internal redirects
The objective of this ESP32 exemple code is to explain how to perform redirects using the async HTTP web server libraries on the Arduino core. The tests of this ESP32 tutorial were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction The objective of this ESP32 exemple code is to explain how to perform redirects using …
Continue reading "ESP32 Arduino HTTP server: external and internal redirects"
ESP32 Arduino HTTP Server: Serving HTML and JavaScript
The objective of this post is to explain how to serve a HTML webpage with some JavaScript from a HTTP webserver running on the ESP32, using the Arduino core. The tests of this ESP32 tutorial were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction The objective of this post is to explain how to serve …
Continue reading "ESP32 Arduino HTTP Server: Serving HTML and JavaScript"