SIMPLE SOLAR WATERING SYSTEM.

Hi all,
is there some example on how to connect a 3V-6V water pump to the D1 Mini ESP8266?

I know that ESP8266 has a 3.3V output on the digital pins, can I connect a 3V-6V water pump on the digital pin directly?
Is there someone who succeded in connecting a pump to the ESP8266?

If not, can you give me some simple example on how to connect the pump to the ESP considering the fact that my ESP will be powered by a solar panel with a 18650 lithium battery.
I don't want to add other power sources if possible.

Thanks.

can I connect a 3V-6V water pump on the digital pin directly?

No. Use a relay or MOSFET switch. Plenty of examples on line.

"If not, can you give me some simple example on how to connect the pump to the ESP considering the fact that my ESP will be powered by a solar panel with a 18650 lithium battery.
I don't want to add other power sources if possible."

For this part you can test just by connecting two wires together and see if your solar power setup will operate the pump as desired.