Sonar shows no readings

I have connected MB1040 sonar to A0 pin of apm 2.6 board as shown in the following link

copter.ardupilot.com/wiki/sonar/

I have selected Analog in the initial setup and there are no values being shown…

i also tried giving the signal pin 5 V separately it just doesn’t seem to work
Help me!