Tag Archives: ESP8266

ESP32 / ESP8266 MicroPython: Lambda functions

The objective of this post is to explain how to use lambda functions in MicroPython and their difference regarding regular functions. This tutorial was tested both on the ESP32 and on the ESP8266. The tests on the ESP32 were performed using … Continue reading

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

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.

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

ESP32 / ESP8266 MicroPython: HTTP POST Requests

The objective of this post is to explain how to perform HTTP POST requests using MicroPython and the urequests library. This was tested on both the ESP32 and the ESP8266.

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

ESP32 / ESP8266 MicroPython: HTTP GET Requests

The objective of this post is to explain how to perform HTTP GET requests with MicroPython, using the urequests module. This tutorial was tested with MicroPython running on both the ESP32 and the ESP8266.

Posted in ESP32, ESP8266 | Tagged , , , , , , , , , | 1 Comment

ESP32 / ESP8266 MicroPython: Automatic connection to WiFi

The objective of this post is to explain how to connect automatically to a WiFi network on MicroPython, without needing to insert all the individual commands in the prompt. The procedure was tested on both the ESP32 and the ESP8266.

Posted in ESP32, ESP8266 | Tagged , , , , | 3 Comments

ESP32 / ESP8266 MicroPython: Running a script from the file system

The objective of this post is to explain how to run a script from MicroPython’s file system. This was tested on both the ESP32 and the ESP8266.

Posted in ESP32, ESP8266 | Tagged , , , , , | 1 Comment

ESP32 / ESP8266 MicroPython: Uploading files to the file system

The objective of this post is to explain how to upload files from a computer to the MicroPython file system, using a tool called ampy. This tutorial was tested on both the ESP8266 and the ESP32.

Posted in ESP32, ESP8266 | Tagged , , , , , | 7 Comments