Questions tagged [web-server]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
883 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
401 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
1answer
195 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
1k 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
1answer
2k 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
1answer
466 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
305 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
2k 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 ...
1
vote
1answer
4k 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
46 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
403 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
243 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
115 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
554 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
268 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
640 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
2k 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
1answer
2k 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
7k 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
652 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 #...
-3
votes
1answer
363 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
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 ...
2
votes
0answers
218 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 ...
3
votes
2answers
975 views

Connect Arduino Uno to video camera's web Server via Ethernet (not working)

I work with cameras in the film and TV industry. A project I have just started tinkering around with is building an Arduino Uno-based box that would automatically collect the metadata (settings, etc.) ...
0
votes
2answers
386 views

Connect my Arduinos to central server, despite different IP adresses

Community, A team of friends just built, with an Arduino UNO, a system where one can open a door lock from the internet. The Arduino UNO has an Ethernet Module (ENC28J60). When the command prompts, ...
1
vote
0answers
2k views

Load website from SD card

I combined two different codes together, a captive portal and a SD card web server. I encountered a problem which the website in the SD card doesn't load when I connect to the AP (captive portal page)....
2
votes
2answers
6k views

'content' is not captured

I try to make a variable that can be modified from the server, using and ESP8266. #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h> #include <...
0
votes
1answer
614 views

Arduino connection websocket always fails

I am using the Arduino Websocket Client library to connect my Arduino Uno to a Socket.IO server. But the connection always returns 0 (fail) after the handshake. Anyone has used this library before? ...
0
votes
1answer
553 views

Arduino Mega web server always returning JSON data even if JSON is not passed in URL

I am trying to return JSON data if JSON is found in the HTTP header, and if not I am trying to display a normal page. But instead it always displays the JSON text, even if I do not pass the JSON in ...
-4
votes
1answer
538 views

Where can i get a current Websockets Library for Arduino that will work with the Ethernet Shield

I'm trying to get a simple WebSocket client working on an Arduino Mega with an ethernet shield. I tested the ethernet on the Arduino and it's working fine. I've tried a few of different WebSocket ...
0
votes
1answer
80 views

Why doesn't this code work?

I'm having trouble programming an Arduino Uno with this sketch, the sketch compiles and I get full serial output and an IP address, but no web browser can connect to it. I've tried this Arduino ...
0
votes
1answer
2k views

Arduino-ESP8266 socket

I am programming an ESP8266 module via Arduino IDE. I basically have to use it as a server that can light up a led when a client sends a request. This is okay but I have to implement it with a NONCE ...
0
votes
1answer
5k views

Arduino + ESP8266 as Webserver

I want to connect Arduino to my Home Wifi and make it serve as a server to access GPIO pins on Arduino from remote (like controlling LED connected to Arduino from remote). I am using ESP8266 to ...
0
votes
1answer
4k views

File download from SD card hangs up my ESP-12E

I'm using ESP8266 Arduino for compiling and uploading my code to NodeMCU 1.0 (ESP-12E Module). Flash Size: 4M (3M SPIFFS) CPU frequency: 80 MHz Upload Speed: 115200 I'm using portable arduino-1.6.9-...
0
votes
3answers
2k views

Arduino Sending faster/more data to a web server

I'm working on a project that reads vibration on a building using an accelerometer and displaying it's data on a web server. The plan is to read 10 samples/second from the accelerometer and send that ...
0
votes
1answer
182 views

Clear GET params from URL [duplicate]

I have a simple GET webform that takes in text. Once that text is submitted the URL permanently displays the text as the parameter. This causes echoing issues when I check the input from the web form; ...
2
votes
2answers
13k views

Multiple client server over wifi

Trying to setup a server on Arduino to support multiple clients, I am able to support one but I don't want to flush that client to make another connection. #include <ESP8266WiFi.h> const char* ...
1
vote
0answers
42 views

Getting data from web form [duplicate]

I am using an EthernetServer and EthernetClient with Arduino in order to make a simple webpage. I have a web form for a user to enter various codes that can reset data stored on the back end. However, ...
1
vote
1answer
3k views

Arduino Web Server: Receiving response from web form

I am using an Arduino Mega and I have a basic webpage built using EthernetServer for the connection and EthernetClient to write the HTML to the client. I have a simple web form: client.println("<...
-1
votes
1answer
393 views

How to speed up writing a file to a WifiClient?

I'm working with a Realtek Ameba IoT RTL8195 board that's compatible to Arduino. I have a text file on an SD card that I want to send via HTTP over wifi, with the Ameba acting as a server. I ...
-2
votes
2answers
242 views

Errors in code, LM35 temperature logging to web server

trying to experiment with Wemos D1 and LM35. Need to have temperature reading on the ESP IP. Found the following project to be exactly matching my requirements but I am having certain errors in it. ...
1
vote
0answers
801 views

Exception 29 ESP12E Arduino

I am getting exception 29 every time I make request to HTTP using GET function. I am requesting HTTP every 20-30ms but using millis I am only reading request at 100ms in order to avoid any overflow or ...
1
vote
1answer
1k views

Can't connect to my Arduino via W5100 Ethernet shield

I recently bought a W5100 Ethernet shield and I'm trying to run this simple example, which is a little improvement of the basic WebServer sketch provided by Arduino.cc #include <SPI.h> #include ...
1
vote
1answer
11k views

POST data from Arduino to website

I am working on a project where I am trying to send data using HTTP and POST method from my Arduino Mega2560 to a website which I host on localhost. I am living to a students' accommodation and thus, ...
1
vote
1answer
2k views

Webserver on Arduino: Refresh issues

I am using W5100 Ethernet Shield Network Module with arduino Uno as a webserver to trigger four relays connected to it. The relays may be toggled through the four buttons attached to it physically, ...
1
vote
1answer
724 views

Server checkbox not working properly

I am trying to make an arduino alarm clock to which you can send alarm clock times over the web. This is the HTML code <input type="checkbox" name="alarm1" id="alarm1">1</button> It's ...
0
votes
2answers
484 views

arduino ethernet run php from sd card

I am just interested, but I would like to run a webpage with php on my arduino ethernet. I would like to be able to store my webpage on the sd card as well. does anyone know of a library that would ...
3
votes
1answer
3k views

Serving binary file with ESP8266WebServer

I am currently using a Nodemcu ESP8266-12E with the Arduino IDE in order to control my boiler. Everything is working fine, however I haven't figured out yet how to serve binary files, eg. images. (I ...
1
vote
1answer
1k views

ESP8266 Web Server Crash + Arduino IDE

I am working on HTTP GET Request. I have created ESP wifi as web server. It creates a access point with IP address : 192.168.4.1 When my android app is connected to web server, it sends values every ...
0
votes
1answer
256 views

Ethernet Controlled Arduino Arm

Good day, I am currently attempting to write code that will allow a user to connect to an Arduino Mega via IP address and control a robotic arm on the X and Y axis as well as open and close the claw. ...