Chat here is you are connecting ESP-xx type modules to existing AVR based Arduino

Moderator: igrr

User avatar
By tzach123
#43869 Hi all,
I bought this esp8266 module from sparkFun: https://nurdspace.nl/ESP8266.
I want to connect the module to my rauter, but firstly I want to upload the blink sketch without any problems.
Do I have to do initials instructions before uploading the sketch, except from connecting the module to arduino and download the esp8266 in the board manager?
Just to be sure, this module is called Generic esp8266 module, right?
Thanks :)
User avatar
By Geert
#44002 Its called a generic ESP indeed.

This is how it should be wired: see (http://hackaday.com/2015/03/18/how-to-d ... fi-module/)

A switch from GPIO0 to ground (with a pull-up resistor to VCC)
GPIO2 and CH_PD connected to VCC
GPIO15 connected to ground

When your USB-Serial converter uses 5V instead of 3.3V you need to change the voltage

Image
User avatar
By jcambiasso
#45127 Hey, related to this, has anyone tried using Arduino's UNO or MEGA own USB to TTL to upload to the ESP8266? That is, shorting reset to ground to keep the Arduino MCU from working. I'm asking since its the only thing I have at hand right now. Both Mega and Uno have an atmega16U2 to handle the usb conversion.

Thanks in advance.
User avatar
By Geert
#45387 What I did sometimes, when I didn't have a USB to serial converter is detaching the ATMEGA328 on the UNO to use the 'raw' USB to serial converter without an Arduino screaming on the Serial interface. but be careful with getting the chip out and putting it back... See this video: https://startingelectronics.org/tutoria ... placement/