I am using (lm2576) 5.0v regulator from 12v battery 2-amps for my raspberry pi. I want to use 3 LDR and 5 proximity IR sensor for my mini project. For all sensor I need only 3.3V voltage. It is sufficient to use 3.3V voltage divider circuit from lm2576-5.0 v reg or else I have to use 3.3 voltage regulator so that I can convert 5v(lm2576) to 3.3v(lm1117/lm3940)
I got 3.3v reg-lm3940 I connected through lm2576 but both regulator getting heat too much and inductor got fire