Just use a transistor with it's collector connected to the 10 volt rail via a resistor.
This will invert the pwm, if thats a problem, use two transistors, an npn and a pnp.
Or use a comparator with the threshold set to ~1.65V (half of 3.3V), maybe add a little hysteresis, say a 1M of 100k resistor. Alternately, you could probably use an op-amp to accomplish the same thing.
This chip is very cool because you don't need a bunch of parts, even more cool when you consider the number of parts the dual version would replace. It supports 3.3V and 5V input logic levels, and drive up to 14 Volt. It has a MOSFET, ESD protection, Zener clamps, resistors. Not for people who hate surface mount chips.
Just use a transistor with it's collector connected to the 10 volt rail via a resistor.
This will invert the pwm, if thats a problem, use two transistors, an npn and a pnp.
This is obviously the easiest way and I made it already. But my boss doesn't like it, cuz it induces about 40mv voltage ripple at the switch on/off edges.
So actually, I'm asking a "NO-switch" way... Thx anyway...
This is obviously the easiest way and I made it already. But my boss doesn't like it, cuz it induces about 40mv voltage ripple at the switch on/off edges.
So actually, I'm asking a "NO-switch" way... Thx anyway...
I'm not clear on that, you mean a way that doesn't involve any transistor or mosfet switch?
I was about to propose something like https://www.farnell.com/datasheets/85603.pdf but you are obviously searching for something else (non switch) but I'm not sure what it could be.
Assuming you are using a 3V3 Micro, these chips normally have an open collector output pin?
Feed your pwm output into an unused input pin, then translate those levels to your open collector pin, which you have pulled up to 10 Volts.
I'm not clear on that, you mean a way that doesn't involve any transistor or mosfet switch?
I was about to propose something like https://www.farnell.com/datasheets/85603.pdf but you are obviously searching for something else (non switch) but I'm not sure what it could be.
Assuming you are using a 3V3 Micro, these chips normally have an open collector output pin?
Feed your pwm output into an unused input pin, then translate those levels to your open collector pin, which you have pulled up to 10 Volts.
Assuming you are using a 3V3 Micro, these chips normally have an open collector output pin?
Feed your pwm output into an unused input pin, then translate those levels to your open collector pin, which you have pulled up to 10 Volts.
the PWM is probably generated with the mcu, but using what you say would need a constant polling of the input (where the PWM will be connected) and then transfer this to the output.
Do you think it is a good idea to use the mcu resources in a task like this?