SCT013 with ESP32 energy project. Current only showing a constant value


[Unformatted code removed by moderator]

Circuit diagram:
ESP32 circuit

Details and issues:
My project focuses on picking up the current flowing through a live wire using the SCT013.
However, the issue that i faced was that the current shown on the serial monitor in arduino is just a constant value of 0.59A 4095. I would greatly appreciate help and inputs. Thank you so much.

please edit your post, using the pencil icon at the bottom, and add triple backticks at the beginning and end of your code so that it displays correctly. Triple backticks look like this: ```

Also read this :point_down:t2:


1 Like

‘’’ Code:

[Unformatted code removed by moderator]

Copy and paste the triple backticks that i gave if you cannot find it on your keyboard.

Triple backticks looks like ( ``` )

Copy the above given backticks and paste it at the beginning and end of the code.