Electronics > Projects, Designs, and Technical Stuff
Convert 0..5v PWM to 6,5..11,5v
(1/8) > >>
Jan Audio:
Hi, i am using this 8 bit mcu PWM to generate a control value, the power supply is 12 volt.
I need 6,5 volt to 11,5 volt range, how do i convert the 0 to 5 volt PWM range ?
I could add exact 6 FETs and a bit bias, or try 5, only it is to expensive.
How would you fix this ?
thanks
Benta:
Integrate and level shift using a couple of opamps.
wraper:
You don't even need to level shift. Just output PWM in 55-100% range and use Sallen-Key filter with a gain of 2,3 https://electronics.stackexchange.com/questions/74877/gain-in-sallen-key-filter
ogden:
All you need - convert 5V PWM signal to 12V PWM using (logic) level shifter made out of few two transistors and as already said, use 55%-100% PWM range. On the output you may use same RC filter you already have.
Jan Audio:

--- Quote from: Benta on December 27, 2018, 04:31:42 pm ---Integrate and level shift using a couple of opamps.

--- End quote ---

That is what i ask for.


--- Quote from: wraper on December 27, 2018, 04:39:27 pm ---You don't even need to level shift. Just output PWM in 55-100% range and use Sallen-Key filter with a gain of 2,3 https://electronics.stackexchange.com/questions/74877/gain-in-sallen-key-filter

--- End quote ---

Is that filter schematic for single supply ?


--- Quote from: ogden on December 27, 2018, 04:53:30 pm ---All you need - convert 5V PWM signal to 12V PWM using (logic) level shifter made out of few two transistors and as already said, use 55%-100% PWM range. On the output you may use same RC filter you already have.

--- End quote ---

How would i do that ?, you have any schematic ?
Navigation
Message Index
Next page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod