-1

I'm trying to build a heart rate monitor using ESP-01. The code compiles and uploads well but once uploaded, in the serial monitor it shows the following. It keeps repeat CIPSEND and CIPCLOSE over and over. What could cause this? Could it be faulty hardware or is it a problem with the code?

 AT+CIPSTART="TCP","184.106.153.149",80
 AT+CIPSEND=29
 AT+CIPCLOSE
 AT+CIPSTART="TCP","184.106.153.149",80
 AT+CIPSEND=29
 AT+CIPCLOSE
 AT+CIPSTART="TCP","184.106.153.149",80
 AT+CIPSEND=29
 AT+CIPCLOSE
 AT+CIPSTART="TCP","184.106.153.149",80
  • 2
    A problem with the code. – Majenko May 14 at 17:40
  • The code is at the end of the webpage. I dont know if theres anything wrong with the code. Could it be faulty hardware? how2electronics.com/… – T.L.D May 14 at 18:12
  • the code on that web page is improperly formatted ... it is a really bad example to beginner programmers ..... i would not be surprised if it contains bugs – jsotola May 14 at 20:39
0

The reason that you are seeing those messages on the serial monitor is because the code is telling it to print those messages on the serial monitor.

Every time a message is sent to the ESP8266 it is also sent (for debugging purposes) to the Serial.

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.