tutorial
tutorial
An Introduction to PWM: Controlling RGB LED Colors with an ESP32 Potentiometer
I’ll be honest: my first attempt to build an adjustable colored lamp ended with a dead LED and a faint smell of burnt hope. I’d hooked up an RGB LED straight to the ESP32’s GPIO pins, spun a potentiometer, and expected a smooth rainbow. Instead, I got a single angry flicker, then darkness. What I’d missed wasn’t just a current‑limiting resistor — it was the whole concept of Pulse Width Modulation (PWM).
Smart Weather Station ESP32: Control High-Voltage Appliances with a 2-Way Relay
Last winter my garage turned into a walk‑in freezer every night because I’d simply forget to flip the heater switch before bed. I wanted something that didn’t just display the temperature but actually did something with it—so I set out to build an ESP32 weather station that reads the room conditions and physically switches a high‑voltage appliance. The result is a small, Wi‑Fi‑connected brain that uses a 5V 2‑way relay module to control a space heater and an exhaust fan.
Build a Smart Weather Station with ESP32 and DHT11 OLED Display
Introduction I’ve always been slightly obsessed with knowing the exact temperature of my office. Not the outside weather — I can open a window for that — but the microclimate around my desk, where the Wi‑Fi router and the afternoon sun conspire to turn summer afternoons into a slow roast. A few months ago I threw together a bare DHT11 dangling from my ESP32, just spitting readings to the serial monitor.
Visualizing Time Series Data Using Grafana’s Transform and Threshold Tools
I’ve been staring at Grafana dashboards for years now—first while monitoring complex cloud infrastructure, and more recently to keep tabs on my increasingly smart (and sometimes overly opinionated) home. There’s a particular frustration that comes with a dashboard that shows data but doesn’t tell a story. You know the one: a tangled mess of lines on a graph, all in the same color, leaving you squinting and asking, “Okay, but is this good or bad?
Detect Outliers in Your Metrics: A Practical Guide to Grafana Machine Learning
I’ve always been the kind of person who stares at a Grafana dashboard, watching a squiggly line, and wondering, “Is that dip normal? Should I be worried?” For years, my answer was to set up a basic threshold alert. If CPU usage goes above 90%, page someone. But what about the weird, subtle stuff? The slow creep of memory leakage or the sudden, inexplicable drop in request rate that doesn’t cross any static line but just feels… off?
Log Aggregation Using Grafana Loki: A Beginner’s Guide
Ever stared at a mountain of logs, desperately searching for that one error that crashed your service? I’ve been there—more times than I’d like to admit. That’s why I fell in love with Grafana Loki, a lightweight log aggregation system that pairs perfectly with Grafana for seamless troubleshooting. In this guide, I’ll walk you through setting up Loki to collect logs and correlate them with metrics in Grafana. By the end, you’ll have a powerful observability stack that makes debugging feel less like detective work and more like a well-guided tour.
Docker Compose Tutorial
If you are tired of configuring your docker containers every time you want to run it, docker compose is the solution. Docker compose is a tool that will read a configuration file, and will translate it to docker command easily. If you like this article, leave a comment and share it with your friends :) Requirement For this tutorial, you need a linux machine. I am using an Orangepi server because it is very performant and affordable.