Dear Engineer.
Since I have no previous experience in circuit design, I do n’t know if the design is wrong after completing the following circuit, so I came here to ask for help. The circuit is mainly based on the STM32F103VC single-chip microcomputer as the core, which includes 0-3.3V voltage to 0-10V voltage and 4-20ma current, 0-10V voltage and 4-20ma current to 0-3.3V voltage. The former is the 0-3.3V voltage of the DAC port of the microcontroller, and the latter is the 0-3.3V voltage input to the ADC port of the microcontroller. XTR111, OPA835, OPA828 and RCV420 are used in the circuit.
The four labels 0-10V OUTR, 0-10V OUTL, 4-20ma OUTR, and 4-20ma OUTL are pins for input to external devices. The four labels 0-10V INR, 0-10V INL, 4-20ma INR, 4-20ma INL is an external input signal.
BL1551 is an analog switch chip. When pin 6 of ENB is low, pin 4 is connected to A2; when pin 6 of ENB is high, pin 4 is connected to A1. We can determine which conversion the microcontroller is connected to by pressing the button or not.
Thank you very much for your help, please help me check the circuit for errors.