MicroPython is a lean and efficient implementation of the Python 3 targeted for microcontrollers. The MicroPython firmware can be installed on boards like the ESP32, ESP8266 and M5Stack. It makes it easy and simple to program digital electronics. If you want to program hardware using Python, this is your section!
The M5Camera is a camera unit based on ESP32 chip has an OV2640 and also includes a PSRAM. As you may already know, M5Stack is an open-source modular toolkit for IoT developments based on ESP32. There are four versions of this camera (see Fig. 1). I got the M5-Camera B and this is a tutorial to use the camera to generate timelapse videos. However, this module doesn't have a microSD slot. Therefore, the application will publish the photos on an MQTT Broker, so that an MQTT subscrib...
This tutorial updates the article: MicroPython: Taking photos with an ESP32-CAM, in which I described the steps to add support to the ESP32-CAM on MicroPython. In this tutorial, I've updated the driver, and more cameras/boards are now supported. I tested the driver on the ESP32-CAM and the M5CAMERA (model B). It should also work with every board that has an OV2640, and it can be extended to support the OV3660 (I didn't find any board with an ESP32 that uses this camera)....
Last week, I've received a brand new M5Stack ATOM Echo parallel to the market launch (see Fig. 1). You might already know the M5Stack company. They make robust and open-source development kits with stackable modules. The kits allow you to make rapid and high-quality prototypes.
Today, the M5Stack launches the ATOM Echo. Check out this video, and see how it works with MicroPython:
M5Stack ATOM Echo
M5Stack ATOM Echo is a tiny programmable smart speaker and is part of the M5...
MicroPython | 2 min | 398
As you may have noticed in my past videos, I've been using a self-made rotating platform to display the projects. In this article, I'll describe and present it to you. It is still in its baby step, and I need a case to put everything inside. However, the code is available. The microcontroller is an ESP32, which is connected to Wi-Fi and hosts a website to configure the angle, speed, and direction of rotation. The ESP32 is programmed using MicroPython. Check out the following video!...
I've just updated the LoRa/LoRaWAN repository for MicroPython and added a configuration that works on the M5Stack Fire using the LoRa868 Module. Therefore, this will help you connect the M5Stack Fire to the "The Things Network (TTN)"!
If you're new to MicroPython read this tutorial: Tutorial: Getting Started with MicroPython on ESP32, M5Stack, and ESP8266If you want to know more about the LoRaWAN and MicroPython, read this article: Tutorial: ESP32 running MicroPython sends data o...
Spring in Europe has already started, and many people are having allergy problems. Therefore, I thought of making a project to measure air quality and collect this data to train a model that can tell me, when is the best time to open my apartment windows to let some fresh air into the apartment and thus minimize possible allergy attacks and sneezing! Like almost everyone right now (thanks to COVID-19), I'm working from home and this beautifu...
This tutorial is about programming the M5Stack Atom using MicroPython to transfer data to a LoRaWAN gateway. The gateway is then connected to the "The Things Network" (TTN) to process the data.
Before you start reading, check out the video of this setup!
The M5Stack ATOM Matrix is the most compact development board in the M5Stack development kit series with a size of only 24 x 24 x 14 mm and a weight of 14 g.
- 6 GPIO (Dupont Pins)
- GROVE/4Pin PH2.0 interface
- 5 x ...
MicroPython has almost all the features of Python, and allows you to easily interact with microcontrollers and sensors, making them accessible to both beginners and experienced Python programmers.
If you are new to MicroPython, I quote the official MicroPython page for you:
MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimized to run on microcontrollers and in "constrai...
MicroPython | 4 min | 2271
This is a tutorial to control and display widgets on an E-INK display using an ESP32. Three widgets are available:
- Weather: weather forecast obtained using the OpenWeatherMap API.
- News: news highlights obtained using the NewsApi API.
- Notes: notes that can be added using a web-server that runs on the ESP32.
The result can be seen in this video:
Thus, in this tutorial, I will try to achieve the following:
- A guide to compile MicroPython to freeze modules;
- A setup guide for...
MicroPython | 2 min | 4024
This tutorial extends the article MicroPython: Taking photos with an ESP32 and in this case, the ESP32-CAM running MicroPython takes a photo every 5 seconds and saves it on the microSD card. The photos can be then combined into a time-lapse video! :)
The MicroPython official version doesn't support I2S interface. However, tsaarni wrote a driver for the OV2640 and forked the MicroPython repository to include it. Thus, you need to follow the instructions in this article: MicroPyt...