[SOLVED] How this combination ESP-01 and Arduino works

Could somebody, please, share how this combination ESP-01 and Arduino works?
Could somebody put some practical example of the sketch for Arduino as well?
We just pass variables via SoftwareSerial pins to ESP-01 and it communicates with Blynk?

As far as I understood, it is possible to connect Arduino and ESP-01 by 2 ways:

  1. Use ESP-01 as “modem”. No need to put any code on it. So Blynk will run on Arduino. Somebody has example of the sketch?
  2. Arduino and ESP-01 to be programmed. ESP-01 connects with Wi-Fi and Blynk and communicates with Arduino via SoftwareSerial. Somebody has example of the sketch?

I have special ESP-01 adapter. So, less problems with wiring. Only it looks to me that ESP-01 should not be powered directly from Arduino. Correct?

Thank you

Don’t forget to look around at the Documentation, Help Center and Sketch Builder for information and solutions for this and other questions.

E.g. this is the link for connecting ESP & Arduino: http://help.blynk.cc/hardware-and-libraries/arduino/esp8266-with-at-firmware