![]() ![]() Once the wave is returned after it getting reflected by any object the Echo pin goes high for a particular amount of time which will be equal to the time taken for the wave to return back to the sensor. This action will trigger an ultrasonic wave at frequency of 40Hz from the transmitter and the receiver will wait for the wave to return. To start the measurement, the trigger pin has to be made high for 10uS and then turned off. ![]() The Trigger and the Echo pins are both IO pins and hence they can be connected to IO pins of the microcontroller. ![]() The current consumed by the sensor is less than 15mA and hence can be directly powered by the on board 5V pins (If available). The following guide is universally since it has to be followed irrespective of the type of computational device used. Now simply calculate the distance using a microcontroller or microprocessor. The circuitry inbuilt on the module will calculate the time taken for the US wave to come back and turns on the echo pin high for that same particular amount of time, this way we can also know the time taken. Since we are using the Ultrasonic wave we know the universal speed of US wave at room conditions which is 330ms. The module has two eyes like projects in the front which forms the Ultrasonic transmitter and Receiver.
0 Comments
Leave a Reply. |