Posted: 06:27am 26 Apr 2024
Copy link to clipboard |
Volhout Guru
|
|
|
Phenix,
These level shifter boards are BI-directional, and intended for open drain/open collector busses like I2C bus, SM bus, or even PS2 keyboard/mouse interfaces.
Adding a pull-down will disable the bi-directional function.
Since you are playing with quadrature encoders, I assume you are thinking of using these to connect an encoder to a picomite. Although this may work, the pullup on those board may limit their use (for a quadrature encoder, where rising and falling edge need to be timing accurate) to 50kHz. Note they can support 400kHz I2C bus, but for I2C bus the falling edge is dominant, the rising edge timing is less critical. For quadrature 4/4 the rising edge is also important.
If my assumption is true, you need a uni-directional 5V->3.3V translator. And in many cases a simple voltage divider (i.e. 1k/2.2k) will do the job fine, and will work up to 1MHz or more.
Volhout |