Troubles with HC-SR04 control?

Sorry, but it's nowhere. I'm using a Raspberry Pi to control the sensor. I just thought because the sensor technically is made for Arduinos, the people here would know something specific about the usage of it. Something I missed when I was connecting the sensor perhaps?