전자기기 및 제어 (Control)
주문,제작,개발 (Order Base)
→ 콘트롤, 기능성모듈
상품명 + 규격
-> 초음파 거리센서모듈입니다.
1. 마이컴과 연결하여 사용
2. MODE1,(SRF-04호환),MODE2(ECHO PULSE)
3. 거리 : 1cm to 4m
4. DC 5V 4mA
Range - 1cm to 4m.
Power - 5v, 4mA Typ.
Frequency - 40KHz.
Size - 43mm x 20mm x 17mm height.
Two operational modes are available, Single pin for trig/echo or 2 Pin SRF04 compatible.
The input Trigger is a 10uS Min. TTL level pulse
Echo Pulse is Positive TTL level signal, with the width proportional to the object range.
The SRF05 is an evolutionary step from the SRF04, and has been designed to increase flexibility, increase range, and to reduce costs still further. As such, the SRF05 is fully compatible with the SRF04. Range is increased from 3 meters to 4 meters. A new operating mode (tying the mode pin to ground) allows the SRF05 to use a single pin for both trigger and echo, thereby saving valuable pins on your controller. When the mode pin is left unconnected, the SRF05 operates with separate trigger and echo pins, like the SRF04. The SRF05 includes a small delay before the echo pulse to give slower controllers such as the Basic Stamp and Picaxe time to execute their pulse in commands.
Mode 1 - SRF04 compatible - Separate Trigger and Echo
This mode uses separate trigger and echo pins, and is the simplest mode to use. All code examples for the SRF04 will work for the SRF05 in this mode. To use this mode, just leave the mode pin unconnected - the SRF05 has an internal pull up resistor on this pin.
Mode 2 - Single pin for both Trigger and Echo
This mode uses a single pin for both Trigger and Echo signals, and is designed to save valuable pins on embedded controllers. To use this mode, connect the mode pin to the 0v Ground pin. The echo signal will appear on the same pin as the trigger signal. The SRF05 will not raise the echo line until 700uS after the end of the trigger signal. You have that long to turn the trigger pin around and make it an input and to have your pulse measuring code ready. The PULSIN command found on many popular controllers does this automatically.
To use mode 2 with the Basic Stamp BS2, you simply use PULSOUT and PULSIN on the same pin, like this:
SRF05 PIN 15 ' use any pin for both trigger and echo
Range VAR Word ' define the 16 bit range variable
SRF05 = 0 ' start with pin low
PULSOUT SRF05, 5 ' issue 10uS trigger pulse (5 x 2uS)
PULSIN SRF05, 1, Range ' measure echo time
Range = Range/29 ' convert to cm (divide by 74 for inches)
Calculating the Distance
The SRF05 Timing diagrams are shown above for each mode. You only need to supply a short 10uS pulse to the trigger input to start the ranging. The SRF05 will send out an 8 cycle burst of ultrasound at 40khz and raise its echo line high (or trigger line in mode 2). It then listens for an echo, and as soon as it detects one it lowers the echo line again. The echo line is therefore a pulse whose width is proportional to the distance to the object. By timing the pulse it is possible to calculate the range in inches/centimeters or anything else. If nothing is detected then the SRF05 will lower its echo line anyway after about 30mS.
The SRF04 provides an echo pulse proportional to distance. If the width of the pulse is measured in uS, then dividing by 58 will give you the distance in cm, or dividing by 148 will give the distance in inches. uS/58=cm or uS/148=inches.
The SRF05 can be triggered as fast as every 50mS, or 20 times each second. You should wait 50ms before the next trigger, even if the SRF05 detects a close object and the echo pulse is shorter. This is to ensure the ultrasonic "beep" has faded away and will not cause a false echo on the next ranging.
The other set of 5 pins
The 5 pins marked "programming pins" are used once only during manufacture to program the Flash memory on the PIC16F630 chip. The PIC16F630's programming pins are also used for other functions on the SRF05, so make sure you don't connect anything to these pins, or you will disrupt the modules operation.
Changing beam pattern and beam width
You can't! This is a question which crops up regularly, however there is no easy way to reduce or change the beam width that I'm aware of. The beam pattern of the SRF05 is conical with the width of the beam being a function of the surface area of the transducers and is fixed. The beam pattern of the transducers used on the SRF05, taken from the manufacturers data sheet, is shown below.
*회로설계,주문제작,개발용 부품 및 모듈 전문점
서울 용산구 한강로 3가 16-9 전자랜드 본관 광장층 C31호
02-706-7700 email@example.com www.UTIL.co.kr
| 서울시 용산구 청파로74 전자랜드본관 광장층 C-31호 | E-mail:
| 사업자번호: 106-86-72446
Tel:050-5500-4900 Hosting Server www.nexgeo.co.kr|개인정보책임자:김영현 | 통신판매업 용산00261호
◈자신 있습니다. 회로개발
키폰헤드셋, 전화헤드셋, 상담용전화기, 미니전화기, RF리모콘, 무선리모콘, 플랜트로닉스, PLANTRONICS, 벨코, 켄트, 도아, 경진, 다산, 아이알링크, 폴리콤, 삼정통신,
◈주문제작 및 개발해 드립니다. 통신 및 전자기기
절체기, 지령대, 보류음, MOH, 자동응답기, 자동다이얼러, 발신번호표시, 무인교환, 선로시험기, 허브,공유기, 전화회의, 사운드스테이션, SOUNDSTATION, 전화녹음,
◈재고 충분 합니다. 완성 모듈 및 키트제품
통화녹음, 녹취기, 전화방송, ARS, 통신케이블, 전원선, 잡자재, 동축케이블, 단자함, 몰딩, 아웃렛, 시험탄기, 피뢰탄기, 원텐블럭, 음성메모리, 마이컴, 통화중검출, 인포렉스, 스타렉스,
◈납품합니다. 전자 부품
모타제어, 무선모듈, PICBASIC, 스위칭파워, PABX, 교환기, 키폰, 자동제어, 원격제어, 비상호출, 유틸전자, 아프로가, APROGA, 통신개발, 주문제작, 통신기기, 전자기기, 텔레마케팅, 전자랜드, 용산
◈설계 및 구축 해드립니다. 자동제어 및 전자파