Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [web-server]

A web-server is a system which delivers data such as web-pages to a client system.

0
votes
1answer
44 views

I have the code printing the data I need but don't know how to connect the data on ESP8266 IP web server

#include "DHT.h" #include "NewPing.h" #include <SoftwareSerial.h> #define DEBUG true SoftwareSerial esp8266(11,10); #define DHTPIN 2 // DHT-11 Output Pin connection #...
0
votes
0answers
24 views

ESP8266WebServer Remote Opens Port but fails to load web page

I have a modified Sonoff basic (ESP8266) that I use as garage door openers. Using Arduino 1.8.7 and 2.4.1 libraries I created firmware that allows the door to be opened and closed via an AJAX enabled ...
0
votes
1answer
24 views

Send a message from a webserver (different network) to arduino

right now i have a script sending get requests to a webserver to receive commands as an answer. As i want a very fast response i have to send a request every 250ms. If there are no commands for the ...
2
votes
1answer
39 views

Are there any Wi-Fi modules for the Arduino Uno that may connect to an external Wi-Fi Antenna?

I have an Arduino Uno I need to connect to Wi-Fi to make HTTP POST Requests to a Raspberry Pi Web Server. The Arduino is located only about 30 feet from the AP, but there is a brick wall in the line ...
0
votes
1answer
29 views

How to HTTP post a data to Node express API from a Arduino esp8226?

I am HTTP Posting a data to web api https://morning-cliffs-85779.herokuapp.com/api/users from a arduino connected to esp8226. I am using wifiesp library to HTTP_POST a data. The REST apis are hosted ...
1
vote
1answer
53 views

How do I get the request params from a ESPAsyncWebServer?

