Installing Loboris (lobo) Micropython on ESP32 With Windows 10 [easy]
Installing Loboris (lobo) Micropython on ESP32 With Windows 10 [easy]: This guide will help you to install loboris micropython on your ESP32 without any further knowledge.
Loboris has librarys which the standard micropython hasn't and which are quite usefull. This guide is especially made for my tutorial on how to use …
WiFi Climate Sensor Enclosure for ESP32 (or ESP8266) and DHT22 (or DHT11) by Light24bulbs
This little enclosure will hold an ESP32 and DHT22 snugly, for wifi climate monitoring in a nice small package. I recommend the vented, direct soldered lid. Even with the vents, if you use this without deep sleep or lower power mode, THE ESP WILL HEAT UP AND SKEW THE READING. Take a look at my code for deep sleep if you need to.
I used a couple dabs of hot glue to hold the components to the case.
I used Blynk to easily build a little dashboard for it that I can use on my phone for free, as pictured. You can find the code I used to do this here: https://github.com/light24bulbs/Blynk-DHT22-Climate-Sensor
If you load it onto the ESP32 or 8266 with PlatformIO, it will automatically install the DHTesp library needed. Just swap in your WifI and blynk key and you're all set! You can build a GUI super easily with Blynk all on your phone.
Portable CO2 sensor - ESP32 M5Stack compatible by hpsaturn
M5CoreInk / M5StickC CO2 Sensirion sensor hat
Source code and 3DPrint files for making a CO2 hat for M5CoreInk/M5StickC (or any ESP32 compatible board), this use a Sensirion SCD30 sensor for get CO2 values.
Components
Description
Store link
M5CoreInk
M5Stack
M5Stack Proto
M5Stack
Sensirion SCD30
Mouser
M5StickC (compatible)
M5Stack
M5StickC Plus (compatible)
M5Stack
How to build it
Firmware upload
First of all, install PlatformIO with your favourite IDE (i.e. VSCode). Follow this instructions. Also, you may need to install git in your system. source code
Clone the repo
git clone https://github.com/hpsaturn/co2_m5coreink.git
Via IDE (vscode)
Connect the M5CoreInk or compatible board via USB. In Windows 10, drivers are installed automatically. I guess with other OS will be automatically installed too.
Open cloned folder with your PlatformIO IDE and build & upload it. For details please see the documentation, but the process flow is more easy than Arduino IDE flow, but you can also import it to the Arduino IDE if you want.
Via PlatformIO CLI
After the clone, enter to directory and you can build and upload the current firmware from CLI:
pio run --target upload
3D print Files
This is a Snap-Fit Case for the latest ESP32 Devkit v4, which has (compared to the Devkit v1) a smaller PCB without screwholes and where the antenna is sticking out. As far as i can tell, there are no other cases for the the Devkit v4, which i why i made a custom one.
Features:
hole for status LED
two integrated buttons
snap-fit top and bottom shells
pin breakout supported (male & female)
both STL's and FreeCAD files
Configuration:
fully enclosed (no pin breakout, just the bare board in a case)
pin breakout to the bottom (breadboard compatibililty)
pin breakout to the top (typically usefull for projects)
...just pick the corresponding top and bottom part for the case.
Note:
Wether you want to use male or female pin headers is your choice and most likely depends on you projects configuration and needs. The dimensions in the pin-breakout allow for both, as they are of the same size.
The Snap-Fit mechanism requires some force to close and a spunger to being opened again. The tolerance is very small, so that even a small over-extrusion might make it to tight.
Enjoy!
How to visualize Sensor data using Grafana and InfluxDB
In this article, you will build a Grafana dashboard to visualize the data of a temperature sensor that will be read using a microcontroller and send over MQTT.