人妻夜夜爽天天爽爽一区丨18禁黄网站禁片无遮挡观看丨亚洲欧美日韩国产成人一区丨国产亚洲3p无码一区二区丨亚洲www啪成人一区二区

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電流傳感器板

主站蜘蛛池模板: 久久精品www人人做人人爽| 日韩精品av一区二区三区| 国产成人av免费网址| 非洲黑人性xxxx精品| av无码人妻一区二区三区牛牛| 久久久综合九色合综国产精品| 4hu四虎永久免费地址ww416| 免费国产a国产片高清网站| 猫咪免费人成网站在线观看| av人摸人人人澡人人超碰| 99精品国产兔费观看久久| 婷婷五月开心亚洲综合在线| 台湾无码一区二区| 视频二区精品中文字幕| 高清偷自拍第1页| 中国老熟女重囗味hdxx| 久久亚洲中文字幕不卡一二区| 久久亚洲中文字幕精品有坂深雪| 国产精品电影久久久久电影网| 久久久久人妻精品一区三寸| 国产精品xxx大片免费观看| 免费拍拍拍网站| 亚洲无人区码suv| 黑人巨茎精品欧美一区二区| 97人妻免费线观看2018| 97豆奶视频国产| 久久无码中文字幕免费影院| 欧美日韩精品一区二区在线播放 | 久久九九精品国产综合喷水| 偷窥自拍性综合图区| 免费看无码自慰一区二区| 四虎亚洲精品成人a在线观看| 日本丰满护士bbw| 综合偷自拍亚洲乱中文字幕| 亚洲中文在线精品国产| 老司机午夜福利av无码特黄a| 欧美艳星nikki激情办公室 | 美女疯狂连续喷潮视频| 十八禁无遮挡99精品国产| 成人毛片无码免费播放网站| 国产亚洲精品aaaa片app|