I am trying to drive a
Nema 17 12-24V stepper motor using a Teensy 4.0 as the controller, with a
TB6600 stepper driver. The Teensy outputs 3.3V through its signal pins but the stepper driver needs 5V, so I have a 3.3V to 5V
level shifter bumping the signal voltage up.
When I run a very basic program on the Teensy (keeping the DIR pin high, and flipping the PUL pin low to high every 60 microseconds) I see no movement in the stepper. After checking the voltage in and out of the level shifter, it looks like the input is fine (~3-3.3V), but the output is maxing out at 2.6V isntead of 5V. This doesn't seem to be enough to get anything through the stepper driver. About 0.9 milliamps are being drawn through each signal pin.
I tried switching the Teensy and level shifter out with a Nano so I could test the code and the driver. With the 5V output from the Nano going straight to the driver and the exact same code, the stepper runs beautifully. This, coupled with the fact that the Teensy is outputting the correct 3.3V signals, leads me to believe that the issue lies in the level shifter. I have no idea WHERE the issue may be within the shifter, though.
Help me Arduino forums, you're my only hope.
EDIT: The schematic does not have GND connected to the stepper driver, although it SHOULD be. For some reason I can't upload the corrected image.