So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Panseptos
#65903 Hi all,

I'm trying to send data to my database using a php script that expects two values: a temp1 and a hum1 using the GET method. I`m using AT commands to connect to my access point, but the problem is that I don't get a +IPD reply from the ESP8266 and of course the data dooes not reach php.

Here are the at commands used:
Code: Select allAT+RST
OK
0,CLOSED
ΖεΦΤτ()ύ��!‡@HΜ ��"‚Δ�
AT+CWJAP="Rafina","4112703241"
OK
AT+CIPSTART="TCP","192.168.42.21",80
CONNECT
OK
AT+CIPSEND=68
OK
> GET /writeSql.php?temp1=99&hum1=99 HTTP/1.1\r\nHost: 192.168.42.21\r\n\r\n
busy s...

SEND OK
CLOSED


Is the CIPSEND size wrong?

Thank you!
User avatar
By atexit8
#65929 Are you using a USB-TTL converter?
Which terminal program are you using to send the AT commands?

I hope that you are not using an Arduino Uno as your USB-TTL converter.
User avatar
By Panseptos
#65931
atexit8 wrote:Are you using a USB-TTL converter?
Which terminal program are you using to send the AT commands?

I hope that you are not using an Arduino Uno as your USB-TTL converter.


I`m using the Arduino IDE and an Arduino Mega!
User avatar
By atexit8
#65933
Panseptos wrote:
atexit8 wrote:Are you using a USB-TTL converter?
Which terminal program are you using to send the AT commands?

I hope that you are not using an Arduino Uno as your USB-TTL converter.


I`m using the Arduino IDE and an Arduino Mega!



And?

Perhaps http://www.martyncurrey.com/arduino-esp ... #more-1493 will provide clues