问题
i am new in arduino and ESP8266 module AT commands. I still learn about how to receive data from server and it show the data in Arduino serial monitor. I will tell you how i do and i hope someone will tell me what's wrong with my code or if any mistake that i have done.
- This is my php code in server side. Just a simple coding. I save it as index.php :
<?php
ECHO $_GET['subject'];
?>
- This is my AT commands in Arduino IDE serial monitor.
AT+CIPSTART="TCP","nyalalampu.atwebpages.com",80
CONNECT
OK
AT+CIPSEND=110
OK
> CLOSED
After this > symbol appear i insert
GET nyalalampu.atwebpages.com/?subject=anis HTTP/1.0
After that i hit Enter button on keyboard.
I don't know why I don't see any data or text in serial monitor after i hit Enter button on keyboard. It's like nothing happen.After a few seconds what i can see just CLOSED message in Arduino IDE serial monitor. Why it don't print anis in Arduino IDE serial monitor just like i send in GET request to server?
I hope someone will show me somelight what mistake that i have done.TQ
来源:https://stackoverflow.com/questions/64290187/esp8266-esp-01-not-show-data-from-server-in-arduino-ide-serial-monitor