Hello! Thanks for all the wonderful resources here. First time poster looking for advice with my project.
I'm basically designing a simple output amplifier for a PIC microcontroller project. I want to provide an square wave output of 0-12v, with a frequency up to about 2khz @ 50% duty cycle. I know all about programming PIC's and PWM etc. and can get all that working great, generating the input signal for the amp is not a problem.
My question is what is the "best" method of amplifying the PIC PWM output from the normal 0-5v pwm output up to a 0-12v output. High current is not an issue this project is for signaling not motor control.
I know how to switch ground side of a load using a Mosfet etc.
I guess what I'm wondering is if there is a better way to generate higher voltage/low current signals using an opamp? Any component suggestions? My project is single supply 5v, if I go to an opamp design I guess I would need to provide a minimum +12v source for the amp using a 7812 or similar.
I'm basically designing a simple output amplifier for a PIC microcontroller project. I want to provide an square wave output of 0-12v, with a frequency up to about 2khz @ 50% duty cycle. I know all about programming PIC's and PWM etc. and can get all that working great, generating the input signal for the amp is not a problem.
My question is what is the "best" method of amplifying the PIC PWM output from the normal 0-5v pwm output up to a 0-12v output. High current is not an issue this project is for signaling not motor control.
I know how to switch ground side of a load using a Mosfet etc.
I guess what I'm wondering is if there is a better way to generate higher voltage/low current signals using an opamp? Any component suggestions? My project is single supply 5v, if I go to an opamp design I guess I would need to provide a minimum +12v source for the amp using a 7812 or similar.