I have a pretty basic problem and I also think I have a solution, but I just want to run it by some people that might know a bit more about this then me.
I need to up my PWM signal from 5v to 10v. I will be using the signal to drive a PWM controlled Meanwell driver.
It states that it needs a low = 0v high = 10v PWM signal.
My plan is to use a uA741 Op-Amp to boost the signal to 10v.
I don't need any heavy load on the circuit as it is only a signal to the driver and will not be powering anything. Is this going to accomplish what I need done?
I plan to use a 12v supply with a LM317 to drop the voltage to around 10.3v. The supply would then feed to the uA741 Op-Amp to achieve the 10v signal to pass on to the drivers.
i think a simple transistor (2n2222) would suffice for this. The 0 - 5v PWM signal from the arduino controls the base of the 2n2222 that in turn controls the 10v going to the Meanwell driver.
To elaborate on what daveg360 said, feed your 5v signal through a resistor to the base of a transistor. Emitter to GND, collector to 10v through another resistor. Then tap your 0-10v PWM signal from the collector.
This will invert the duty cycle of the PWM so handle that in software.
I know it's a bit of an ask but would someone be able to knock-up a little drawing for me? It might make a bit more since to me if I have something to look at.
You mentioned that I would need to invert the PWM signal in the software. I imagine that will be a little more complex than just reversing the values. I'll have a bit of a dig around and see if I can find anything on the website about it.
I'll give that a try once I get all the pieces together.
Do you know of an IC that would contain multiple 2n2222 or similar transistors? I need to have 6 different channels and would like to try and combine them into the smallest package that I can. I don't have a problem putting together 6 individual 2n2222's but would be much easier as one larger package.
What is the best way to determine the resistor values? Is there a formula or a calculator that i can use, or is it just trial and error?
This is my favorite circuit.
Supply Voltage 2 / 3 to determine the voltage.
Voltage of the power / trigger 2 3 / 3 return, and window discrimination.
(Hysteresis circuit)
The output can be expected to drive a powerful totem pole.