I recently bought this lm317 below, and i connect it with resistances in order to get 4.2v : https://lcsc.com/product-detail/Linear-Voltage-Regulators_Changjiang-Electronics-Tech-CJ-LM317_C84244.html
The problem is when i connect it with a 12V 500mA power supply it get extremly hot, like you can touch it without getting burn
I recheck the datasheet it says that it support 1.2A and i only use more or less 500mA max
it is normal? do i have to check my schematic again ? it is the same thing with a bigger LM317 smd ?
Too many question that it need your expertise guys
Thanks a lot