IOT based Solar Power Energy meter with ESP32 and #Thingspeak.com PART1 #IOT #ESP32, #Energymeter
hrbembedded & craft
View ChannelAbout
No channel description available.
Video Description
IoT Based Smart Electricity Energy Meter using ESP8266 & Blynk Application video link : https://youtu.be/D-uvODDcdaA Components Details () 1.ESP-32 ESP32S Expansion Board 30 Pin : https://amzn.in/d/8iRljRi 2.Esp-32 Wifi, Bluetooth, Dual Core Chip Development Board 3.LM2596 DC-DC Buck Converter Step Down Module 4.INA219 I2C interface Bi-directional Current/Power Monitoring Sensor 5.DHT 11 6.20x4 LCD Display 7. I2C Serial Interface Board module Lcd 8. Small Bread Board 9..12 V 20W Solar Panel In this video we are going to discuss with a project includes a module which can be measure current power and voltages for DC supplies and to send the values to IOT platform like thinkspeak.com nowadays we are using a lot of solar panels and renewable energies for power applications and design control circuits too, so here we need to monitor the voltage power, and current to protect the battery or circuitry, it is essential to monitor and record the parameters like voltage current and power consumptions for AC circuit we have already published in our you tube channel the video with a module of pzem004T which can measure all the parameters for AC circuits like voltage current frequency power and power factor related video link of IOT based AC energy meter using pzem004T youtube link is given in the description for your reference for DC power supply I found a low cost module which can measure all these parameters is known as I N A 219 which is very much useful for a small projects with the DC supply sources up to 26V and 3.2A max so I thought that I would share some information about this module and discuss the futures and it's applications. INA 219 looks like a simple with minimum no of I/O pins, there are six pins on one side to connect Vcc and ground and two pin for I2C connection SDA SCL two on other side for connecting load in series with DC source VCC: This pin is used to supply the operating voltage to the INA219 module. It can handle an input voltage of 3.3V to 5.5V. GND: This is the Ground pin. SCL: This pin is used for the clock line of the I2C interface. SDA: This pin is used for the data line of the I2C interface. Vin-: This pin connects to the negative terminal of the voltage supply that you want to measure. This pin is also where the shunt resistor is placed and is used for current sensing. Vin+: This pin connects to the positive terminal of the voltage supply that you want to measure. Feature and specification Operational Voltage : The INA219 operates between 3 to 5.5 volts, increasing its compatibility with various systems running at either 3.3V or 5V logic level. Bus Voltage Range (0 – 26 Volts): The INA219 can monitor power supplies within 0 to 26 volts range Current Sensing Range (±3.2A with ±0.8mA resolution): The INA219 can monitor a current range of ±3.2A with a precise resolution of ±0.8mA. 0.1 ohm 1% 2W Current Sense Resistor: The module uses a 0.1-ohm shunt resistor with a 1% tolerance and 2W power rating for current sensing. The low resistance value minimizes power loss, while the 1% tolerance ensures measurement accuracy. The 2W power rating indicates its robustness, supporting current measurements up to ±3.2A. Code Discription The first part of the programme is to include the Wire and Adafruit INA219 library. The Wire library enables the microcontroller to use the I2C communication The Adafruit INA219 library makes the handling of the sensor itself easier because we only need to use one function for each measurement. After the two libraries are included, the Adafruit INA219 object is created with the name ina219. In the setup function we open the lcd communication because I want to display the measurements lcd display of 20x4. In the second part of the setup function the INA219 object is initialized with the begin function and if the object could not be initialized, we know that something with the chip is wrong. Therefore we print this error message to the serial output. We extract the values from ina219 device using busvoltage = ina219.getBusVoltage_V(); current_mA = ina219.getCurrent_mA(); power_mW = ina219.getPower_mW(); And to display in LCD In the last part of the setup function a table is created with all measurements we want to print and display in LCD and serial monitor. The loop function starts with creating float variables for each measurement that are all set to zero and continuously print the values. Thanks for watching, please do subscribe!!
Upgrade Your Everyday
AI-recommended products based on this video

