Forum
Hardware
Hardware general
ESP8266 SMD version RST pin ?
ESP8266 SMD version RST pin ?
Less
More
Posts: 18
Thank you received: 2
Less
More
Posts: 862
Karma: 25
Thank you received: 264
9 years 9 months ago #508
by EasyIoT
subsix wrote: hello,
i have some smd version on esp8266 board, related this page, i didn't see any RST pin on mine,
iot-playground.com/2-uncategorised/13-es...e-arduino-connection
1) Can i change pin to, UTXD 12 and URXD 11
2) Where can i set pin 7 not 3 for RST ? (cause he is alreay use by a LCD)
i have already checked out the lib folder, without any success.
regards
You can change pins when you init SoftwareSerial (if you are using software serial).
SoftwareSerial serialEsp(10, 11);
Reset pin is set in begin function of esp library. In bottom case is pin 3, but you can change to any digital pin.
esp.begin(incomingMessage,
3 , &serialEsp, &Serial);
Please Log in or Create an account to join the conversation.
Less
More
Posts: 250
Karma: 6
Thank you received: 25
9 years 9 months ago #517
by cdj
Ouch, i've never connect the reset pin, is it necessary ?
Thanks
Dario
Please Log in or Create an account to join the conversation.
Less
More
Posts: 862
Karma: 25
Thank you received: 264
9 years 9 months ago #524
by EasyIoT
cdj wrote: Ouch, i've never connect the reset pin, is it necessary ?
Thanks
Dario
yes. ESP is sometimes unstable and freezes. only HW reset helps.
Please Log in or Create an account to join the conversation.
Less
More
Posts: 250
Karma: 6
Thank you received: 25
9 years 9 months ago - 9 years 9 months ago #567
by cdj
If i connect esp8266 reset pin with my D0 RST of arduino nano (of course with two resistors) it fail to upload sketch and give me :
avrdude: stk500_getsync(): not in sync: resp=0x00
and if i don't disconnect "reset pin" resistors from rst of esp to gnd it does'nt communicate....
Why ?
Last edit: 9 years 9 months ago by
cdj .
Please Log in or Create an account to join the conversation.
Less
More
Posts: 862
Karma: 25
Thank you received: 264
9 years 9 months ago #569
by EasyIoT
cdj wrote: If i connect esp8266 reset pin with my D0 RST of arduino nano (of course with two resistors) it fail to upload sketch and give me :
avrdude: stk500_getsync(): not in sync: resp=0x00
and if i don't disconnect "reset pin" resistors from rst of esp to gnd it does'nt communicate....
Why ?
In esp.begin function declare reset DO Arduino pin. In this case:
esp.begin(incomingMessage, 3, &serialEsp, &Serial);
Arduino pin 3 should be connected to reset pin on ESP (use voltage divider if 5V Arduino is used).
Please Log in or Create an account to join the conversation.
Forum
Hardware
Hardware general
ESP8266 SMD version RST pin ?
Time to create page: 0.251 seconds