User Guide HC-SR04 (ElecFreaks) - 3

FabricanteElecFreaks
DescripciónUltrasonic transmitter emitted an ultrasonic wave in one direction, and started timing when it launched.
Páginas / Página6 / 3 — 2 2. . Pr. P o. r d. o u. d c. u t. c Im. I a. m g. a e. 2 3. . 、Mo. M d. …
Formato / tamaño de archivoPDF / 740 Kb
Idioma del documentoInglés

2 2. . Pr. P o. r d. o u. d c. u t. c Im. I a. m g. a e. 2 3. . 、Mo. M d. d l. u e. l pi. p n. i de. d f. e i. f n. i i. n t. t o. i n. o s. 2 4. . 、El. E e. l c. e t. c r. t i. r c. i a. c l

2 2  Pr P o r d o u d c u t c Im I a m g a e 2 3  、Mo M d d l u e l pi p n i de d f e i f n i i n t t o i n o s 2 4  、El E e l c e t c r t i r c i a c l

Línea de modelo para esta hoja de datos

Versión de texto del documento

2. 2 2 . Pr P o r d o u d c u t c Im I a m g a e g 2. 2 3 . 、Mo M d o u d l u e l pi p n i de d f e i f n i i n t i i t o i n o s n
Types Pin Symbol Pin Function Description VCC 5V power supply Trig Trigger pin HC-SR04 Echo Receive pin GND Power ground
2. 2 4 . 、El E e l c e t c r t i r c i a c l a pa p r a a r m a e m t e e t r e s r
Electrical Parameters HC-SR04 Ultrasonic Module Operating Voltage DC-5V Operating Current 15mA Operating Frequency 40KHZ Farthest Range 4m Nearest Range 2cm Measuring Angle 15 Degree Input Trigger Signal 10us TTL pulse Output TTL level signal, proportional Output Echo Signal with range Dimensions 45*20*15mm 3 Document Outline HC-SR04UserGuide Part1UltrasonicIntroduction 1.1UltrasonicDefinition Thehumanearcanhearsoundfrequencyaround20HZ 1.2Ultrasonicdistancemeasurementprinciple Ultrasonictransmitteremittedanultrasonicwave 1.3UltrasonicApplication Part2HC-SR04UltrasonicModuleIntroduction 2.1ProductFeatures 2.2ProductImage 2.3、Modulepindefinitions 2.4、Electricalparameters 2.5ModuleoperatingPrinciple Part3UseFreaduinoUNOtotestHC-SR04 3.1FreaduinounoandHC-SR04Connection 3.2HCSR04libraryfunctiondescription Longtiming() floatCalcDistance(longmicrosec,intmetric) 3.3AddtheHC-SR04Library 3.4TesttheModulewiththeExamplesofLibraryF