- Thu Jan 12, 2017 12:36 pm
@rudy : thanks, learned something today.
Here is what I would do:
The ESP8266 should have the AT firmware flashed which boots the serial interface at 9600 baud (I believe there were versions with 115200 baud too). Do you have a USB-TTL Serial adapter (ebay 1-2 $, preferably 3V3 and 5V selectable)?
If yes: set it to 3V3, connect it to the ESP and watch the output in a serial terminal, e.g. the Arduino IDE. Do not use any 3V3 power supply it may provide!
If no: one of the examples in the Arduino IDE is called SerialPassThrough. Flash that onto your Arduino and connect the serial pins of the ESP8266 with Serial1 pins (0 & 1) of your Arduino. This is how I started
Having solved that you should be able to see the AT firmware booting and displaying it's version number. Note that the Arduino library you are using works only with certain versions of the AT firmware. You can now type commands on the console such as doing a WLAN scan etc.
Once that is working your hardware is okay. Still getting nowhere? Most issues with the ESP8266 board are due to power supply stability problems; from what you wrote I suspect you have a problem there. The ESP8266 is afaik rated for 3.0 to 3.6 V and people report issues above and below that range.
Honestly I think you should start with the NodeMCU modules. They can be used much like an Arduino. It has its own USB interface, is fairly cheap and you can a lot of amazing stuff you cannot do if using it just as a dumb AT terminal.