Questions tagged [web-server]
A web-server is a system which delivers data such as web-pages to a client system.
231
questions
0
votes
1answer
699 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
432 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
3k 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
7k 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& ...
1
vote
0answers
52 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
331 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&...
4
votes
0answers
2k views
Sending data from Arduino UNO as a SOAP request
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
1answer
741 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
4answers
631 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 ...
0
votes
1answer
3k 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 ...
0
votes
2answers
4k 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 ...
0
votes
1answer
676 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 ...
1
vote
0answers
700 views
Can you interface GSM, WiFi, and Bluetooth LE shield to Arduino?
I have a project that requires the following three shields and I was wondering if the Arduino has enough space to interface all of them at the same time. I am thinking of connecting each shield into a ...
0
votes
1answer
501 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 ...
7
votes
1answer
540 views
On Arduino Due webserver, there is a 5 second delay on Windows, only when connected via native port
My Due webserver was working perfectly fine for months when connected to Linux via the native port.
But when connected to Windows 10 via the native port, if the Arduino webserver is idle for about 5 ...
0
votes
1answer
698 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 ...
2
votes
1answer
728 views
Ethernet shield programming
This is first time programming with Ethernet shield . I want to test the web server application with my Arduino. I have an Arduino Uno, Ethernet shield, and a potentiometer. Below code being uploaded.
...
-3
votes
1answer
452 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
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 ...
2
votes
0answers
231 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 ...
0
votes
2answers
446 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
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, ...
0
votes
1answer
797 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? ...
-4
votes
1answer
957 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
2answers
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, ...
0
votes
1answer
93 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
2answers
6k views
Arduino WiFIWebSever - why client.println()?
I need to modify the WiFiWebServer example on the Arduino website but I am having some trouble understanding the code. I am hoping to get some advice from the community on the client-server ...
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
6k 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
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 ...
1
vote
2answers
3k views
Uploading Temperature data (DHT22) to Thingspeak with an ENC28J60
So, I've gotten my module working pretty well. It logs data from the DHT22 and sends it to a 192 address on my LAN. However, I'd like to log and graph the data.
I figured thingspeak is a decent ...
0
votes
1answer
249 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; ...
1
vote
0answers
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
1answer
4k 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
vote
1answer
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 ...
-1
votes
1answer
573 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
256 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
1answer
12k 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
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
2answers
560 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 ...
6
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
4k 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
1answer
4k 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 ...
1
vote
5answers
3k 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
5answers
5k views
A simple login page on Arduino Uno
I'm trying to setup home automation system controlled with webpage stored in SD card of Arduino, I was thinking if it was possible to set a login page, only combination of correct user id & ...
0
votes
3answers
4k 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 ...
-1
votes
2answers
1k views
Arduino Yun - Problem with bridge and client
I'm using this simple code
#include <Bridge.h>
#include <YunServer.h>
#include <YunClient.h>
YunServer server;
void setup() {
Serial.begin(9600);
Bridge.begin();
server....
3
votes
1answer
1k views
Bluetooth Master and Slave to track device's locations
I'm trying to create an app for my science fair that uses bluetooth to track people in a determined place.
I was thinking about one Arduino system to receive all the information and transmit through a ...
0
votes
1answer
1k views
SMS in modem's memory
I am working on SMS communication with my phone and Arduino. My intension is simple. When somebody send an SMS, the Arduino should read a text file located on my server and forward the content to the ...
3
votes
1answer
3k views
How to read a Text file from server and store to a separate variable?
I am working on reading a text file from the server, using http://arduino.cc/en/Reference/GSMClientConnected. It gives me this code:
char path[]="/asciilogo.txt"
I want to store only the contents ...