PZEM-004T Energy Meter with ESP32 – Complete Guide (Voltage, Current, Power & Energy Monitoring)

IntroductionWith the rise of IoT-based energy monitoring systems, measuring electrical parameters like voltage, current, power, and energy consumption has become essential for smart homes, industries, and research projects. The PZEM-004T v3.0 energy meter module combined with the ESP32 microcontroller is a powerful, low-cost solution for real-time AC power monitoring.In this blog, we will learn how to interface PZEM-004T with ESP32, understand its working principle, wiring, and Arduino code, and explore real-world applications.What is PZEM-004T?The PZEM-004T is a single-phase AC energy...

Read more...

How to Use OTA with ESP32 (Over-The-Air Firmware Update Guide)

IntroductionUpdating firmware on an ESP32 using a USB cable every time can be frustrating—especially once the device is installed inside an enclosure or deployed remotely.That’s where OTA (Over-The-Air) updates for ESP32 OTA come in.Firmware updates are crucial for maintaining the security and functionality of your devices. Regular updates can patch vulnerabilities and introduce new features, making OTA updates an essential practice for IoT developers.This method not only enhances convenience but also significantly reduces downtime and manual intervention, especially beneficial for...

Read more...
ESP32 with ZMPT101B voltage sensor AC voltage measurement circuit
ESP32 with ZMPT101B voltage sensor AC voltage measurement circuit2

ESP32 with ZMPT101B Voltage Sensor – Complete AC Voltage Measurement Guide (2026)

IntroductionMeasuring AC voltage using ESP32 is a common requirement in IoT, energy monitoring, and automation projects. In this guide, we explain how to use the ZMPT101B AC voltage sensor with ESP32 to accurately measure AC voltage measurement with ESP32 using Arduino IDE. This tutorial is ideal for students, hobbyists, and IoT learners in India working on real-world electronics projects.Understanding AC voltage measurement with ESP32 can greatly enhance your IoT projects.👨‍🎓 Who Should Use This...

Read more...
esp32 with ds3231 tutorial

ESP32: Guide for DS3231 Real Time Clock Module

⏰ What is DS1307 RTC?The DS1307 is a real-time clock IC by Maxim Integrated that keeps track of:SecondsMinutesHours (12 or 24-hour mode)Day, Date, Month, YearAutomatically adjusts for leap years✅ It communicates with microcontrollers using SPI (Serial Peripheral Interface) — unlike the more common DS1307, which uses I2C.🔍 Key FeaturesFeatureDetailsInterfaceSPIVoltage2.0V – 5.5VTimekeepingSeconds, Minutes, Hours, Day, DateBattery backupYes (CR1220 or CR2032 coin cell)OscillatorRequires external 32.768 kHz crystalAlarm + Square WaveBuilt-in (configurable)🧰 Components RequiredComponentDescriptionESP32 boardMicrocontrollerDS1306 RTC moduleWith CR2032 battery and SPI pinsJumper wiresMale-to-female preferredBreadboardFor clean prototypingArduino IDETo program ESP32🔌 DS1307 to ESP32 Wiring...

Read more...