S36012 Power Supply Circuit Diagram ((exclusive)) Official
The S36012’s potentiometer (RV1) is wired as a variable resistor in a voltage divider. The output voltage is set by: [ V_out = V_ref \times \left(1 + \fracR_topR_bottom\right) ] Where (V_ref) is typically 1.25V (for XL4016) or 0.8V for newer controllers. In the schematic: