Using a ACS712 hall-effect current sensor
Raj made a two part tutorial on how to interface a PIC microcontroller with the ACS712 hall-effect current sensor. The first part covers hall-effect theory and basic operation of the ACS712. The second part covers the actual PIC interface, which is simply reading the output voltage of the sensor.
This entry was posted in tutorials and tagged ACS712, hall-effect, PIC, tutorial.
Sensing and controlling current flow is a fundamental requirement in a wide variety of applications including, over-current protection circuits, battery chargers, switching mode power supplies, digital watt meters, programmable current sources, etc. One of the simplest techniques of sensing current is to place a small value resistance (also known as Shunt resistor) in between the load and the ground and measure the voltage drop across it, which in fact, is proportional to the current flowing through it. Whereas this technique is easy and straightforward to implement, it may not be very precise because the value of the shunt resistor slightly varies with its temperature, which in fact is not constant because of the Joule heating. Besides, this simple technique does not provide an isolation between the load and current sensing unit, which is desirable in applications involving high voltage loads.