Kasa Smart Outdoor Smart Plug by TP-Link (KP400) - Smart WiFi Outlet with 2 Sockets, IP64 Waterproof, Works with Alexa and Google Home, 2.4GHz WiFi Required, No Hub Required, Sunset & Sunrise Offset

Wireless Earbuds, Sports Bluetooth Headphones, 80Hrs Playtime Ear Buds with LED Power Display, Noise Canceling Headset, IPX7 Waterproof Earphones for Workout/Running(Black)

Wireless Earbuds, Bluetooth 5.4 Headphones HiFi Stereo with 4 HD Mic, 50H Playtime Bluetooth Earbuds with LED Display, IPX7 Waterproof Wireless Earphones, Touch Control Ear Buds,USB-C White

Wireless Earbuds, Bluetooth Ear Buds 5.4 Mini HiFi Stereo with 4 ENC Noise Cancelling Mics Wireless Headphones, in Ear Earphones 40H IP7 Waterproof, USB C, Bluetooth Earbuds for Sports, Gym, Rose

soundcore P31i by Anker, Real-Time Adaptive Noise Cancelling, Hi-Res Sound, Translation Earbuds, 50H Playtime, Wireless Earbuds, Bluetooth Earphones, Spatial Audio, Fast Charging, IP55 ClimatePartner certified

Brita Stainless Steel Premium Filtering Water Bottle, BPA-Free, Reusable, Insulated, Replaces 300 Plastic Water Bottles, Filter Lasts 2 Months or 40 Gallons, Includes 1 Filter, Carbon - 20 oz.

Simple Modern Filtered Water Bottle | Insulated Stainless-Steel Carbon Filter Travel Water Bottles | Reusable for Clean Drinking Water On The Go | 24oz, Sea Glass Sage

FITVII Health & Fitness Tracker (Answer/Make Calls), Smart Watch with 24/7 Heart Rate and Blood Pressure, Sleep Tracking Monitor, 120+ Sport Mode Activity Tracker

AYATAHA AYATAHA Smart Watch for Kids, Smartwatch Fitness Tracker for Boys Girls, Children's Activity Watch 37 Sports Modes SMS Notification, HD Full Touchscreen IP67 Waterproof, Blue

Iaret Iaret Smart Watch for Women, 1.83" HD Fitness Tracker with 4 Bands, Answer/Make Calls, Heart Rate/Sleep/SpO2/Step Tracking, 100+ Sport Modes, Android/iPhone Compatible Gift (Rose Gold)

Smart Watch for Men Women 1.8" Fitness Tracker, Bluetooth Call, DIY Dial, Heart Rate Sleep Blood Oxygen Monitor, 100+ Sports Modes, IP68 Waterproof Smartwatch for Android iPhone, Alexa Built-in

Hand Warmers 2 Pack, 14000mAh Rechargeable Hand Warmers, Electric Hand Warmer Reusable, Portable Power Bank USB Hand Warmers 4 Levels 8 Heating, Gifts for Raynauds Ski Golf Camping

Hand Warmers Rechargeable, 10000mAh Electric Heated Gloves Power Bank Portable Graphene Handwarmers Pouch with 3 Levels & Double-Sided Heating for Hunting Camping Golf Xmas Gifts for Women Men Kids

2Pack Rechargeable Hand Warmer, 8000mAh Electric Hand Warmer Power Bank, Portable USB-C Hand Warmer for Pocket, Reusable Hand Warmer Up to 8 hrs Each, Warm Gift for Men Women, for Hunting, Camping

GTOCE Portable Charger,40000mAh Power Bank with 22.5W Fast Charging LED Digital Display Battery Pack with 6 Outputs 2 Inputs, Type C Powerbank Portable Charger for iPhone 16 pro Samsung AirPods,Black

