数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AM2321 数据表(PDF) 17 Page - List of Unclassifed Manufacturers

部件名 AM2321
功能描述  Digital Temperature and Humidity Sensor
PDF  30 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  ETC2 [List of Unclassifed Manufacturers]
网页  
标志 ETC2 - List of Unclassifed Manufacturers

AM2321 数据表(HTML) 17 Page - List of Unclassifed Manufacturers

Back Button AM2321 Datasheet HTML 13Page - List of Unclassifed Manufacturers AM2321 Datasheet HTML 14Page - List of Unclassifed Manufacturers AM2321 Datasheet HTML 15Page - List of Unclassifed Manufacturers AM2321 Datasheet HTML 16Page - List of Unclassifed Manufacturers AM2321 Datasheet HTML 17Page - List of Unclassifed Manufacturers AM2321 Datasheet HTML 18Page - List of Unclassifed Manufacturers AM2321 Datasheet HTML 19Page - List of Unclassifed Manufacturers AM2321 Datasheet HTML 20Page - List of Unclassifed Manufacturers AM2321 Datasheet HTML 21Page - List of Unclassifed Manufacturers Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 30 page
background image
- 16 -
processing;
7. The communication message frame after all the bytes calculated according to the above
steps completed, the high and low byte of the resulting 16-bit CRC register exchange;
8. The resulting CRC register contents is: CRC code.
◎CRC calculation code in C language code
Description: This program to calculate the length len * ptr bytes before the CRC.
unsigned short crc16(unsigned char *ptr, unsigned char len)
{
unsigned short crc =0xFFFF;
unsigned char i;
while(len--)
{
crc ^=*ptr++;
or(i=0;i<8;i++)
{
if(crc & 0x01)
{
crc>>=1;
crc^=0xA001;
}else
{
crc>>=1;
}
}
}
return crc;
}
8.2.4
I C Communication Timing
AM2321 sensor I C communication, although according to the standard I C communication
sequence, but must follow our communication protocols and communication timing requirements, in
order to accurately read the sensor. In strict accordance with the communication protocol and timing,
please read the design.
◎I C Read full Timing Example
Figure 14 shows the read sensor when the full sample and write a special time requirements, in
strict accordance with the requirements of the special time to read and write, otherwise it will appear
unreadable sensors or incorrect data and so on. Several timing diagram special needs attention, the
time requirements detailed in Figure; host communication from beginning to end, for a maximum of
3S.
2
2
2
2
Aosong Guangzhou Electronics Co., Ltd.
Order Phone: 4006 305378
Enterprise QQ: 4006305378
www.aosong.com



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 29 30


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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