|
|||||||||||||||||||||
|
|||||||||||||||||||
아두이노 센서 US-100 온도보상 초음파 거리측정
US-100은 정확한 온도 보정 범위 감지 기능을 갖추고 있습니다. UART 데이터 출력 모드를 사용하여 거리를 밀리미터 단위로 출력 할 수 있습니다. 또는 디지털 출력(TTL)신호를 측정하여 거리값으로 계산 가능하다.
이 센서는 3.3V 및 5V 마이크로 컨트롤러와 함께 사용할 수 있으며 아이들상태 일 때 2mA 만 소비합니다.
공급 전압 : 3.3-5 V DC
공급 전류 : 2mA
주파수 : 40Hz
범위 : 2cm ~ 4m
측정 각 : 15도
트리거 입력 신호 : 10μS TTL 펄스
크기 : 45 * 20 * 15mm
technical parameters
Electrical parameters
US-100 ultrasonic ranging module
Operating Voltage
DC 2.4V~5.5V
Quiescent Current
2mA
Operating temperature
-20~+70 degrees
output method
Level or UART (jumper cap selection)
Induction angle
Less than 15 degrees
Detection distance
2cm-450cm
Detection accuracy
0.3cm+1%
Serial port configuration in UART mode
The baud rate is 9600, the start bit is 1 bit, the stop bit is 1 bit, the data bit is 8 bits, there is no parity, no flow control.
Figure 3.3: US-100 Dimensional Drawing
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 31 32 33 34 35 36 37 38 39 | // US-100 Ultrasonic Sensor - Serial Mode // modified on 26 Sep 2020 // by Mohammad Reza Akbari @ Electropeak #include <SoftwareSerial.h> SoftwareSerial mySerial(3, 2); unsigned int HighByte = 0; unsigned int LowByte = 0; unsigned int Len = 0; void setup() { Serial.begin(9600); mySerial.begin(9600); } void loop() { mySerial.flush(); mySerial.write(0X55); // trig US-100 begin to measure the distance delay(500); if (mySerial.available() >= 2) // check receive 2 bytes correctly { HighByte = mySerial.read(); LowByte = mySerial.read(); Len = HighByte * 256 + LowByte; // Calculate the distance if ((Len > 1) && (Len < 10000)) { Serial.print("Distance: "); Serial.print(Len, DEC); Serial.println("mm"); } } delay(300); } | cs |
판매자 | (주)엘케이임베디드 | 셀러등급 | 일반 |
---|---|---|---|
상호명 | (주)엘케이임베디드 | 대표자 | 이경남 |
사업자등록번호 | 209-81-60939 | 통신판매신고번호 | 제2016-서울노원-0934호 |
연락처 | 02-968-8617 / member1_lklab@lkembedded.co.kr | 사업장 소재지 | 서울특별시 노원구 동일로 986 (노원 프레미어스 엠코) 102동215호 |
| ||||||||||||||||||||||||||
쇼핑몰이용안내 | |
전자계약사이트 | |
|
|||||||||
회사명 : (주)위키모바일
| 사업자등록번호 : 215-87-14086 [사업자정보확인]
| 주소 : 서울특별시 송파구 법원로 114 엠스테이트 B동704호 통신판매업 신고 : 제2008-서울송파-0867호 | 연락처 : 02-2283-1300 | FAX : 02-2283-1304 | 개인정보보호 책임자 : 김 경식 | 대표자 : 김경식 호스팅사업자 : 가비아 퍼스트몰 | contact : ask@wikimobile.co.kr for more information *로봇사이언스몰의 콘텐츠 저작권은 (주)위키모바일에 있으며 무단·전재·복사 배포를 금합니다. |
|||||||||