Looks like you need to work on some basics then.
If you are just using a Pi, you will need to understand how to connect the sensor to the Pi - not too hard as long as you pay attention to the voltage levels and current (some industrial grade sensors may require more current than the Pi itself can cope with).
It is actually easier to work with an Arduino or ESP8266 but of course, that would introduce another set of things to learn about.
None of this stuff is especially difficult but it is involved. It takes time to get right.