Im in the process of assembling some optocouplers and a PWM to analog voltage

I have some optocouplers from sparkfun on the way, along with a pwm to 0-10v board. No extra circuit design needed. If this doesn’t work accurately (I have the appropriate test tools) I’ll work on building a custom circuit for it.