Dear Sir,First, post a schematic.
How do you know it is over-heating? The finger test is not a reliable indicator since the case of an un-heatsinked 7805 (with metal case) can feel very hot but be within the regulator's allowable voltage range. The 7805 has an internal over-temperature shutdown, and if the output voltage is low (much less than 4.75V) then either you are drawing too much current or it is too hot.
Make sure everything is connected correctly.
Check that the power dissipation (volts in - 5V) x current is not too high. -How much current should/does your sensor require, what is the input voltage to the 7805 and what kind of heatsink do you have on it (in degrees C per watt if you know)?
There may be other factors that can become apparent upon examination of the schematic.
Dear Sir,The datasheet says power consumption is 750mW@ 150mA, so an heatsink is required.
no sirOk, have you measured the current its using?
Lovely drawing but that doesn't tell anyone anything about the power supply or the regulator.Pls find the circuit...i tried this
Dear Sir,I still wonder whether it is over heating.
Please measure the input curren00t to the 7805, input voltage to the 7805, and output voltage from the 7805, and tell us.
Also, please describe your heatsink (shape, rough dimensions).
Dear sir,I'm confused by that. If you are saying that the output after the LM7805 is 5.33mA and 13.05V, then i would say the input is too high and you fried the regulator. Otherwise, that is not enough to short or damage the regulator if that is the input side, let alone generate a substantial amount of heat.