Espressif IDF – Log Messages

When developing on the microcontroller, it's often important to have the occasional output to gauge whether the developed code is doing the right thing. It's a shame when such outputs still burden the finished product. So that the debugging code makes it into the final product, or only to a limited extent, there are in nearly…

Continue reading "Espressif IDF – Lognachrichten"

Espressif IDF – Error Handling

Error handling in the IDF is one of the core functionalities. You'll encounter it in practically every example program, which is why I'd like to go into more detail here. All important IDF functions return error codes. These can either be handled manually (if condition + own handling) or they can be passed to a special macro (function) for...

Continue reading "Espressif IDF – Fehlerbehandlung"

Espressif IDF – Console Output

Direct output to the console is achieved in the IDF with printf. However, one should be sparing with this, as there are other mechanisms for debugging purposes or error handling, for instance. These can then also be switched on and off via Menuconfig and thus do not burden the CODE. The test code for a simple output looks like this…

Continue reading "Espressif IDF – Konsolenausgabe"

Espressif IDF – Create Project

Here I describe how to create a new IDF project. How to use and install the IDF, also in conjunction with VS Code, has already been described by me at the following links and is not the subject of this post. Installing Espressif IDF for ESP32-S2 VS Code Espressif IDF LILYGO EP32 S2 V1.1 (1st Application) A good start is the IDF example…

Continue reading "Espressif IDF – Projekt erstellen"
Lilygo Oled Banner

LilyGo ESP32-Oled

An ESP32, a display, what more could you want. This is how the LilyGo ESP32 OLED board introduces itself, or something similar. It's relatively short and just about fits on a breadboard with a row to spare on each side. Facts General Description Value Processor ESP32 Flash [MB] 16 USB CP2102 Display SSD1306 Lipo Connector [mm] JST 2x ...

Continue reading "LilyGo ESP32-Oled"

Solar charger

I've bought a set from "Fast Ali" consisting of a solar panel, charge controller, and fill level indicator. I'd like to use this to start some tests regarding independent power supply. Facts Here are the details for each component. Solar Panel Description Value Output voltage [V] 6 Maximum output power [W] 3 Nominal current [mA] 500 Dimensions l / w / h [mm] 145 …

Continue reading "Solar-Ladegerät"

LILYGO EP32 S2 V1.1

Here is a board from the Liligo family with the new ESP32-S2. I have already reported on the ESP32-S2 HERE. It is a USB-C board. The ESP32 is directly soldered. The board has an on/off switch and a LiPo battery regulator with a JST connector. A connecting cable was supplied for the JST connector. The antenna is not soldered but consists of a small metal frame. An external antenna can also be connected. It has three push buttons, a DIP switch, and an SD card slot.

Continue reading "LILYGO EP32 S2 V1.1"