What mode should we put the Arduino pin to, in order for object detection to work with the Ultrasonic Sensor?

Nguyễn Tân

New member
What mode should we put the Arduino pin to, in order for object detection to work with the Ultrasonic Sensor?
A. Analog
B. Digital
C. PCM
D. TDM
 
Answer: B
Explanation: The TRIGGER pin is to be kept HIGH for a period of 10 microseconds meanwhile the ECHO pin is HIGH for the time period it takes for the sent Ultrasonic wave to return to the sensor. Thus, the entire detection is digital.
 

Tìm kiếm

Back
Top