So you're a Noob? Post your questions here until you graduate! Don't be shy.
User avatar
By hookitup
#70375 Hey Folks,

im brand new to the ESP8266 world.
i got myself some ESP8266 boards off of Amazon https://www.amazon.com/TBD-Controls-ESP8266-Microcontroller-Arduino/dp/B01MT6T73L/ref=sr_1_4?s=pc&ie=UTF8&qid=1506543580&sr=1-4&keywords=esp8266

but i am having A LOT of trouble getting it to work.
i have tried so many different variation, tutorials, connections. all failed.

the esp label on the actual chip says ESP8266EX
i have the FTDI connector https://www.amazon.com/Gikfun-FT232RL-Adapter-Arduino-AE1186x2/dp/B01HXT8DZ4/ref=sr_1_4?s=electronics&ie=UTF8&qid=1506545978&sr=1-4&keywords=ftdi

i have tried connecting the device several different ways such as:

ESP > FTDI (version 1)

Rx > TX
TX > RX
GPO0 > Button to GND -(for programming i would hold RST button, hold GPO0 button, release RST, release GPO0)
GND > GND
VCC > VCC3.3
CH_PD > VCC3.3
RST > VCC3.3 + Button to GND-(for programming i would hold RST button, hold GPO0 button, release RST, release GPO0)


ESP > FTDI (version 2)

Rx > TX
TX > RX
GPO0 > Direct connection GND
GND > GND
VCC > VCC3.3
CH_PD > VCC3.3

here are just a few tutorials i have used
http://www.instructables.com/id/ESP8266-Programming-Using-FTDI-and-Arduino-IDE/
https://www.youtube.com/watch?v=lnP1NPB4zAE
https://www.allaboutcircuits.com/projects/breadboard-and-program-an-esp-01-circuit-with-the-arduino-ide/

i can get it to successfully flash with the arduino IDE but once i go to serial monitor i dont see anything
here are the settings:

Board: Generic ESP8266 Module
Flash Mode: DIO
Flash Frequency: 40MHz
CPU Frequency: 80 MHz
Flash Size: 512K (64K SPIFFS)
Debug port: Disabeled
Debug Level: None
Reset Method: ck
Upload Speed: 115200 (and yes this matches the code as well)
Port: COM4

Programmer: AVRISP mkII


any idea , any iput would be greatly appreciated
User avatar
By schufti
#70386 make sure you can flash with your version 1.
set the baudrate in sketch and serial monitor to 74880
after flashing press the reset button
at least you should see the output of the bootloader
if your sketch doesn't start it should give a hint what is wrong

to be on safe side add pull-ups on rst, gpio0, gpio2
User avatar
By hookitup
#70427
schufti wrote:make sure you can flash with your version 1.
set the baudrate in sketch and serial monitor to 74880
after flashing press the reset button
at least you should see the output of the bootloader
if your sketch doesn't start it should give a hint what is wrong

to be on safe side add pull-ups on rst, gpio0, gpio2


ok i tried this and this is what i get:
Code: Select allBaud rate changed to 74880


 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 28740, room 16
tail 4
chksum 0xcd
load 0x3ffe8000, len 2888, room 4
tail 4
chksum 0xbc
load 0x3ffe8b50, len 15252, room 4
tail 0
chksum 0x4f
csum 0x4f
R
Communications Error - Check baud rate


Baud rate changed to 9600


Communications Error - Check baud rate


Communications Error - Check baud rate



im not really sure why its saying that when i have both serial monitor and sketch on same baudrate

Also
rudy wrote:Don't use the 3.3v from the FTDI chip. It is not adequate. You need a supply that can handle peaks of up to 500mA.


i noticed the lack of power from the FTDI so i switched to a dedicated power supply.
this is my set up now:



ESP:Rx > FTDI:TX
ESP:TX > FTDI:RX
ESP:VCC > PS:3.3 (PS = power supply if its not obvious)
ESP:CH_PD > PS:3.3
ESP:GND > PS:GND
ESP:GPO0 > Button > PS:GND
ESP:RST > Button > PS:GND
FTDI:GND > PS:GND