When uploading sketches to the ESP8266, how exactly do I need to wire it up?
I mean the first 4 pins are fairly obvious:
RX to TX
TX to RX
GND to GND
3v3 to 3v3
but what about the dtr pin? Do I connect it the the reset pin of the ESP module?
Can I even upload without the dtr? would I have to manually disconnect and reconnect gnd right before uploading?
Uploading Sketch - TTL/UART wiring? (Serial programming)
-
- Posts: 8
- Joined: Thu Sep 22, 2016 2:30 am
Uploading Sketch - TTL/UART wiring? (Serial programming)
Postby NopItTwice » Mon Sep 26, 2016 1:55 am
Re: Uploading Sketch - TTL/UART wiring? (Serial programming)
Postby pratik » Fri Sep 30, 2016 6:32 pm
Yes, make those 4 connections.
In addition, connect CH_PD to 3.3V to enable the chip.
The chip will enter programming mode if GPIO0 is connected to ground when power is turned on. If GPIO0 is left floating, the ESP8266 enters program execution mode on power up.
DTR need not be connected, just set it to program mode manually. Hope that helped!
In addition, connect CH_PD to 3.3V to enable the chip.
The chip will enter programming mode if GPIO0 is connected to ground when power is turned on. If GPIO0 is left floating, the ESP8266 enters program execution mode on power up.
DTR need not be connected, just set it to program mode manually. Hope that helped!
-
- Posts: 8
- Joined: Thu Sep 22, 2016 2:30 am
Re: Uploading Sketch - TTL/UART wiring? (Serial programming)
Postby NopItTwice » Tue Oct 04, 2016 4:12 am
Thank you. I have also connected DTR to an active-low relay that cuts the power to the esp when dtr is triggered. This way I don't have to manually reset anymore. This solution is kinda crappy though imo. It would be nice if I could just hook up the dtr directly to the esp.
Who is online
Users browsing this forum: No registered users and 3 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
-
- All times are UTC+08:00
- Top
- Delete all board cookies
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.