Manage cookies

We use cookies to improve our services. Read more about how we use cookies and how you can refuse them.

The necessary cookies help to make the website work properly.

Anonymous statistical cookies help to understand how visitors use the website.

    • MicroPython

      MicroPython

      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!


    • M5Stack, MicroPython, Product Reviews
      1 min | 718

      M5Stamp Pico: M5Stack presents today an ESP32 miniature and powerful module

      M5Stack, MicroPython, Product Reviews | 1 min | 718


      M5Stack is a technology company based in Shenzhen China, which specializes in the design, development, and production of IoT development toolkits and solutions, and today they have just launched a new device in its core series: the M5Stamp Pico; and awesomeness comes in small packages.

      I thought the M5Stack ATOM would be the smallest core possible, but I was wrong!. The M5Stamp Pico is even smaller and still very powerful. The M5Stamp is the smal...

    • LoRa/LoRaWAN, MicroPython, Raspberry Pi
      5 min | 8037

      #Raspberry Pi Pico: The RP2040 meets LoRaWAN

      LoRa/LoRaWAN, MicroPython, Raspberry Pi | 5 min | 8037


      The "Pico" board with the RP2040 chip developed by the Raspberry Pi Foundation is the latest tiny fast and versatile board in Arduino Nano format. As you may already know, the board can be programmed using MicroPython and C/C++. In this tutorial, I extended the official MicroPython version to support cryptographic primitives, and this unlocks the possibility to connect the board (using the SX1276 chip) to the "The Things Networks" (TTN) - which means LoRaWAN support.

      Fig....
    • M5Stack, MicroPython
      2 min | 6803

      #M5Paper: a Touch EINK device not only for hobbyist

      M5Stack, MicroPython | 2 min | 6803


      M5Stack has just launched a new device in its core series. This time, the company has combined two great things into a great product: a 4.7" EINK screen with touch capabilities and an ESP32 with 8MB PSRAM. As usual, the device is compatible with Arduino, MicroPython, and UIFlow. It only costs USD69,00.

      The M5Paper is a fully programmable and portable device, which is an ideal choice for an IoT application (or you can just use it as an E-reader). The touch EINK screen can b...

    • Cloud Platforms, M5Stack, MicroPython
      12 min | 2378

      #M5Stack: Fresh air checker can help you to stay safe from #COVID-19

      Cloud Platforms, M5Stack, MicroPython | 12 min | 2378


      Winter is coming and the air-quality inside a closed room could be an index used to estimate the amount of aerosols in it, and hence the risk of Covid-19 infection. In other words, a system of CO2 traffic lights could help to spot potential corona-aerosols!

      Where there are many people in a room, there is a lot of exhalation (approx. eight liters of air per minute per nose). This air contains CO2 (carbon dioxide). Long before Covid-19, in Germany, the German Environment Agenc...

    • M5Stack, MicroPython
      2 min | 4289

      #MicroPython: OV2640 camera module extended (M5Camera, ESP32-CAM, etc.)

      M5Stack, MicroPython | 2 min | 4289


      I've just upgraded the MicroPython camera module for ESP32. The OV2640 uses I2S and two months ago, I wrote/updated the I2S connector to support more boards (check the hardware and software section below).

      This time with the help of @joerggollnick, the driver was extended to include the following camera settings: frame size, white balance, saturation, brightness, contrast special effects, image quality, vertical flip, and horizontal flip.

      Hardware and Software

      DIY: Instructions

      I've i...

    • M5Stack, MicroPython
      4 min | 6276

      #MicroPython: M5CAMERA timelapse video using MQTT

      M5Stack, MicroPython | 4 min | 6276


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

    • M5Stack, MicroPython
      4 min | 8553

      #MicroPython: Support for cameras: M5CAMERA, ESP32-CAM etc.

      M5Stack, MicroPython | 4 min | 8553


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

    • M5Stack, MicroPython
      5 min | 4061

      #M5Stack: Introducing the brand new M5Stack ATOM Echo using MicroPython

      M5Stack, MicroPython | 5 min | 4061


      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 | 3037

      #MicroPython: DIY rotating platform using an ESP32 connected to Wi-Fi

      MicroPython | 2 min | 3037


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

    • LoRa/LoRaWAN, M5Stack, MicroPython
      2 min | 1582

      #M5Stack: LoRaWAN and MicroPython on the 'Fire'

      LoRa/LoRaWAN, M5Stack, MicroPython | 2 min | 1582


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

    • M5Stack, MicroPython
      6 min | 2728

      #MicroPython: GCP getting air-quality data from an M5Stack ATOM

      M5Stack, MicroPython | 6 min | 2728


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

    • LoRa/LoRaWAN, M5Stack, MicroPython
      3 min | 3750

      #M5Stack Atom Matrix: LoRaWAN node running MicroPython

      LoRa/LoRaWAN, M5Stack, MicroPython | 3 min | 3750


      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.

      It has:

      • 6 GPIO (Dupont Pins)
      • GROVE/4Pin PH2.0 interface
      • 5 x ...
    • M5Stack, MicroPython
      6 min | 15241

      Tutorial: Getting Started with MicroPython on ESP32, M5Stack, and ESP8266

      M5Stack, MicroPython | 6 min | 15241


      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 | 6809

      #MicroPython: a three-color E-INK display controlled using an ESP32

      MicroPython | 4 min | 6809


      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 | 15254

      #MicroPython: Portable time-lapse camera using an ESP32-CAM

      MicroPython | 2 min | 15254


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