Micro:bit MicroPython: Deleting a file from the file system

In this tutorial we will check how to delete a file from the micro:bit file system, using MicroPython. Introduction In this tutorial we will check how to delete a file from the micro:bit file system, using MicroPython. For an introductory tutorial on how to write a file to the file system, please check here. The …

Micro:bit uPython: using external pins for serial communication

In this tutorial we will learn how to use the Micro:bit pins to establish a serial connection, instead of using the USB connector. Introduction In this tutorial we will learn how to use the Micro:bit pins to establish a serial connection, instead of using the USB connector. That way, we can establish a serial connection …

Micro:bit MicroPython: Concatenating strings

In this tutorial we will check how to concatenate strings in MicroPython running on the micro:bit board. Introduction In this tutorial we will check how to concatenate strings in MicroPython running on the micro:bit board. If you haven't yet uploaded the MicroPython firmware to the micro:bit board, please check here how to do it. Working with strings …

ESP32 MicroPython: External interrupts

The objective of this post is to explain how to use external pin interrupts on MicroPython running on the ESP32. The tests 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 use external pin interrupts on MicroPython running on the ESP32. Please note …

ESP32 MicroPython: Developing a simple URL query string parser

The objective of this post is to explain how to develop a very simple URL query string parser using MicroPython. The tests shown through 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 develop a very simple URL query string parser …

ESP32 / ESP8266 MicroPython: String split method

The objective of this post is to explain how to use the split method to separate strings in sub-strings accordingly to a given separator string. 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 …

ESP32 Picoweb: Obtaining the HTTP Method of the request

The objective of this post is to explain how to obtain the HTTP method from a request performed to a MicroPython Picoweb application. The tests shown through 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 obtain the HTTP method from …