ESP32 / ESP8266 MicroPython: Applying map function to lists

The objective of this post is to explain how to use the map function to perform operations over MicroPython lists. This tutorial was tested both on the ESP32 and on the ESP8266. The tests on the ESP32 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 …

ESP32 / ESP8266 MicroPython: Lambda functions

Introduction The objective of this post is to explain how to use lambda functions in MicroPython and their difference regarding regular functions. Lambdas are a concept supported in many other programming languages, such as JavaScript and C#, and in a more formal definition they correspond to anonymous functions. So, in MicroPython, this means that we …

ESP32 / ESP8266 MicroPython: Working with lists

The objective of this tutorial is to explain how to use lists in MicroPython. This tutorial was tested both on the ESP32 and on the ESP8266. The tests on the ESP32 were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction The objective of this tutorial is to explain how to use lists in MicroPython. …

ESP32 MicroPython: Executing scripts with uPyCraft

The objective of this post is to explain how to execute MicroPython scripts using the uPyCraft IDE. 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 execute MicroPython scripts using the uPyCraft IDE. If you haven't yet set …

ESP32 Bluetooth: Advertising a SPP service with SDP

The objective of this post is to explain how to advertise a SPP service running on the ESP32 with SDP. 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 advertise a SPP service running on the ESP32 with SDP. …

ESP32 Arduino: Internal Hall sensor measurements

The objective of this post is to explain how to get measurements from the ESP32 internal Hall sensor. 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 how to get measurements from the ESP32 internal Hall sensor, using the ESP32 Arduino core. …

ESP32 Bluetooth: Receiving data through RFCOMM

The objective of this post is to explain how to send data to the ESP32 using the Bluetooth RFCOMM protocol. 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 how to send data to the ESP32 using the Bluetooth RFCOMM protocol. …