-
@allObjects I don't think I get that
take it easy.. I am still so new to the code (in fact I just found about it today). I don't know how the code structure and how it operates ! Though I am experienced with arduino...
I don't know how the code loops! And how I can make a routine for my logic.. And whether it is possible to serve a web page and watch a hardware concurrently?!So can you please elaborate more?
-
@Gordon
is it possible to make a function that always loops? and whenever the user request the page it can answer with the page as well?The keys I am watching are implemented as keypad, and to monitor what key is pressed I need to watch the driving pins and which pin of the sensing pins has changed.. I have the logic and I can simply convert it to code. But is it possible to make an event listener for these changes and serve the web as well?
-
-
-
Hello everyone...
I am new to this forum, I hope I can add more value here.I have a question regarding a project I am working on.
I am developing a remote controller using an ESP8266 and interfacing with some simple electronics to my hardware I want to control. I want to interface with the user using a webpage obviously.
In the beginning I started to do the development using the esplorer tool and lua scripting. But that was very not helpful and can't give me all the features I wanted. Then I found this amazing javascript interpreter that may give me what I need. So I have some questions for you guys.I want to control a wall-mounted device that controls my AC. The device has some interfacing buttons (power, fan, tempUp and tempDown).
I want to make the device controlled by the web interface as well as the device interface itself.
developing the webpage is easy and I could follow the tutorials easily. But is it possible to update the content of the web interface when a button is clicked? I mean if someone turned on the AC, when I go to the webpage I can see the status as "ON" and if someone changed the temperature I can keep track of how many times he clicked the button and update the temp variable in the controller?To sum up, I want to make the variables for the webpage controlled by the hardware as well as the user from the PC.
BTW I made all the interfacing hardware and I just need to program my 8266.
Thanks
-
-
just found out that this thread is not meant for this type of conversations.. I don't know how to delete the conversation however..
Hello everyone...
I am new to this forum, I hope I can add more value here.I have a question regarding a project I am working on.
I am developing a remote controller using an ESP8266 and interfacing with some simple electronics to my hardware I want to control. I want to interface with the user using a webpage obviously.
In the beginning I started to do the development using the esplorer tool and lua scripting. But that was very not helpful and can't give me all the features I wanted. Then I found this amazing javascript interpreter that may give me what I need. So I have some questions for you guys.I want to control a wall-mounted device that controls my AC. The device has some interfacing buttons (power, fan, tempUp and tempDown).
I want to make the device controlled by the web interface as well as the device interface itself.
developing the webpage is easy and I could follow the tutorials easily. But is it possible to update the content of the web interface when a button is clicked? I mean if someone turned on the AC, when I go to the webpage I can see the status as "ON" and if someone changed the temperature I can keep track of how many times he clicked the button and update the temp variable in the controller?To sum up, I want to make the variables for the webpage controlled by the hardware as well as the user from the PC.
Thanks
-
Computer engineering student
enthusiast about electronics and development in generalfind me here: MosabWadea
Also I think you didn't get the full idea that I am working on..
The keypad is wired into different circuit that is using it... I need to monitor this key pad and check which button was pressed... to get the idea please see this pseudocode to get the idea:
to detect which button is clicked I have to do this way: