ultrasonic pulse velocity tester

robtillaart:

Ultrasonic transducer is designed for rugged use on construction sites and similar outdoor environments.This transducer is built to both send and receive ultrasonic waves and convert them to a voltage output.

So that means you have to do something with analogRead()

void setup()

{
  Serial.begin(115200);
}

void loop()
{
  int x = analogRead(A0); // assume sensor connected to A0;
  float voltage = x * 5.0 / 1023;

Serial.print("Voltage:\t");
  Serial.println(voltage, 3);  // 3 decimals;
 
  delay(1000);  // don't use delay in your final code
}




your turn to come up with an electric schema and improved prototype code

thank u sir ..
i Requested buy it from the site ..
but now what is I/O of the sensor ..
what is the skchment of the sender and resever in arduino .....
Thank you again :*