Tag Archives: Python

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. Advertisements

Posted in ESP32, ESP8266 | Tagged , , , , , , , , , , , | Leave a 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 , , , , | 2 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 , , , , , | 5 Comments

ESP32 / ESP8266 MicroPython: Reading a file

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

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

ESP32 / ESP8266 MicroPython: Writing a file

The objective of this post is to explain how to create a file in MicroPython. The code was tested on both the ESP32 and the ESP8266.

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

ESP32 / ESP8266 MicroPython: Running scripts from a computer

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

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