-
54 KHz Ultrasonic Transducer Typically used for Concrete. -
that's a sensor,
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