I need to shift a 3.3V PWM signal to 5V to power a strip of LEDs. We are using a set of JSTs to connect from an Arduino to an LED strip and so only have access to the 5V power. I am having trouble with the circuit I've created not working 100% of the time but sometimes working, so I wanted to double check that my solution to use a voltage divider to shift down the LV reference voltage of a level shifter makes sense electrically. I'm using this level shifter "4 Channels IIC I2C Logic Level Converter Bi-Directional Module 3.3V to 5V Shifter for Arduino" that is a BOB-12009 (amazon.com/dp/B07YZTW2SM). The PWM signal from the Arduino Nano is said to run at 490Hz. Here's the circuit:
simulate this circuit – Schematic created using CircuitLab
The goal is to route the SDA, SLC pins from the JST which are hooked up to pins on the Arduino BLE 33 (11/12) respectively. The LED code is running on pin 12 which is connected to the pin getting routed to the LED strips D1 input i.e. the SLC pin. It works consistently on one output of one of the boards but works intermittently on every other board. I've checked for shorts and there doesn't seem to be issues there. I don't currently have access to a scope so have been debugging with a voltmeter, but figured I could check here to make sure that there wouldn't be anything wrong using a voltage divider for the level shifter.