MicroPython | 4 min | 606
diy projectse-ink displaye-papergetting startedmicropythonmicropython extensionstutorial
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 the code (Wi-Fi, APIs);
- Steps to upload the code to the ESP32 board.
Hardware & Software
In the following table, you...
MicroPython | 2 min | 925
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: MicroPython: Taking photos with an ESP32 to install the right firmware.
Hardware and Software
In the following table, yo...
esp32getting startedloralorawanmicropythontutorialwireless communication
LoRa is a wireless data communication technology that enables you to transmit data over a very-long-range (more than 10 km in rural areas) with low power consumption. It uses license-free sub-gigahertz radio frequency bands as the 169 MHz, 433 MHz, 868 MHz for Europe, and 915 MHz for North America.
In October 2018, I published an article about LoRa and ESP32, and I uploaded a project to GitHub. The project includes a SX127x driver for ESP32 running MicroPython. However, since LoRa defines the lower physical layer, the upper networking layers were lacking, and it was only possible to send data...
MicroPython | 6 min | 574
bluetoothdiy projectsm5stack firemicropythontutorialvscode
The M5Stack is a modular open-source toolkit for developing IoT applications. It is based on an ESP32, which is the core module and there are a lot of stackable modules that you can use for different projects. This enables to do rapid and high-quality prototyping!
You can program the core device using the ESP-IDF framework, the Arduino-IDE, Blockly or MicroPython. Unfortunately, the BLE is still not available using the official M5Stack MicroPython firmware (forked from LoBo). However, flashing the ESP32 with the official MicroPython version built with the ESP-IDF v4.x enables the BLE module a...
This tutorial helps you update a BRIO locomotive using an ESP32 that runs MicroPython. As a result, you can control the speed of the BRIO using a cell phone or a laptop (basically, everything that has a browser).
If you don't know what a BRIO locomotive is, check out the following picture:
Fig. 1: BRIO World 33594
In this tutorial, I will try to accomplish the following points:
- Hardware modifications on a ESP32 board;
- MicroPython installation;
- Controlling the locomotive speed using a web browser.
The results can be seen in the following video (turn on the sound!):
MicroPython | 11 min | 2436
aiotkerasmachine learningmaix dockmicropythonobject detectiontensorflow liteyolov2
Therefore, this tutorial will try to accomplish the following points:
- A quick introduction to YOLO(v2)
- A quick introduction to MAix KPU
- Training, evaluation, and testing of the object detector model (on Jupyter-Notebooks running on Docker)
- Flashing the trained model on the MAix M1w Dock Suit running MicroPython (MAixPy)
- Detecting a BRIO locomotive using the MAix M1w Dock Suit
A training example is included, which is...
MicroPython | 4 min | 1197
esp32esp32 projectsm5stackm5stack firemicropythonmicropython extensionsws2812bws2812b leds
Holiday season has begun and Christmas and the New Year 2020 are approaching! This means, time to reflect and to clean up code and, therefore, I am updating some of the GitHub's projects to summarize the year. I started with the Christmas lights project! But, this time, I took the M5Stack Fire and a new LED panel (WS2812b - 16x16 pixel) and with the XMasLight project, these are the results (Fig. 1 & 2):
Fig. 1: M5Stack and a new WS2812b Panel (16x16 pixel).
Hardware and Software
The following hardware and software is used in this tutorial:
MicroPython | 6 min | 9096
cameraesp32esp32 projectsesp32-cammicropythonmicropython extensions
Last year, I bought an ESP32-CAM board from Banggood and I wanted to use it with MicroPython. The board has an OV2640 without any chip (buffer) between the ESP32 and the camera. There are many implementation for Arduino or directly using Espressif, but I wanted to use MicroPython. Thus, the only solution was to use the I2S interface, but I didn't have time to write the driver. Thus, I put the project on hold. However, last week I was searching between the ESP32 boards that I have, I found the board again, and I also found that tsaarni has written the driver for MicroPython.
This tutorial is a...
MicroPython | 4 min | 10769
autocompleteesp32esp8266intellisensemicropythonpymakrvisual studio codevscodewemos
Last December, I wrote an article telling you that I was switching from Atom.io to Visual Studio Code to program MicroPython. Nowadays, I'm still using VSCode and the PyMakr extension. The latter enables the communication to a board running MicroPython using the built-in command line REPL. Thus, I can run a single file on my board, sync my entire project or directly type and execute commands using the Terminal on VSCode. However, I was missing some of the main features of VSCode, namely IntelliSense, autocompletion, and linting capabilities. Last month, BradenM contacted me and told me that he...
development boardselectric screw driveresp32esp32 8mb psrammicropythonmisc articlexiaomi wowstick
This is a really misc. small article. Two month ago, I bought on Banggood two articles that I wanted to show you, but this time, these are not connected to an application, code or a detailed product review. This is only a misc. article to describe my purchase: The Xiaomi Wowstick Screw Driver and the TTGO ESP32 WROVER with 8MB PSRAM.
If you are looking for a very small electric screw driver, then the Xiaomi Wowstick is an option for you. It includes everything that you need except the batteries. You need two AAA batteries and you can start disarming toys, clocks, cell...