Trust is earned, not given

A different perspective

2020-01-12 · Projects

A toolbox of Arduino libraries for ESP8266 projects

After building several ESP8266 devices (math toys, a weather station, a Geiger counter, an RSS reader), I noticed every project re-needed the same small pieces: string handling, buzzer beeps, backlight dimming, WiFi connection, a boot splash. So I collected them into one repository of small, self-contained Arduino libraries: ESP8266-Functions-Common.

The libraries, one line each

Why "one library per folder" matters

Each library has its own README.md, library.properties and src/. In the Arduino IDE you can install just the ones you need, and each carries its own version number. The alternative — one giant "utils" library — works until you want to use one function and inherit ten dependencies.

Who uses this

Nearly every ESP8266 repository on my GitHub vendors these libraries — that is what "vendoring" means: copying the library source into the project so it builds standalone. The trade-off (updates do not propagate automatically) is worth it for devices that must compile years later.