I think that I may have come up with a possible way to control a bipolar stepper motor using 2 simple H-bridges. The idea is to control the direction and the steps of the motor by switching the direction of the current flow using the H-bridges. Unfortunately, I am running into a few annoying issues. I am using a ROB-09238 bipolar, 1.8 degree step value stepper motor. I have an external voltage source of 12volts@5amps. For one, the rated current of the stepper motor is 0.33 amps, does this mean at max that the stepper motor will use is only 0.33 amps, or is this the average amperage? I am using a Raspberry Pi to output 3.3V and control the base of the transistors. The goal is to create an NPN transistor H-bridge using regular 2N2222 transistors. Will these transistors do the job? What is the required resistance value on each of the transistors to do the job efficiently without blowing the transistors?
No matter what I do to calculate the resistance value for the base of the transistors, I either make them get really hot, or can't even get enough current through the H-bridge to properly light an LED. I don't think that I am wiring it wrong because in my circuit simulation program, I get the same results. I have messed around with the resistance values within the program and still can't appear to get what I am looking for.