Post topics, source code that relate to the Arduino Platform

User avatar
By vidal11
#15599 Hello,

I tried to connect a Mega Arduino , a sensor DS18B20 and esp8266 to send data from my sensor on the Internet.

After configuration, I sed https://codebender.cc/sketch:98754#thin ... sp8266.ino this code

but the data does not reach the server, why?

AT

AT + CIPSTART = " TCP ", " 184106153149 " 80

AT + CIPSEND = 47

AT + CIPCLOSE

AT + CIPSTART = " TCP ", " 184106153149 " 80

AT + CIPSEND = 47

AT + CIPCLOSE

AT + CIPSTART = " TCP ", " 184106153149 " 80

AT + CIPSEND = 47

AT + CIPCLOSE

Can anyone help me please ?

Thank you in advance
User avatar
By AcmeUK
#15625
AT + CIPSTART = " TCP ", " 184106153149 " 80

Where you have " 184106153149 " CIPSTART is expecting the remote ip address in xxx.xxx.xxx.xxx format e.g 192.168.0.5.

Before I connected my arduino to the esp8266 I interacted directly with it from a terminal program to see if I was using the correct syntax and what responses I was getting.