However, connecting directly (putty-serial) and entering manual commands works perfectly !
But with the nano or mini pro seems not to work like expected.
Also, sometimes it seems that having the terminals open, it disturbs the communication between the arduino and the esp.
Hopefully there are simple examples that are proven to work Anyone have an example ?
1) have a GOOD power supply (400ma at least)
2) put a big capacitor (470uf) near the ESP8266
3) avoid long cables: connect the ESP8266 directly to arduino without breadboard (or use a good breadboard)
4) don't forget to pull up gpio0 gpio2 rst and ch_pd through a 10k resistors or more
5) the ESP8266 emits a lot of RF interferences that may create problems to arduino: try to shield the ESP8266 with some conductive plate connected to ground (be sure to not touch any contact of the ESP8266 with the conductive plate)
6) if you are using a 5v arduino you have to level shift the tx line (I'm using a zener diode + resistor)
7) be sure to update the ESP8266 to the last firmware
I think I already said all the tricks, if I remember anything else I will put it there.
If you follow this instructions you will get a reset and fail proof connection between the esp8266 and the Arduino!