The invention discloses an electric
water heater with a solar-photovoltaic
direct heating function. The electric
water heater comprises a water tank, a heating part and a controller; the water tank comprises a cold water inlet
pipe and a hot water outlet
pipe, an inner container is arranged in the water tank, and the heating part arranged in the inner container comprises an alternating-current heating portion and a photovoltaic direct-
current electric heating portion; the alternating-current heating portion comprises an alternating-
current electric heating
pipe and an alternating-current heating switch, the photovoltaic direct-current heating portion comprises a direct-
current electric heating pipe, a photovoltaic direct-current heating switch and a solar photovoltaic
cell, a direct-current electric heater is connected with an outdoor solar photovoltaic panel through a connecting wire, and the controller controls the alternating-current heating switch and the photovoltaic direct-current heating switch; a
water temperature and
water level sensor is arranged in the water tank and connected with the controller, and a loop connecting the solar photovoltaic panel with the controller is provided with a
voltage detecting device; a flow switch is installed at the cold water inlet of the water tank and connected with the controller. According to the electric
water heater with the solar-photovoltaic
direct heating function, the
solar energy resources are fully utilized, city
power usage is reduced to the maximum limit, hot water can be quickly supplied, and use is more convenient.