Measure Any AC Current with ACS712

Module tutorial, signal visualisation and a simple code to measure not only sinewave signals but all types, like TRMS Ammeter. + LCD/OLED.

Dec 12, 2019

129782 views

18 respects

Components and supplies

1

Arduino UNO

1

LCD 16x2 i²c

1

OLED i²c 128x32

1

ACS712 30A

Project description

Code

Code_3.ino

arduino

This code uses statistics formulas to calculate the TRMS of a signal whatever the sape and displays it on the serial monitor

Code_1.ino

arduino

This code is to test the module and visualize the signal shap

Code_ACS712_OLED.ino

arduino

This code uses the TRMS calculation method and displays the value on the OLED.

Code_ACS712_LCD.ino

arduino

This code uses the TRMS calculation method and displays it on the LCD i²c

Code_1.ino

arduino

This code is to test the module and visualize the signal shap

Code_ACS712_OLED.ino

arduino

This code uses the TRMS calculation method and displays the value on the OLED.

Code_ACS712_LCD.ino

arduino

This code uses the TRMS calculation method and displays it on the LCD i²c

Code_3.ino

arduino

This code uses statistics formulas to calculate the TRMS of a signal whatever the sape and displays it on the serial monitor

Code_2.ino

arduino

This code uses the peak-to-peak measuring method to calculate the RMS of a sinewave signal

Downloadable files

Wiring_OLED

Use OLED 128x32

Wiring_OLED

Wiring 1

Wiring used of tests 1,2 and 3

Wiring 1

Wiring_LCD

Use LCD i²c

Wiring_LCD

Wiring_OLED

Use OLED 128x32

Wiring_OLED

Wiring 1

Wiring used of tests 1,2 and 3

Wiring 1

Wiring_LCD

Use LCD i²c

Wiring_LCD

Comments

Only logged in users can leave comments

SurtrTech

0 Followers

0 Projects

Table of contents

Intro

18

0