I have a motor hooked up to the emitter of a NTE24 transistor and ground, the collector is hooked up to 3.7V, and the base is connected through a 10ohm resistor to a PWM pin on an arduino mega, which is powered by 3.7V through Vin. I use analogwrite on the pin to control the motor speed.
When i turn it on, the arduino just resets. I think it’s because the base is drawing too much current from the arduino pwm pin, but if I replace the 10ohm resistor with 330ohms, it is far too slow. Any ideas? I have tried a TIP3C transistor as well to no avail.
Edit: I suppose my question now is I’m losing too much power in the transistor. Would a mosfet help with that? In addition, what’s a good small board that uses 3.3V that also has some sort of usb connection?
Edit 2: Read latest comment, tried MOSFET and fly back diode, now it just clicks and restarts :/