ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By netomx
#5563
Sprite_tm wrote:I have a problem with understanding why everyone wants binaries. The essence of the esp8266 webserver is that you can use it as a starting point for other projects; hook your own code and HTML into it and you have a nice user interface or whatever. Why would you want binaries from what's basically the example project?


In my case, to test if it is working before doing all the procedure to compile and test. I have "wasted" time with the past release, and finding out it was crashing for everything. So, with the binaries, I can test without all the steps, and if it works, now do them. I know that your project will be a base :)
User avatar
By tubaro1
#5842 Good job!

I was wondering, could be a TX RX through the web? I'm connecting to an Arduino UNO, over serial I want to send commands and receive an answer. For example, I host a web in the ESP8266, and in Argentina I open that web through a mobile, this website has buttons (I guest like the example LED, with a form), when I press the button it sends through the ESP a command "LED1: ON" and the Arduino respond OK. Then another button and so on. Is this possible? This "update" could be a new player for IoT, because there is no pin limitation.

I could try this, I know how to code (c, html etc), but I can't imagine where to start. Thanks a lot.

Greetings from Buenos Aires.
User avatar
By Sprite_tm
#5897 tubaro1: Sure, that's possible: in theory, it means disabling all the debugging ouput (you can redirect it to the 2nd uart iirc to get rid of it) and then writing a routine that does output the string you want to the 1st uart when the button is clicked. For a quick-and-dirty solution, however, you could just put a 'os_printf("LED ON\n") instead of the current code that switches on the LED, and write the Arduino code in such a way that it disregards the debug chatter.