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 …
Python: Websocket client
The objective of this post is to explain how to create a simple Python websocket client to contact an online test echo server. Introduction The objective of this post is to explain how to create a simple Python websocket client to contact an online test echo server. We will use the websockets library, which …
ESP32 Arduino web server: Get free heap and reset device remotely
In this ESP32 tutorial we will check how to remotely obtain the device's free heap and how to reset it. 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 remotely obtain the device's free heap and how to reset it. …
Continue reading "ESP32 Arduino web server: Get free heap and reset device remotely"
Python: Converting string to bytes object
In this post, we will check how to convert a Python string to a bytes object. Bytes objects are immutable sequences of single bytes in the range between o and 255 (inclusive). Introduction In this post, we will check how to convert a Python string to a bytes object. Bytes objects are immutable sequences …
Continue reading "Python: Converting string to bytes object"
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"
Python: socket server
The objective of this post is to explain how to create a simple socket server using Python and reach it with a client. Introduction The objective of this post is to explain how to create a simple socket server using Python and reach it with a client. Python is a very easy to use language …