Electronic – Why ACS712 is abruptly dropping its voltage output

current measurementh-bridgel293d

I have built a board as shown in the images and the schematic below. I know that according to the datasheet when no current is flowing through the ACS712 it should output something around 2.5V always. However, the sensor is presenting a weird behaviour: When I power the whole board and measure the voltage across the ACS712 output and ground I can see the voltage of 2.5V for a few moments, but then its voltage output drops to something around to 0.3V and keeps oscillating until the maximum of 0.8V.

What could it be? I have already tested with other brand new parts of ACS712 and the same behaviour is occurring.

Things I think it's important to know:

  1. The logic voltage (Vcc) is always stable. 4.99V ~ 5V
  2. The whole board is an H-bridge with a current sensor on it.
  3. When the board is powered (with no load), I can note that the voltage regulator heats, not too much, but the enough to create discomfort after some time.
  4. The L293DD also heats, but less than the voltage regulator

May it be a hardware fault? Maybe the temperature? Maybe some external interference?

Can anyone help me?

enter image description here
enter image description hereenter image description here

Best Answer

Seems that the problem was some cold solder or flux residue. I cleaned the board with isopropyl alcohol and it worked fine.