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.

Continue reading

Advertisements
Posted in ESP32 | Tagged , , | Leave a comment

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.

Continue reading

Posted in ESP32 | Tagged , , , , , , , | Leave a comment

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.

Continue reading

Posted in ESP32 | Tagged , , , , , , , , | 4 Comments

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.

Continue reading

Posted in ESP32 | Tagged , , , , , , , , , | Leave a comment

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.
Continue reading

Posted in Python | Tagged , , , , , , | Leave a comment

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.

Continue reading

Posted in ESP32 | Tagged , , , | 1 Comment

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).
Continue reading

Posted in Python | Tagged , , , , | Leave a comment