I am trying to connect two components to the same 12V/1000mA DC power source. The devices are 300mA/9V (D1, auxiliar device) and 500mA/3.3V (D2, ESP8266) respectively. See the diagram below:
Given that R1/D2 and R2/D2 are connected in parallel I can simplify the resistance in the circuit using the following expression:
$$\frac{1}{R}=\frac{1}{R1+30} + \frac{1}{R2+6.6}$$
And the final expression using the formula R=V/I=12V/1000mA is:
$$\frac{(R1+30)(R2+6.6)}{R1+R2+36.6}=\frac{12V}{1A}$$
Is there any way to get proper values of R1 and R2? Thanks in advance!