Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.48 KB

File metadata and controls

34 lines (23 loc) · 1.48 KB

Input Team

With this team, we are going to make a sensor to measure the distance from the sensor to a hand/object. We will use an ultrasonic sensor for this.

List of Materials

  • Ultrasonic sensor

Explanation Ultrasonic Sensor

The sensor is based on a pretty simple concept: the sensor pulses sound waves (in the ultrasonic frequencies). This signal will bounce back if it hits an object. The sensor tries to receive this echo, and measure the time between sending the signal and receiving its echo. The difference in time is used to calculate the distance from the sensor to the object.

img.png

The distance from the sensor to an object equals $( speed * time ) / 2$, where $speed$ is the speed of sound in air, which is about 343.2 m/s.

The pins on the board are:

  • vcc -> + (5v or 3.3v)
  • trig -> trigger to transmit the signal (high is sending wave, low is stop sending wave)
  • echo -> input pin, that will go from low to high when it receives something
  • GND -> Ground

Guide