I need to buy or create a circuit to amplify a 3.3v PWM signal to a 5V PWM signal. I tried creating one based on a simple motor drive circuit, but it didn't work. The PWM signal was lower than the base pin.
I'm using a BC547 transistor and a 100 ohm resistor between 3.3v signal and base.
A BC547 is a small-signal transistor, with an absolute max collector current of 100mA.
Not suitable for motors larger than a pea.
A 2N2222 or BC337 could be a better choice.
A 100 ohm base resistor draws (3.3 - 0.7) / 100 = 26mA from a 3.3volt pin.
Which 3.3volt processor can safely deliver that?
Leo..
The "load" is an analog input on another device, so load is close to zero. I'm trying to change a 0-3.3v output from a processor to a 0-5v input that is expected by the receiving device.