How to build a standalone webserver

francesco.8266
Posts: 1
Joined: Mon Apr 18, 2016 2:02 pm

How to build a standalone webserver

Postby francesco.8266 » Wed Apr 20, 2016 1:25 pm

Good morning to everyone

I'm new to the ESP8266 development, and I'm at the beginning of this interesting wifi module.

I've tried to use it with the default firmware (AT commands), and all is ok. I've followed some basic tutorials found on internet, and I haven't any problems (fortunately).

Now, I need to use it standalone, without a microprocessor, so I've flash it with the nodeMCU firmware, to have a LUA compiler. Then I try some basic function, and I haven't any problem.

At this point, I'm ready to start with my real needed application: I want to build a webserver accessible when in softAP mode, in which I can scan for the available access point, select the desired ones, choose the security type, insert password (if requested) and then save and connect to the choosen network.

After that, I will start a TCP connection with a remote server, but for the beginning I have to figure out how to build this webserver.

I found on internet some tutorials, but almost all of them show how to build a webserver to swich on/off a led, so I've learn how to manage a button, but nothing more. And I don't know how to implement my idea.

The firmware I'm using actually is the following:
NodeMCU 0.9.6 build 20150704 powered by Lua 5.1.4

as software to flash and program the ESP8266, I'm using the official flasher tool and ESPlorer.

Any suggestions are very appreciated.

Thanks in advance
Francesco

Who is online

Users browsing this forum: No registered users and 15 guests