Page 1
Welcome to our website! Thank you thanks, that you yourself for DeliveryACS712- 30A current sensor. On the following pages, we will show you how to use and set up this practical device. Have fun!
Page 2
Areas of application Education and teaching: Use in schools, universities and training centres to teach the basics of electronics, programming and embedded systems. Research and development: Use in research and development projects to create prototypes and experiments in the fields of electronics and computer science. Prototype development: Use in the development and testing of new electronic circuits and devices.
Page 3
If the product complies with the requirements of the RoHS Directive (2011/65/EU) and does not contain any hazardous substances in quantities exceeding the permitted limits, residues may still be present. Observe the following safety instructions to avoid chemical hazards: Caution: Soldering can produce vapours that can be harmful to health. Note: Use a soldering vapour extractor or work in a well-ventilated area.
Page 4
These sensors are based on the Allegro ACS712ELC chip. The current sensor is used to measure AC or DC currents in the range of ±30A with an error of 1.5% at T = 25℃. The sensor consists of two parts, a connection for the sensor chip, and the other part with two screw terminal connections for current measurement.
Page 5
This sensor delivers: " Isolation from the load "easy to integrate with microcontrollers "Scaling factor": Module: 5A - Module 20A - Module 30A - Module Scale Fact: 185 mV/Amp 100 mV/Amp 66 mV/Amp You need to choose the right range for your project as you will have to accept the accuracy for higher range modules.
Page 6
The ACS712-30B can measure currents up to ±30A and offers an output sensitivity of 66mV per A (at a supply voltage of +5V). This means that for every 1A increase in current through the line connections in the positive direction, the output voltage also increases by 66mV. The sensitivity of the 5A and 20A versions is 185mV/A and 100mV/A.
Page 7
Connecting the module The ACS712 module has two block terminal connections (green blocks on the board) with mounting screws, as shown above. These are the terminals to which the wire must be connected. In our case, we are measuring the current drawn by the motor.
Page 9
Therefore, if the supply voltage is not stable, the ADC measurements may not be precise and accurate. However, if the reference voltage of the ADC matches the supply voltage of the ACS712, then the ratiometric output of the ACS712 compensates for any error in the A-D conversion caused by the fluctuation of the reference voltage.
It is always better to take several ADC measurements and then calculate their average. Application example In this example, we use a servo motor to measure the current that the servo motor draws from a microcontroller board. If the servo motor is connected to the power supply but the control wire (yellow wire in the picture) is not...
Page 12
We connect the output of the sensor (green wire) to the analogue input pin 0. Example of a sketch: // Current measurement with ACS712 - 5A, 20A and 30A modules rawData; // Analogue data read from the sensor servo = 9; // The PWM pin to which the servo is connected double...
Page 13
delay(500); The number 2494 can vary from sensor to sensor, so we have to determine it by calibration. This number represents the sensor output at 0A current. It is the analogue voltage output of the sensor at 0A current. Decomment the code line Serial.println(voltage) and load the sketch onto the microcontroller board, start the serial monitor and you will get this value.
Page 14
This concludes the discussion about the ACS712 current sensor. However, one problem has not yet been addressed. How would you measure an AC current with the ACS712 sensor? Remember that the ACS712 sensor provides an instantaneous output signal that corresponds to the current flowing through the block terminals.
Page 15
Now it's time to learn and create the projects yourself. You can do this with the help of many example scripts and other instructions that you can find on the Internet. If you are looking for high-quality microelectronics and accessories, AZ-Delivery Vertriebs GmbH is the right address for you. You will receive numerous application...
Need help?
Do you have a question about the ACS712-30A and is the answer not in the manual?
Questions and answers