The invention discloses an LED lamp capable of dissipating heat automatically and a driving circuit of the LED lamp. The LED lamp comprises LED beads, an LED light source plate, an aluminum substrate and a base. A temperature detection device is arranged in the center of the bottom of the base. A light-transmitting plate, a light guide plate, the LED light source plate, the aluminum substrate and a heat dissipation plate are sequentially arranged on the inner side of an outer cover at the bottom of the base from bottom to top. The LED lamp is good in waterproof and sealing performance and stable in structure, two heat dissipation cavities are formed to be matched with a wall, the weight of the LED lamp is reduced, material consumption is reduced, the intelligent heat dissipation effect is improved, and the service life of the LED lamp is prolonged; and meanwhile, the driving circuit is optimized, the input LED driving circuit which is simple in structure and low in cost is formed through the voltage provided by an intrinsic reference voltage source of a chip U1 and the TL431, a switching tube with comparatively low withstand voltage can be selected, safety is guaranteed, the cost is reduced, losses and consumption are reduced, and the stability is high.