Skip to content

Latest commit

 

History

History

ACS712_5A

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

ESP32 and ACS712 5A

Using ESP32 and ACS712 5A to read the DC current of a 30W solar panel. To develop the current reading, a direct current Led 12V (1A) was connected directly to the solar panel. The solar panel specifications are illustrated below:

PlacaSolarEspecific

In addition, the sensor was connected in series to the lamp's positive part. The GND(-) pin of the sensor was connected to the GND pin of the ESP32, VCC(+) to 3v3, and the output pin S to the pin GPIO 34, connections were made as illustrated below:

Current_Test

Esp32_pin

For this sensor, it was necessary to calculate an equation that relates the input current with the analog read on the ESP pin, and this was done by measuring them using a multimeter, with the connected sensor. In this way, the graph was generated with the equation that calculates the measured values.

EqACS712

With this equation, the present project was developed, and the readings were successfully performed.

FONT:

GONÇALVES, A. Sistema de Monitoramento de Energia Solar Fotovoltaica com Armazenamento de Dados em Nuvem. Projeto de Conclusão de Curso — Universidade do Estado de Minas Gerais, 2023.