Hi, I'm currently trying to get a 3.3V microcontroller (Freenove ESP32 WROOM) to work with a stepper motor controller that requires 5V control signals (DM542T) and I am trying to use Sparkfun's Bi-Directional Logic Level Converter which has a design based on 4 BSS138 N Channel mosfets. When I test the level converter by itself I get the expected 3.3V input to 5V output when using a DMM to measure the voltage but when I connect the board to the stepper controller I only get an output of about 2.8V. Initially I thought this may be some sort of loading issue (which is odd because its only drawing ~5mA again tested with a DMM) and I believe these mosfets should be able to drive the load but the stepper motor controller works? I know its a strange question but I'd really like to understand what is happening because I need this circuit to last and if there is as problem thats just temporarily working thats kind of an issue.
ESP32 pin 14 -> LV1 HV1 -> DIR pin of stepper controller
ESP32 pin 13 -> LV2 HV2 -> PUL pin of stepper controller
ESP32 pin 12 -> LV3 HV3 -> EN pin of stepper controller
3.3V -> LV
5V -> HV
GND -> GND
Kind of a rough explanation of the schematic but I could draw something up if there is confusion. I'm assuming I'm just not understanding something about the level shifter or how it works, or some misunderstanding of the circuit dyrnamics on the controller side.
ESP32 pin 14 -> LV1 HV1 -> DIR pin of stepper controller
ESP32 pin 13 -> LV2 HV2 -> PUL pin of stepper controller
ESP32 pin 12 -> LV3 HV3 -> EN pin of stepper controller
3.3V -> LV
5V -> HV
GND -> GND
Kind of a rough explanation of the schematic but I could draw something up if there is confusion. I'm assuming I'm just not understanding something about the level shifter or how it works, or some misunderstanding of the circuit dyrnamics on the controller side.
Last edited: