-->
Page 1 of 11

ESP_01 start _ up help

PostPosted: Mon Jun 01, 2015 7:56 am
by Ambro
Good day to all of you in this forum,
I am very new to and i am starting to use my ESP_01.
I Flashed it using the nodeMCU and I was able to make it working by loading the web server to control two LED's and a program that allows to read the DS18b20 temperature with output on the console.
Now I would like to read the temperature on my cell phone through the web but I do not know how to merge the two programs ( web server and temperature reading ).
Could anyone help me please ? How could I do it ?
Thanks for helping,
Ambro

Re: ESP_01 start _ up help

PostPosted: Wed Jun 03, 2015 5:21 am
by Ambro
Any help for me ?
Thanks
Ambro

Re: ESP_01 start _ up help

PostPosted: Wed Jun 03, 2015 5:35 am
by twaymouth
This page gives a simple ds18b20 webserver example using lua:

https://github.com/nodemcu/nodemcu-firmware/blob/master/lua_modules/ds18b20/ds18b20-web.lua

As you have already got the temperature sensor working in the console it should be as easy as uploading the code.

Re: ESP_01 start _ up help

PostPosted: Wed Jun 03, 2015 7:10 am
by Ambro
Thanks a lot for replying to me.
I am very new to this esp and LUA code...
What are the program tha I have to load in addition to the ds18b20-web.lua ?
What line should I modify to connect my wifi home net ( if any ) ?
Thanks again
Ambro