công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

101020652 bảng dữ liệu(PDF) 21 Page - Seeed Technology Co.,Ltd.

tên linh kiện 101020652
Giải thích chi tiết về linh kiện  Grove - 2.5A DC Current Sensor(ACS70331)
PDF  28 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  SEEEDSTUDIO [Seeed Technology Co.,Ltd.]
Trang chủ  https://www.seeedstudio.com/
Logo SEEEDSTUDIO - Seeed Technology Co.,Ltd.

101020652 bảng dữ liệu(HTML) 21 Page - Seeed Technology Co.,Ltd.

Back Button 101020652 Datasheet HTML 17Page - Seeed Technology Co.,Ltd. 101020652 Datasheet HTML 18Page - Seeed Technology Co.,Ltd. 101020652 Datasheet HTML 19Page - Seeed Technology Co.,Ltd. 101020652 Datasheet HTML 20Page - Seeed Technology Co.,Ltd. 101020652 Datasheet HTML 21Page - Seeed Technology Co.,Ltd. 101020652 Datasheet HTML 22Page - Seeed Technology Co.,Ltd. 101020652 Datasheet HTML 23Page - Seeed Technology Co.,Ltd. 101020652 Datasheet HTML 24Page - Seeed Technology Co.,Ltd. 101020652 Datasheet HTML 25Page - Seeed Technology Co.,Ltd. Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 28 page
background image
7/23/22, 9:13 PM
Grove - 2.5A DC Current Sensor(ACS70331) - Seeed Wiki
https://wiki.seeedstudio.com/Grove-2.5A-DC-Current-Sensor-ACS70331/
21/28
83
self.addr = addr
84
85
def get_nchan_vol_milli_data(self,n,averageValue):
86
'''
87
Get n chanel data with unit mV.
88
:param int n: the adc pin.
89
:param int averageValue: Average acquisition fre
90
Returns:
91
int: voltage value
92
'''
93
val = 0
94
for i in range(averageValue):
95
data = self.bus.read_i2c_block_data(self.add
96
val += data[1]<<8|data[0]
97
val = val / averageValue
98
return val
99
100
def get_nchan_current_data(self,n,sensitivity,Vref,a
101
'''
102
2.5A/5A DC/10A cunrrent sensor get n chanel data
103
:param int n: the adc pin.
104
:param float sensitivity: The coefficient by wh
105
:param int Vref: Initial voltage at no load.
106
:param int averageValue: Average acquisition fre
107
Returns:
108
int: current value
109
'''
110
val = 0
111
for i in range(averageValue):
112
data = self.bus.read_i2c_block_data(self.add
113
val += data[1]<<8|data[0]
114
val = val / averageValue
115
currentVal = (val - Vref) * sensitivity
116
return currentVal,val
117
118
def get_nchan_AC_current_data(self,n,sensitivity,Vre
119
'''
120
5A current sensor AC output and get n chanel dat
121
:param int n: the adc pin.
122
:param float sensitivity: The coefficient by wh
123
:param int Vref: Initial voltage at no load.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com