is it possible to use an raspberry pi to detect ultrasound of 40000 Hz ? if so what parts and what software. and i want to have a small screen that readsout the Freq. would help me a lot! Thanks for the input 
Hello Gard,
as a matter of fact in my opinion you should see the things in a reverse way to make easier for you finding the solution. The general answer to your question is yes, because Raspberry PI includes a sufficient number of interfaces to make it possible and the availability of a complete and reliable Debian/Linux distribution (i.e. raspian) gives you the needed programming power and the needed flexibility. Personally I suggest to orient your choice immediately to the last and fastest model Raspberry PI 2 model B (including 1 Gb or ram instead the 500 Mb of the previous ones).
In your specific case instead to the side of the ultrasound detector, please let me know if you have already pointed to some circuitry or some kind of IC that has the capabilities you need. This is external to the Raspberry. As the detector / IC is focused, it is possible to decide the kind of circuitry should be adopted. In theory we should expect I2C os single wire connection, serial connection, USB 2.0 or some direct I/O pin (available from the Raspberry PI GPIO connector).
Without more information I think it is not possible for me to give you more specific suggestions.
Enrico
The transducer as suggested should do well for you. Also you may want to research underwater sonar devices such are found on subarine communications systems. Lots of good reading out there.
The transducer as suggested should do well for you. Also you may want to research underwater sonar devices such are found on subarine communications systems. Lots of good reading out there.