I am using 12V , 2A DC power supply as an input to LM338T and LM1085-IT 3.3 , for 5V and 3.3V output respectively.
The issue i am facing here is when these both voltage regulators are connected in the circuit , LM338T only gives 1.26V output , which is expected as 5V and LM1085-IT gives 3.3V output (which is correct as expected ).
When i disconnect the ground wire between the 12v ground and LM1085-IT 3.3v regulator , the LM338T gives proper 5v but when this ground wire is connected it gives only 1.26V.
Capacitors are connected as given in the datasheet of LM338T, but have not shown in my image.
Please guide me , i am a newbie in electronics and lacking to solve it.
Here i am attaching the image of the connections.