HI TijnOnlijn
I think the schematics can be simplified be replacing the level shifters with just a simple (two resistor) voltage divider. The pulses from the sensor are relatively slow (5ms to 100ms) so a simple 2k2 + 3k9 divider should work just fine.