I'm using PWM output of a PIC microcontroller, which outputs at 5V. However, I need a 12V output. The output is roughly at 1000Hz. I've no idea on how to do this. Any help is appreciated!
Forgot to mention, I have a 5V and a 12V rail available.
petesmc said:It was the latter, I just need a 12V version of my 5V, then forgetting about the 5V version.
So I just use a NPN transistor, with collector directly to 12V? And where is the output, the emitter?
There are only minut amount of current being drawn, so I don't have to worry about the other method.
petesmc said:I tried this using crocodile clips simulation and it doesn't seem to work. Check if I'm doing something wrong. Btw, if i tie the emitter to 0V then it tells me the transistor will blow.
Image is attached..