pwm -conect

Does anyone have an idea how to make a circuit between the two devices as in the picture?
I have a PWM source which operates from 0 -2.5-5v and analog devices to the entrance between the input and GND has 5V and then output either 10V when you connect a short input and GNG have + 10v
2.5v = 0V
at the exit of how to do to merge these two assembly
greeting

PWM-T0-0-5V-ConvertImage.jpg

Sorry I have no idea about what you are asking. Can you post a link to those real devices you want to use and explain why you want to do this.

This should work for you.

Untitled.png

From the attached JPG, it appears that an input voltage from 0V to 5V maps to 10V to -10V respectively. For this to happen, it would require a dual railed opamp such as a LM741 and a dual +/-10V supply. The gain would be 4 and an offset of 50%. Time wise, the signal is PWM and inverted.

Yes 0-5V = -10 + 10V (2.5V = 0V)
Do you have a scheme for doing so
Hello and thanks for the quick response

I have an analog capture card with 6 I / O of older CNC lathes and I want to start with some pic Controller or (UNO, MEGA)

At the entrance when I measure a voltage 5V

analoc card.JPG

I don't have a circuit but it's one that's common in opamp cookbooks. Do a web search and you'll find numerous references. Here's a list to start with.

Your original attachment suggests the signal is inverted but your last post suggests it is not inverted. Regardless, it's just a matter of whether the input to the opamp goes to the + or - terminal. The gain would be set to 4 and the input shifted by 2.5V using the -10V supply.

Injecting an offset voltage into the smoothed PWM requires a resistor.
That lowers that span, so you need more gain.
Maybe better to leave the smoothed PWM voltage alone, and inject offset in the feedback circuit.
Then it also can be a positive voltage (easier).
Here's a circuit I drew/tested in LTspice.
Common opamps need a few volts higher supply than the output, so +/-12volt for +/-10volt.
Leo..

My card has an analog input as shown whether it was with tranzistirom
or a better solution
pic lm759 5v -10V
2.5 pic lm759 0v
0 pic lm759 10v

input analog card.JPG

I was assuming you wanted to reproduce your PWM signal but shift it in level, gain, and phase at the opamp output. If you want to convert it to an analog equivalent then WaWa's advice is best.

Do you mean this : ?

TRUTH TABLE

INPUT OUTPUT

0V 10V
5V -10V
2.5V 0V

Is the "INPUT" (PIC OUT) PWM ?

Yes tabla okej.

Yes pic output -analog entrance to the factory card + - 10v and lie in the card I drew in the previous post.
I put a transistor 2n222 as shown in Figure

B-pic,
E-GND.
C-input

analog cartica and I tested all day and works without a problem I do not know whether it is right ???
Thank you for your answers

The figure doesn't show any input to the AND gates that go to the lm759. How is that supposed to work ? The other side of the AND gate chip shows the enable and transistor inputs .

The picture shows an unknown AND gate chip, connected to an unknown single rail supply.
AFAIK ports parallelled is bad.
We know it's a NPN transistor with the emitter to ground, and the base connected to an unknown value resistor. No collector/pullup resistor, so it could/must be a TTL chip.
It seems 5volt PWM is used, so 0>2.5>5v on the diagram is nonsense. PWM is not a varying voltage.
I guess the output of the AND gate could have inverted PWM on it.
Then all of this is BS. PWM can be inverted in software.

OP, better show us a diagram of the LM759 power opamp.
Leo..