国产精品一区二区在线观看-国产精品一区二区三区免费视频-国产精品一区二区三区高清在线-国产精品一区二区三-欧美一级棒-欧美一级xxxx俄罗斯一级

Time: 2024-08-18  韋克威科技

How does ACS712 current sensor measure current- Weikewei - accuracy up to 0.5%, comes with a technical manual as a gift

Linear current sensor based on AC 712 Hall effect and Arduino Uno for measuring DC current. If used and designed properly, ACS712 can accurately measure current. Various blogs on the Internet have introduced the interface between the ACS712 current sensor and Arduino and other microcontrollers. In fact, all of their current measurement formulas (obtained for the ACS712 current sensor) are inaccurate. Therefore, the editor decided to write an article about the ACS712 current sensor and provided circuit and code examples. In this post, the editor will define the best method and precise formula for measuring DC current using the ACS712 current sensor. The editor will use logic to define each step of the code and circuit in a simple and in-depth manner. The project code is open source, and you can download and modify it as needed.

The Acs712 current sensor can measure both DC and AC currents. For this project, only direct current will be measured. This article only explains the DC measurement formula. When using the ACS712 Hall effect current sensor to measure AC current, the following formula cannot be used.

About acs712

ACS712電流傳感器引腳定義圖

Acs712 is a linear current sensor based on the Hall effect. It can measure both DC (direct current) and AC (alternating current). The sensor chip is made of Allegro. The pin outputs and pin descriptions of the chip are as follows.

IP+and IP-

Connect the sensor in series to the system where its current is to be measured. Cut off the circuit wires and connect one end of the wires to IP+and the other end to IP -. Recalling a high school lecture, current can only be measured in series. Therefore, do not connect the sensors in parallel. Parallel connection may damage the sensor.

Vout

Viout is the voltage output pin. ACS712 outputs analog signals corresponding to any changes on the IP+and IP - pins; In other words, if there is any change in their current, ACS712 outputs an analog voltage on the VIOUT pin.


Static output voltage (VIOUT (Q)). The device output when the primary current is zero. For a unipolar power supply, the nominal voltage is maintained at VCC ? 2. Therefore, VCC=5V is converted to VIOUT (Q)=2.5V. The change in VIOUT (Q) can be attributed to the resolution of Acs712. If the operating voltage of Acs712 is 5V (VCC=5V) and there is no input current, Viout will be 2.5V. 2.5V is the basic voltage when 5V is input, and any change in input current will result in a change in output voltage. When the current starts flowing through pin acs712, Viout decreases.

ACS712 DC current measurement formula

Current=(AcsOffset - (analog reading measured by Arduino)/sensitivity


When no current flows through the circuit, Acs Offset is the normal voltage output on the Viout pin.

The analog reading measured by ALLEGRO is an analog signal value, which is read from the analog channel connected to the output of acs712 and converted to the actual voltage.

Sensitivity represents the variation of Acs712 in a current of 1 ampere. For all versions of ACS712, they are shown in the above figure.


ACS712電流傳感器


There are reassembled ACS712 current sensor boards on the market. They are easy to install in circuits and have very simple connections. They have three pins. The two are power pins vcc and gnd. The third one is the output pin. A 2-pole connector is also provided to insert the wires of devices that require current measurement. A typical ALLEGRO acs712 current circuit board is shown in the following figure.

ACS712電流傳感器板

主站蜘蛛池模板: 日本在线观看中文| 免费在线观看黄视频| 日韩99| 国产永久视频| 欧美日韩免费一区二区在线观看| 成年人视频免费在线观看| 久久精品免费看| 亚洲依依成人综合网站| 日韩久久精品一区二区三区| 青草草在线观看| 国产日韩一区在线精品欧美玲| 请做我的奴隶在线观看| 最新九九精品| 欧美日日| 欧美日韩国产在线人成dvd | 久久精品视香蕉蕉er大臿蕉| 成年人免费视频网站| 青青青草国产| 久久免费视频99| 99在线观看精品视频| 久久久999久久久精品| 草比视频| 青青热久免费精品视频网站| 国产精品99精品久久免费| 亚洲天堂一区二区三区四区| 亚洲成人黄色在线| 亚洲国产成人精品一区二区三区| 久久精品高清| 欧美日韩一区二区三区四区| 免费视频网站在线观看黄| 青青草视频在线免费| 外国人照片| 宅男撸66首页在线观看| 变成黑皮辣妹在线观看| 国产三级在线观看免费| 欧美青青草| 伊人网欧美| 久久91精品国产91久久小草| 用你的手指来扰乱吧| 欧美日日| 国产成人免费片在线视频观看|