Questions tagged [web-server]
A web-server is a system which delivers data such as web-pages to a client system.
248
questions
0
votes
2
answers
162
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
1
answer
818
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
1
answer
743
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
votes
1
answer
999
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
1
answer
3k
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
1
answer
4k
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 ...
2
votes
1
answer
13k
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
2
answers
1k
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
#...
1
vote
0
answers
2k
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 ...
3
votes
0
answers
242
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
2
answers
1k
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
2
answers
468
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
1
answer
3k
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
2
answers
15k
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
1
answer
955
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
1
answer
780
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
1
answer
1k
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
1
answer
106
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
1
answer
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
1
answer
7k
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
1
answer
5k
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
3
answers
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
1
answer
330
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; ...
5
votes
3
answers
27k
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
0
answers
45
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
1
answer
5k
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
1
answer
898
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
2
answers
291
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. ...
2
votes
0
answers
952
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
1
answer
2k
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
1
answer
13k
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
1
answer
3k
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
1
answer
1k
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
2
answers
616
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 ...
7
votes
1
answer
4k
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
1
answer
2k
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
1
answer
283
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. ...
1
vote
1
answer
5k
views
Getting POST data into a char array
I'm using Energia to program TI's CC3200 MCU. Since Energia is based off the Arduino IDE, I'm hoping someone can help me here.
I'm trying to get the CC3200 to act as a Webserver which when ...
0
votes
1
answer
6k
views
Sending binary data to HTTP server
I am new to low level programming.I am trying to send binary data to the http server.At the moment i just fill up the byte array with numbers and send them to the server(eventually i want to send ...
0
votes
2
answers
5k
views
How to serve multiple connections with an ESP8266 and an Adruino?
I want to make a server using an ESP8266 (12e) and an Arduino Nano.
I have got everything hooked and I created a minimal "Hello World" example, based on a number of samples found on the web, which is ...
2
votes
3
answers
2k
views
Ethernet shield/WebServer problem: 'server is at 0.0.0.0'. Any suggestions how to debug it?
Ethernet shield problem. When running the WebServer example sketch, the Serial Monitor shows that server is at 0.0.0.0. Any suggestions how to debug it?
0
votes
2
answers
1k
views
Cannot directly connect Arduino Ethernet to PC
I have been following various tutorials (especially: this) to connect an Arduino Ethernet board to my Ubuntu PC via Ethernet directly.
The IP address of the computer was found to be 10.100.31.128, ...
-1
votes
1
answer
2k
views
How to import data from SDcard on Arduino to the computer using Arduino serial/COM port?
I have Arduino UNO with Adaruit wifi shield. I store some data on the sd card successfully and now I need to import that data on to the computer.
I am sending some token, say "1", to the UART port of ...
-2
votes
4
answers
5k
views
ESP8266 sends webpage to client, but html codes appears in browser instead of webpage?
I am using ESP8266 with Arduino MEGA. ESP8266 is powered 3.3v via voltage divider, which is taking 5v from arduino and converting it down to 3.3v with the help of 5K and 10K resistors. AT commands ...
2
votes
2
answers
2k
views
Is it possible to use AWS and Arduino Uno to upload data from Arduino to a website running on my localhost?
I was wondering if it's possible to send data from my Arduino Uno (e.g. from the temperature sensor) to the Amazon Web Service RDS or anything there, which will then upload the data to a website on my ...
1
vote
5
answers
4k
views
Create own apache web server on Arduino Uno... just like you can on a raspberry pi?
I was wondering if I could create my own apache web server on my Arduino Uno, just like I did on my raspberry pi - https://www.raspberrypi.org/documentation/remote-access/web-server/apache.md
Anyone ...
0
votes
4
answers
649
views
Using ESP8266 core for Arduino
I am working on a wireless sensor network project, in which data is collected at a central node using nRF24 modules and the RFNetwork.h library.
I want to post that to the internet using the famous ...
4
votes
0
answers
2k
views
Sending data from Arduino UNO as a SOAP request [closed]
I have a servo motor on one end which can be turned ON and OFF with web service sending SOAP request. In the other end I have my Arduino UNO with ESP8266. Currently, I am able to send HIGH or LOW ...
0
votes
3
answers
5k
views
Posting Arduino data via ethernet to PHP server problems
I am currently having difficulties sending data from an Arduino using an ethernet shield to a PHP database in MySQL. My problem is that it appears that the server is receiving the data as there is a ...
0
votes
3
answers
5k
views
Send commands to Arduino from the WEB
I need to send Arduino some instructions from the web. Basically I would have a web app with a few buttons, and when I press them they send an instruction to Arduino to move for example a motor or ...