ESP32 project to monitor electrical activity at home
| Design a compact sensor for multiple cables in a wiring closet that can detect in use [and roughly by how much] Make sure to follow the Setup first |
|
8 x SS49E 3.3v Hall effect Ferrite core |
2 x Quad OP amp
I²C (for ADS1115)
Each Quad amp can read 4 hall sensors |
Purely optional SPI (for SD card)
|
|
Sample wiring for one sensor via op amp ![]() First Prototype device ![]() Comparison with a Mini CT ![]() Sample test circuit with mini, micro and normal CTs How was this tested and calibrated The brown mains live wire was powered by a Shelly 1PM switch which measures the current passing. The factor was adjusted for the micro CT to display the same current Increasing the current causes the micro CT to show a similar increase linearly Values achievable are accurate to within a few 10s of ma. How was the prototype installed Needing to power off the main board we needed lighting to work on it and used an old APC 350W UPS with a car battery connected to a LED strip light ![]() Considered a homemade spacer but it wasn't necessary ![]() Before and after installation
|
Sample monitoring with current values and live solar
End of day results
What was discovered so far with this prototype Readings quite accurate and stable results to within < 10 W [GHeat P2 745-753 W, source 750 W device] not impacted by proximity to other wires or current draws, so far Aircon when off uses ~ 65 W [quite unexpected] Absolutely delighted with the outcome, however the sensors were too delicate and fiddly to install. A new design for the sensor, with a short sleeve shirt, is being developed This will make it easier to calibrate and install consistently ![]() Initial design for a 3D print Cardboard cut-out from a 3 bar Kägi chocolate packet |
|||||||||||||||||||||||||||||||||||||||
✅ Parts ListFor monitoring up to 8 current circuits using:
Total cost for necessary parts $23.80, including postage,
✅ System Overview
|
|||||||||||||||||||||||||||||||||||||||
Wiring and ConnectionsSS49E Sensors (x8)
Cable tie to wire to be measured at 90 degrees inside a ferrite Connect using a twisted pair for OUT and GND. ADS1115 (x2 units)
ADS1115 Gain Setting
ESP32 I²C Pinout (Default)
Sample ESP32 Code Snippet (Pseudocode)ads.setGain(GAIN_ONE); // ±0.256V
|








