I need to create an analog voltage of 0V-10V for the PLC with a microcontroller with operating voltage 5V.
I've been doing this research since last week. I'll share the results of my research. I need your feedbacks.
First of all, my microconotroller dont have any DAC module. So I'm going to produce an analog signal through the I2C with the mcp4725. (https://www.sparkfun.com/products/12918)
I will then raise this signal to 10V with an opamp.I think I will use this LMV358 module. (https://www.sparkfun.com/products/9816)
There's a problem here. I need a lot of these analog outputs. But the mcp4725 addresses are restricted. So I will multiply I2C addresses with TCA3548A. (https://www.adafruit.com/product/2717)
The modules I use are ready products. I think I don't need to draw a schematic. Anybody have a better idea? Do you think this works? If it works, will it make any problems?
Yes, I need your comments and suggestions.