Post by Omar Elkady

Junior Electrical Engineering Student at Cairo University

I’m excited to share a recent hardware project we successfully designed and implemented for our Electrical and Electronics Measurements (EPEG 203) course ​We built a real-time AC Power Measurement System from scratch, utilizing an Arduino microcontroller for data acquisition and processing. This project bridged the gap between theoretical power concepts and practical hardware implementation. ​Here are some of the technical highlights of our setup: ​Hardware Sensors: We utilized the ZMPT101B voltage transformer and the ZMCT103C current transformer to safely step down and read the AC signals. ​Signal Conditioning: To safely process the alternating currents, we applied a 2.5V DC offset to the signals before routing them to the Arduino's ADC channels A2 and A5. ​Data Acquisition: The system samples 5 full cycles at 10 samples per cycle, displaying updated metrics every 2.5 seconds. ​Real-Time Computations: Our code calculates RMS Voltage, RMS Current, Average Active Power, Average Apparent Power, Average Reactive Power, Power Factor, and Total Accumulated Energy. ​Calibration & Accuracy: To ensure our Arduino readings were precise, we performed rigorous system calibration using a 100W Tungsten Lamp, a digital multimeter, and a digital storage oscilloscope. By tuning our voltage multiplier to match the 220V mains and our current multiplier to match a measured 0.464 A, we achieved highly accurate active power readings of 102.08W with a verified Power Factor of 1.0. ​You can check out our full schematic and the C++ code used for the signal processing here: https://lnkd.in/dVArm9GB ​A massive shoutout to my amazing team for the hard work, late-night debugging, and dedication that made this a success: Mohammed Abdelrahman Mohamed Salem Mohamed Ashraf Mohamed Badr Mohamed Asaad ​#Arduino #ElectricalEngineering #CairoUniversity #Microcontrollers #Electronics #EngineeringProjects #DataAcquisition #Measurements

Post contentPost contentPost content