Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
0
votes
1answer
701 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
617 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
618 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
85 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
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
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
197 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
15k 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
43 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
votes
1answer
432 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
244 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
823 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
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
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
839 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
509 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
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
1answer
262 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
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
3k 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
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 ...
2
votes
3answers
1k 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
2answers
897 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
1k 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
4answers
4k 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
2answers
973 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
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
4answers
624 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 ...
2
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
3answers
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
3answers
3k 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
vote
2answers
3k views

Simple webpage serve with Arduino ethernet shield on SD card

I have been experiment with the arduino uno board from few days but can't seem to make it serve web page stored in SD card of ethernet shield. If I print the contents of the file to serial it works ...
0
votes
5answers
4k 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 & ...
3
votes
2answers
437 views

Design Dilema — What hardware?

I'm trying to build a smart thermostat for a particular application. I have the following design criteria and goals for the system: Must be able to set up and monitor the device from either a mobile ...
1
vote
1answer
645 views

TCP or HTTP connection between web server and arduino

If arduino works as a client and tries to connect to web server (the server is mine), should I connect to it via TCP or HTTP connection? Data will be simple strings (20 chars at max) so TCP connection ...
7
votes
1answer
515 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
2answers
65 views

Connect Digital monitor to Arduino?

I need a small display with ~ 5 digits. The display needs to show number of visits to my site in real-time. (Every time someone visits it needs to increase by one). I thought to create an app, that ...
-1
votes
1answer
861 views

Any way to pass EthernetClient to function outside of loop automatically?

I have an Arduino webserver that displays many buttons over a webpage (73 at the moment) that toggle different switches. I shortened up the button-drawing code with this function: void displayButton(...
0
votes
0answers
104 views

Arduino Processing client fails to upload file to PHP server

Background I want pressure sensors (they are working) to trigger the built-in camera and take a picture when cat goes to bed, upload the pic and email me so I can go check out the real-time image on ...
4
votes
2answers
973 views

How can an Arduino Mega 2560+Wifi Shield 2.0 (SeeedStudio) receive data from database in a XAMPP server on my PC?

I'm trying to connect my Arduino Mega via Wifi to my XAMPP server. My main objective is get a value from my database and store it on a variable in Arduino code. With this new variable I'll be able to ...
0
votes
1answer
1k views

Getting values from multiple thermistors - one value glitches all over the place

I have a circuit with preferably long wires that get data from thermistors. The Arduino sends this data (formatted in JSON) to a web server where it can be collected by another program. Some of these ...
0
votes
0answers
4k views

ESP8266 problem as Web server

I asked a previous question about esp8266 that made a lot of things clear for me that esp8266 is very powerful and can be independently used as the webserver now, I have used the following library(...
0
votes
1answer
2k views

NODEMCU vs AT for esp8266

I have recently started working on esp8266 wifi module and arduino uno. I am a little confused. I have created a small Web page with esp8266 AT commands. Now I want use it for receiving data such as ...
0
votes
1answer
510 views

Is it possible to accept multiple web requests at once?

I have an Arduino with ethernet shield and there are 8 different URLs that can be called to perform different actions. The program loads and runs as expected for the most part, but, if it is busy ...
1
vote
2answers
2k views

Sending A String from a Website to Arduino

I'm quite new to Arduino and have looked at many tutorials featuring an Arduino requesting data from a web server through a Wifi Shield, but haven't seen one featuring the sending of data from a ...