esp8266+ds18b20+lcd I2C+ arduino uno

ta01234
Posts: 1
Joined: Thu Jan 05, 2017 7:39 pm

esp8266+ds18b20+lcd I2C+ arduino uno

Postby ta01234 » Thu Jan 05, 2017 7:43 pm

I am trying to meausre the temperature and display it using lcd i2c + send it to a web page
I used the below code , and I got error
link is not valid + another php script error

can anyone help me ?

http://pastebin.com/raw/985RBEPV

pratik

Re: esp8266+ds18b20+lcd I2C+ arduino uno

Postby pratik » Fri Jan 13, 2017 3:10 pm

Hi!

I have not worked with Arduino before so I am not very familiar with the programming techniques involved.
But I think you are missing the HTTP header. If you want to display a webpage where ESP8266 acts as a web server, then you need to send the HTTP header as well before sending the web page data.
Example header would be like:
https://www.tutorialspoint.com/http/http_header_fields.htm

Who is online

Users browsing this forum: No registered users and 307 guests