I currently have the following code server.on("/on", HTTP_POST, [](AsyncWebServerRequest *request) { Serial.println("ON hit."); String message; Serial.println(request->url()); if (...
0
votes
0answers
28 views

How to make arduino as a client and send the data collected by the arduino to a web server via ESP8266 [duplicate]

I am working on an IOT project where Arduino as a client and send the data collected by the Arduino using Current Sensor ACS712 to a server which is hosted over the internet. Where I can store and ...
1
vote
1answer
72 views

How to establish a connection between an Arduino and a web server via ESP8266 [duplicate]

I'm working on a IOT project where three or more IOT device communicates with a web server. The IoT device will have Arduino UNO which is connected to a ESP8266 so internet access is available. ...
0
votes
1answer
139 views

Problem with html code in ESP8266 WebServer

Here I have a small problem: I have an ESP8266, to which I have connected a matrix of LEDs to move text (the array of LEDs is made with the tape of LEDs addressable ws2812); when you turn on the ...
0
votes
2answers
355 views

Creating a Web Interface for ESP32 [closed]

I am working on a project that involves moving various servos and lights and I need a good UI to work with the device. I've previously used Blynk, which worked very well but I didn't like some of the ...
0
votes
1answer
46 views

Is there a real alternative now to using GSM for data sending?

I would like to create an Arduino system that sends the temperature in a place outdoors to a server. I've read in Internet forums that there might be alternatives to GSM and GPRS technology for ...
0
votes
1answer
69 views

Replying with a html page in HTTP Web Server using esp01 and ArduinoIDE

Now there are many ways to reply with a webpage content to a user who is accessing the web server, But Keeping in mind to use as less space as possible, I was trying something new, Since i didnt got ...
0
votes
0answers
9 views

Node Mcu DHT11 Update set temprature

I am using Node mcu with DHT11 . I could able to display temperature & humidity on local web server.I want parameter set temp it can be changed from local web sever. Now i could able to create ...
0
votes
1answer
63 views

Updating Server using ESp8266 with Direction Button Pressed IN

I've connected a 5-way tactile switch to a ESP8266 module and am using the Arduino IDE to create an automatically updating web server that displays the direction that the button is pressed in when ...
0
votes
0answers
327 views

Arduino ESP8266 Webserver SD

I connect Micro SD card adapter to my esp8266. I uploaded the SD webserver example sketch into the esp8266, everything works perfectly once I created index.htm, now I add LED to digital pin 4, now, ...
0
votes
1answer
78 views

Problem with nodemcu esp-01 can't connect to wifi

i've been working on a project that im using an esp8266 nodemcu-01 as described in the title, and i've been having some headache with this module, first because after searching i figured out that the ...
1
vote
0answers
182 views

Exporting an html for esp8266

EDIT: Added "web page source" ("In the end", :D ) (Please, sorry if this question isn't in the right place, feel free to move it to that place) Here I have a problem: In my house I have a self-...
0
votes
0answers
1k views

Creating a webserver on a Wemos D1 mini pro

I am trying to put a webserver on my Wemos D1 mini pro. I am using this example for the Arduino code: https://github.com/wemos/Arduino_D1/blob/master/doc/esp8266wifi/server-examples.rst #include &...
-2
votes
1answer
42 views

how to establish a connection between an arduino and a web server? [closed]

I want to establish a connection between my arduino mega ( which is connected to an ethernet shield so internet access is available) to a web server. Any idea how the code should be? I searched for ...
0
votes
2answers
84 views

if two arduinos are connected by I2C and one of them is using an ethernet shield, does that grant both of them access to the internet?

i have two arduino mega and they send data to each other by an I2C connection. But one of those arduinos is connected to an ethernet shield which allows it to send data to a web server. Being both ...
1
vote
0answers
479 views

Sending data from webserver to Arduino

Hello Arduino enthusiasts! I've been working on a keypad lock system for school lately and I need some advice.Basically, my code checks if the entered passcode is the same than a predefined passcode ...
0
votes
1answer
147 views

Sending dynamic data to webserver

I am trying to send data to a php file via http GET method. I am able to send static data but I am unable to send dynamic data. #include <SoftwareSerial.h> SoftwareSerial gprsSerial(9, 10); ...
0
votes
0answers
127 views

Ethercard SD and DHT11

I want to build a web page on an ATmega328 that will link me to an SD card file with the saved values of a DHT11 sensor. I manage to program the "Web Server" on the atmega328 and the code that creates ...
0
votes
1answer
85 views

GSM library_ all examples ar working except GPRS?

i am using arduino uno and sim808. i connected the sim808 to pins 2,3 on arduino uno and used GSM library. i tested all examples: make and receive a call or messages. the part of GPRS initialization ...
1
vote
1answer
586 views

ESP8266 - Webserver not working in loop

I have simple example, where in loop is called webServer to handle clients and also text drawing on display. The thing is that webServer is not responding, but when I remove second part of loop - ...
0
votes
0answers
527 views

Sending data from GPRS SIM808 + Arduino Uno

I'm using AT+HTTPPARA to send data from my Uno to a web server. It works for a few minutes, then it goes missing from serial and doesn't send to the database anymore. What could be the problem from ...
0
votes
1answer
921 views

Connect Arduino to Socket IO Webserver via Esp8266

As part of a project I want to receive data on my arduino uno via a sensor, which is working fine. This data should be sent to a webserver where a node js with socket io is running. Therefore i bought ...
0
votes
0answers
125 views

Variables are updating in serial interface but not web interface

I have an ESP8266 WeMos D1 R2 running the following code. The DS18B20 temperature sensor is updating its values to the serial console, but not the web interface. I've tried changing the scope of the ...
0
votes
0answers
2k views

ESP32 WiFi Server - Receive POST Request

The SimpleWiFiServer example provided by the official ESP32 libraries shows how to receive and handle GET requests from an outside client in a quick and dirty way. Here's a similar question which ...
0
votes
1answer
236 views

How to connect an Arduino via an ethernet cable to a laptop directly?

Maybe a silly question, because it is a usual topic, but I have a problem with my Arduino Leonardo ETH. I want to create a web server on the Arduino with the example sketch File > Examples > ...
-1
votes
1answer
186 views

Rubik Cube Solver (Program Help!) [closed]

I am Working on the final Year Project, The title says it all. Before I explain my project I would like to state that I'm very much interested in the project not because of the deadline but rather ...
1
vote
1answer
1k views

HTTPS with ESP8266WebServer?

I see many ESP8266HTTPClient examples, pasting in a fingerprint from an outside website, but I want to host an html page from the ESP8266 in AP mode using HTTPS. Judging by the lack of examples, and ...
0
votes
1answer
2k views

How to pass JsonObject from ArduinoJson to ESP8266WebServer object?

I am learning the ArduinoJson.h library and creating jsonOject: JsonObject& prepareResponse(JsonBuffer& jsonBuffer) { JsonObject& root = jsonBuffer.createObject(); JsonArray& ...
0
votes
0answers
32 views

checking if user is opening root entry point of the IP address on esp8266 webserver

I am trying to open load a webpage from ESP8266 that displays temperature and humidity of my room if I only type root URL:192.168.1.89 GET / HTTP/1.1 Host: 192.168.1.89 Connection: keep-alive Upgrade-...
0
votes
1answer
276 views

Why do GPS coordinates fail to save on MySQL database using SIM900?

My project is a vehicle tracking system. I'm using a NEO-6M for GPS and a SIM900 for GPRS. I want to send the GPS coordinates to a MySQL database. I've tested the GPS and it's working well. I've ...
0
votes
1answer
147 views

ESP8266 sketch worked a few times but now doesn't seem to run

When I flash my code: /* Create a WiFi access point and provide a web server on it. Author: Lucio A. Rocha Last Update: 21 Aug 2016 */ #include <ESP8266WiFi.h> #include <WiFiClient.h&...
1
vote
2answers
95 views

Stability issue with webserver and smartmeter logging

In the past few months I have successfully logged the data from the power and gas meter in my house to a remote web server. Now I try to add the ability to enable and disable my doorbell over the ...
0
votes
1answer
400 views

Linux SSH command for Arduino Console

I have a Leonardo with a Yun shield, and I would like to be able to control the arduino with a windows form app, but thats besides the point for now at least. Currently, I am using putty and the ...
0
votes
1answer
164 views

Transfer byte-buffer with ENC28J60

How do I transfer a series of byte[256]-buffers to a server with an ENC28J60 Ethernet adapter? I get blocks of uint8_t from an Arducam camera module and I'd like to transfer them to a host. Does ...
1
vote
1answer
455 views

Wemos D1 mini freezing after a few minutes

I´m using a Wemos D1 mini board to control a RGB LED Strip and programmed a simple code with the Arduino IDE. The Wemos conects to my Internet just fine and with the IP adress I can change the RGB ...
0
votes
1answer
1k views

ESP8266 cannot read POST parameters

I'm working on a simple REST server. I made method to handle http://<esp8266_IP>/test. The GET method works like a charm and I got the response. Then I tried to send a POST with a JSON data (I ...
0
votes
0answers
871 views

As part of my IoT project, I want to send Rfid tag values from PHP MySQL to Nodemcu esp8266/arduino , Mfrc522

I want to add and delete rfid tags from nodemcu remotely from php mysql server. As I implemented a database i understood that tag values are sent in string format using the following code client.print(...
0
votes
1answer
1k views

Error 400. The request has an invalid header name ESP8266 (HTTP-POST)

I'm trying to send a http post to my server from an esp8266-Wifi (I use the ESP8266 library) I check all my http post format, and I guess is okay... but at the response, the monitor serial answer me ...
1
vote
1answer
5k views

ESP32 in Arduino-IDE with FS.h and SPIFFS

I'm working on a webserver on ESP32 in Arduino IDE and would like to load an html-file. Tried to use SPIFFS.open from the library FS.h from github. Errormessage says SPIFFS was not declared in this ...
1
vote
2answers
501 views

WeMOS creating soft access point from old code even when new code doesn't have it

In the past I uploaded the code below: #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h> #include <DHT.h> #define DHTTYPE DHT22 // DHT 11 #...
0
votes
0answers
433 views

Arduino as a WebRTC host on LAN or Beyond?

I'm looking to utilize Arduino to remotely collect sensor data and stream the information on a local LAN or WLAN such that clients can subscribe to the Arduino as WebRTC clients and display the ...
-3
votes
1answer
291 views

Arduino sim900a GPRS POST method asp.net [closed]

Post method is run perfect using postman. error while post the data on server using arduino sim900a module gprs. Arduino code mySerial.println("AT+CGATT?"); delay(100); ShowSerialData(); ...
0
votes
0answers
84 views

Arduino Web page

How do I put another page to this sketch? I would like to create two pages with these functions const int buttonPin = 5; // the pin that the pushbutton is attached to int buttonState = 2; // current ...
0
votes
0answers
1k views

WiFiESP constantly losing connection

I am working on a traffic light with a ESP8266-01 wifi module on an Arduino. The wifi card should act as a server and wait for a request to come in at /R (red), /Y (yellow), /G (green) or /O (off) and ...
1
vote
0answers
194 views

Arduino UNO WiFi RestServer returning “not found”

I'm trying to run RestServer on my Arduino UNO WiFi, and I'm currently using the tutorial from Arduino: http://www.arduino.org/learning/tutorials/boards-tutorials/restserver-and-restclient Everything ...