M5Stack is an open-source modular toolkit for IoT developments based on ESP32. This combines the advantages of the ESP32 with a nice case, buttons, displays, and a stackable concept that helps you accelerate your DIY Projects. This section includes tutorials and project ideas using the M5Stack family.
#M5Stamp Pico: an ESP32 miniature and powerful module
M5Stack, MicroPython, Product Reviews | 1 min | 4126
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...
#Raspberry Pi HQ Camera: Autofocus for the Telephoto Lens (JiJi)
M5Stack, Raspberry Pi | 7 min | 81000
This tutorial opens the series of articles about "Project JiJi" and describes how to add autofocus to the 16 mm Telephoto Lens mounted on the Raspberry Pi HQ Camera. In the past months, I've been working on a project to add autofocus to the lens and this is the result:
Adding some background to this: The Raspberry Pi Foundation offers different Raspberry Pi Camera modules since 2013. The first module (5-megapixel) was produced in 2013, and an 8-megapixel module upgrade (...
#M5Paper: a Touch EINK device not only for hobbyist
M5Stack, MicroPython | 2 min | 10442
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...
#M5Stack: Widgets on your Smartphone help you to stay safe from #COVID-19
Cloud Platforms, M5Stack | 2 min | 3928
This is the last follow-up of the tutorials:
- M5Stack: Fresh air checker helps you to stay safe from #COVID-19 and,
- Nginx: Docker, Flask and Let's Encrypt (SSL),
in which I explained how to build a CO2 measuring device using a M5Stack and an SG30 sensor, send the data to GCP, and offer it using HTTPS.
Fig. 1: CO2 reporting widgets on Android and iOS.
These sensors can help to prevent Covid-19 spread in a room. If you want to implement the complete pipeline, check out the links above. This tutorial connects the data to your Android or iOS phone to see that in a Widget (see Fig. ...
#M5Stack: Fresh air checker can help you to stay safe from #COVID-19
Cloud Platforms, M5Stack, MicroPython | 12 min | 214179
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: Introducing the new M5Stack CORE2
M5Stack, Product Reviews | 2 min | 10022
M5Stack has just launched the M5Stack CORE2, an ESP32 based IoT development kit, with a capacitive touch screen that brings users a smoother human-computer interaction experience. As usual, the development kit is compatible with Arduino, MicroPython, and UIFlow.
The M5Stack CORE2 has an ESP32 D0WDQ6-V3 with two Xtensa® 32-bit LX6 microprocessors that can be individually controlled. The clock frequency is adjustable from 80MHz to 240MHz.
M5Stack sent me an early sample to play...
#MicroPython: OV2640 camera module extended (M5Camera, ESP32-CAM, etc.)
M5Stack, MicroPython | 2 min | 10428
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:
vertical flip, and
Hardware and Software
#MicroPython: M5CAMERA timelapse video using MQTT
M5Stack, MicroPython | 4 min | 13121
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...
#MicroPython: Support for cameras: M5CAMERA, ESP32-CAM etc.
M5Stack, MicroPython | 4 min | 18681
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: Introducing the brand new M5Stack ATOM Echo using MicroPython
M5Stack, MicroPython | 5 min | 7551
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...
#M5Stack: LoRaWAN and MicroPython on the 'Fire'
LoRa/LoRaWAN, M5Stack, MicroPython | 2 min | 3243
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...
#GCP: Implementing Real-Time data pipelines - from ingest to datastore
Analytics, Cloud Platforms, M5Stack | 13 min | 40898
Two weeks ago, I published a tutorial that explains how to connect an M5Stack running MicroPython to the Google Cloud Platform using the IoT Core, and I did mention that upcoming tutorials will examine the following topics:
- Collecting and synchronizing external data (weather from OpenWeatherMap) and other sensors -window/door status, sneezing detector-.
- Saving the data to a NoSQL database
- Displaying the obtained data on Google Data Studio (chec...
#MicroPython: GCP getting air-quality data from an M5Stack ATOM
M5Stack, MicroPython | 6 min | 19130
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...
#M5Stack Atom Matrix: LoRaWAN node running MicroPython
LoRa/LoRaWAN, M5Stack, MicroPython | 3 min | 5732
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 ...
#Tutorial: Getting Started with MicroPython on ESP32, M5Stack, and ESP8266
M5Stack, MicroPython | 6 min | 31754
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...