YMZ Smart Watch for Men Women, IP68 Waterproof, Bluetooth Calling, Fitness Tracker, Sleep Monitoring, 1.85'' DIY Dial, AI Built-in, 100+ Sports Modes, 7 Days Battery, Compatible with Android & iPhones

Smart Watch for Men Women 1.8" Fitness Tracker, Bluetooth Call, DIY Dial, Heart Rate Sleep Blood Oxygen Monitor, 100+ Sports Modes, IP68 Waterproof Smartwatch for Android iPhone, Alexa Built-in

Smart Watch for Men Women with Bluetooth Call, Alexa Built-in, Heart Rate & Sleep Monitor, 1.83" DIY Dial Fitness Watch with 100+ Sport Modes, IP68 Waterproof, Compatible with Android iOS

Smart Watch for Men Women with Bluetooth Call, Alexa Built-in, Heart Rate & Sleep Monitor, 1.83" DIY Dial Fitness Watch with 100+ Sport Modes, IP68 Waterproof, Compatible with Android iOS

Hydroponics Growing System Indoor Garden - Herb Garden with Grow Light, 15 Pods Stainless Steel Indoor Garden Kit, Auto Timer, Gardening Gift for All Ages

Umbra Triflora Hanging Planter for Window, Indoor Herb Garden, Set of 5, White/Black

Large Hydroponics Growing System 14 Pods, Indoor Herb Garden with LED Grow Light, 5L Water Tank, Hydroponic Grow Kit with 3 Auto-Timers, Rotatable Light Panel and Child Lock for Home School Gardening

Hanging Planter Hanging Plant Holder, 6 Inch 4 Indoor Plant Pots, Wall/Window Plant Hanger Indoor Herb Garden

Ninja Air Fryer Pro 5-in-1, 5 QT Capacity, Air Fry, Bake, Roast, Reheat, and Dehydrate, Air Crisp Technology, Nonstick Basket & Crisper Plate, Grey, AF142C

Glass Oil Sprayer for Cooking, 180ml Olive Oil Sprayer Bottle with Brush, Olive Oil Spray Mister, Kitchen Gadgets Accessories for Air Fryer, Canola Oil Spritzer (GREY)

Hi.FANCY Portable Laptop Stand with Dual Cooling Fans for 14-17inch Laptops, Grey, 23.5 x 25.9 x 0.95cm

Laptop Stand for Desk, Adjustable Laptop Riser ABS+Silicone Foldable Portable Laptop Holder, Ventilated Cooling Notebook Stand for 10-15.6” Laptops,Tablet-Black

JETech 5 in 1 Case for Samsung Galaxy S25 Ultra 5G with 2-Pack Each Tempered Glass Screen Protector and Camera Lens Protector, Non-Yellowing Shockproof Bumper Phone Cover (Clear)

TAURI for iPhone 17 Pro Max Case 6.9" with 1-Pack Screen Protector, Camera Lens Full Protection, Military-Grade Protection, Shockproof Transparent Back Bumper Phone Cover - Clear Global Recycled Standard

TAURI for iPhone 17 Pro Case 6.3" with 1-Pack Screen Protector, Camera Lens Full Protection, Military-Grade Protection, Shockproof Transparent Back Bumper Phone Cover - Clear Global Recycled Standard

JOINPAYA 1Set Rechargeable Hand Warmer Hand Heater for Winter Heating Levels Compact

Shakven Rechargeable Hand Warmer | Cute Comfortable Portable Hand Warmers,Ergonomic Adjustable Energy-Efficient Small Heater for Travel, Outdoor, Winter

OCOOPA IP45 Waterproof Hand Warmer Rechargeable, Up to 15hrs Heat,10000mAh Durable Quick Charge Electric Hand Heater, PD Compatible, 3 Levels for Outdoors, Heavy Duty, H01-PD PRO

