it has been so long since I tried to connect the esp8266 through Arduino Uno and get it to work my goal is to send data from the Arduino Uno to web site, I have tried everything and a lot of codes but none worked at first I could get a response but sometimes it does and sometimes it does not I even bought an other one but the new one did not respond at all so I flashed the old one following the instructions in here and I got response the next day I tried to reuse it and it does not respond at all not even when I put the serial on 115200 and both NR&CR and tried AT but nothing showed in return .i found this tutorial and I tried to get it to work using a mobile app but as usual, it does not work


but i did not get hte name of it wifi in my wifi list
this is the code

// RemoteXY select connection mode and include library  

#include <RemoteXY.h> 

// RemoteXY connection settings  
#define REMOTEXY_SERIAL Serial 
#define REMOTEXY_WIFI_SSID "RemoteXY" 
#define REMOTEXY_WIFI_PASSWORD "12345678" 

// RemoteXY configurate   
#pragma pack(push, 1) 
uint8_t RemoteXY_CONF[] = 
  { 255,2,0,0,0,30,0,8,13,0,
  26,12,12,2,31,88,0 }; 

// this structure defines all the variables of your control interface  
struct { 

    // input variable
  uint8_t switch_1; // =1 if switch ON and =0 if OFF 
  uint8_t button_1; // =1 if button pressed, else =0 

    // other variable
  uint8_t connect_flag;  // =1 if wire connected, else =0 

} RemoteXY; 
#pragma pack(pop) 

//           END RemoteXY include          // 

#define PIN_SWITCH_1 2
#define PIN_BUTTON_1 12

void setup()  
  RemoteXY_Init ();  

  pinMode (PIN_SWITCH_1, OUTPUT);
  pinMode (PIN_BUTTON_1, OUTPUT);

  // TODO you setup code 


void loop()  
  RemoteXY_Handler (); 

  digitalWrite(PIN_SWITCH_1, (RemoteXY.switch_1==0)?LOW:HIGH);
  digitalWrite(PIN_BUTTON_1, (RemoteXY.button_1==0)?LOW:HIGH);

  // TODO you loop code 
  // use the RemoteXY structure for data transfer 


i wired it like this

enter image description here one last thing is it gets hot every time so what could be the problem what's wrong with is what should I do

  • Sounds like it's dead, Jim. – Majenko Jun 21 '19 at 12:30
  • both, even the new one ? – Ela Hidri Jun 21 '19 at 13:36
  • Hit is not good. Maybe there is something fundamentally wrong that you are doing to them. – Majenko Jun 21 '19 at 13:59
  • like what i connected the RX -> RX /TX-> TX/ CH_en and vcc to 3.3 v of the arduino / gnd ->gnd – Ela Hidri Jun 21 '19 at 14:11
  • 1
    but i tried to flash it and tried the at and responded yes then i tried at+rst and responded error but then i tried AT+UART_DEF=9600,8,1,0,0 i then it does not respond at all again .i did not put the leds was trying it with without – Ela Hidri Jun 21 '19 at 14:40

when a chip gets hot as soon as the VCC/GND is connected, it means :

  1. The VCC/GND are internally connected due to a previous failure (it gets hot AFTER the accident).

  2. An output pin, is connected to a supply rail through a very low resistance load (or short circuited). pins usually sink or source as low as 20mA of current. so if you connect them to a load less than (3.3/20)*1000 ~= 150 ohms (in your case with 3.3v supply), you are going to fry the output driver. always be sure that a pin, even if it's defined as an input, has a little resistor (a 220 ohms res). this accident happens between output/supply or output/output pins.

you may have misconnected TX pin to a wrong pin.

  • i have connected to tx the TX of the arduino in this example .how do i know if it is working – Ela Hidri Jun 21 '19 at 13:41
  • @ElaHidri you mean TX to RX right ? TX line connects to RX line of the other end – Tirdad Sadri Nejad Jun 21 '19 at 19:15
  • yes I even tried other Arduino pins .do I need to add level shifter? – Ela Hidri Jun 22 '19 at 8:43
  • no you don't need a level shifter for ESP8266 and Arduino as the esp pins are 5v tolerant. but it you connect TX to another "output" pin you may have damaged them. TX pin is an output, idle high pin. another output pin with idle low, short circuits the pins @ElaHidri – Tirdad Sadri Nejad Jun 22 '19 at 15:40
  • 2
    @ElaHidri even though people seem to successfully do so, by the official specs the esp8266 is not 5V tolerant. You supply the esp with 3.3V at vcc, so connecting any pin to a 5v logic level directly is incorrect. – Sim Son Jun 28 '19 at 13:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.