3.3V to 5V logic level shifter with 3.3V microcontroler board and 5V arduino sensor
&quot;I would like to use it for ultrasonic HC-SR04 sensor readings.&quot;
IME an SR04 can be triggered by a 3.3V pulse, and the output can drive a resistor divider that dives the 5V down to 3.3V. So you should get by with just 2 resistors.