Listening to ultrasonic waves!

I wrote this simple code to test my sensor

void setup() {
  Serial.begin(9600);
}
void loop() {
  int sensorValue = analogRead(A0);
  float Value = sensorValue;
  Serial.println(Value);
delay (500);
}

Inside serial monitor the values goes up 1-2-3-4…
It’s not make any sense!
If I disconnect the sensor the values always 0

what I want is to do is to detect ultrasonic waves, and show the data in scale on my PC, the second part easy, but what about the first one!
Is there any MAP I must use to convert these values to something readable!

You need an amplifier. You also need to sample very rapidly, which your code does not.

It's not make any sense

Can't argue.

amplifier! I only want to detect Ultrasonic waves from 1m distance.
@AWOL i think so :sweat_smile:

No, I meant it doesn't make sense to convert an integer to a float when the value is intrinsically an integer.
Amongst other things.

I Think It's work now
This is the vuleas

474
474
473
472
472
473
471
470
470
470
470
469
467
466
464
463
462
463
462
462
461
460
459
458
457
454
452
450
449
449
450
449
446
444
444
443
445
450
450
445
441
439
514
516
517
513
509
508
507
507
509
513
511
505
502
502
503
505
505
501
519
518
518
520
525
524
518
514
513
515
517
517
512
510
512
511
516
523
534
528
523
522
522
524
528
529
523
524
524
524
524
523
524
524
523
523
520
518
516
515
515
514
514
515
515
516
513
513
514
513
514
512
513
512
511
511
511
512
513

Still not sure if that true, I put a Pulse Trigger In front it's goes up little, but I can't be sure,
Thanks AWOL +1 :wink: