Questions tagged [web-server]

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

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
837 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 ...
-1
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 ...
1
vote
2answers
860 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
622 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
4k 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
434 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
596 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
504 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
814 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 ...
5
votes
2answers
931 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
3k 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
476 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 ...
1
vote
1answer
47 views

Is there any way to separate this short code into its own function? (webserver, trying to use client.print outside of main loop)

I have an arduino webserver that uses the following code: client.println(F("HTTP/1.1 200 OK")); client.println(F("Content-Type: text/html")); client.println(); client.println(F("<HTML><HEAD&...
1
vote
0answers
486 views

Make a GET Request GPRS

I'm building a weather station that sends the data to a webserver via GET request. I was wondering if you guys can look into my code and help me. I looked all over the internet and can't find what'...
1
vote
1answer
794 views

Arduino web server: redirect to mobile site on SD card?

Is there any way to have an Arduino web server redirect the client to a file on the SD card only if the client is using a mobile browser? (My arduino server is already successfully serving pages on ...
3
votes
1answer
10k views

Arduino webserver: faster alternative to “indexof” for parsing GET requests?

I have a webserver successfully running on an Arduino Mega, but I'm trying to make sure it's parsing the GET requests in the fastest way possible. This is what the relevant code for the GET requests ...
-1
votes
1answer
486 views

Encrypting data for webserver

I'd like to send sensor values over ethernet shield to a webserver. But for this I'd like to encrypt the data on the arduino and decrypt it on the webserver (PHP). Do you have any suggestions or ...
1
vote
0answers
66 views

How to make the Yun allow access to a resource

I have replaced /www folder on the Yun (backing it up first), how do I make it so the Yun will redirect to the new index.html? It, right now, gives Access to this resource is forbidden when I go to ...
1
vote
1answer
550 views

Got Trouble with ESP8266 and Arduino Yun using REST control

Sorry about my English. I'm a new bie in program Arduino and interested in ESP8266. I'm trying to use ESP8266 control Arduino Yun using REST API. Like you know, we using web browser as http://<...
1
vote
0answers
214 views

Yun - FileSystem.Open prevents client.println from outputting to web page

The below code is meant to display lines stored in a text file to an arduino based web page (it's a IR gate monitoring solution). When I visit I can execute client.println("hello") and I see the ...
0
votes
1answer
658 views

Control external device using Java Web Servlet -> Pi -> Arduino -> Device

I'm new to the world of Arduino & PI, so far it's been a fantastic experience but I'm now looking to build something a bit more practical. My plan is for the PI to host a JSP Servlet website. I'...
2
votes
0answers
4k views

Arduino Ethernet shield server and client at the same time

Hardware: Arduino Mega 2560 Rev3 Ethernet Shield Rev3 A sensor Goal: Take value from sensor, upload it to ThingSpeak. Host a web page on the Arduino. Question: I've done both things in the past. ...
1
vote
0answers
487 views

How to use console.log message from nodejs server, to control led pin 13?

I want to use Arduino Yun as a client, that connects to my nodejs server, receives a message from nodejs and then change led pin 13 on/off according to the message send. I have this example of a ...
0
votes
1answer
1k views

Arduino YUN server crashes after few hours!

I have made a simple server using the YUN SERVER and CLIENT Libraries./ The server runs on a loop and waits for a client to connect. After connection it sends the client a simple message and then ...
1
vote
5answers
467 views

Web Server Options

I want to give my project a simple web GUI to change config options. I know I could get a shield and write some horrible HTML in C but I'm wondering if there is a better way. Is there another IC I ...
0
votes
2answers
4k 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 ...
-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....
1
vote
3answers
887 views

arduino webserver serves single web page to WAN/Internet very very slowly

I have an arduino web server running from a mega 2560 and a wiznet ethernet shield. It serves the single page just fine (and very fast) to the LAN (192.168.1.50), but serves the same page very, very, ...
1
vote
1answer
3k views

Arduino Ethernet and Uno R3 as a firewall

Is there a way to program the Ethernet Shield and Uno R3 to act as a firewall without using a huge chunk of the allowed bytes on the R3? I plan on using a DC adapter to plug the R3 into a wall, and ...
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 ...
1
vote
2answers
498 views

Using a web server with Arduino

So I am not new to arduino, however, I am new with web servers. I am working on a project that can control a robotic arm that is at one location and I can be at my house. I know basic HTML, Basic CSS, ...
1
vote
0answers
523 views

Arduino GSM Shield web server hangs

I use official Arduino GSM Shield with Uno R3. I uploaded web server examples from official GSM library. I use a simple python script to make TCP/IP connections to my GSM Shield web server. I send ...
1
vote
0answers
674 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
5k views

Webserver with Arduino Yun without SD

I'm trying to set up a simple web-server with Arduino Yun without an SD card, i.e via REST, if I understood it right (I'm new to some of these stuff). I want to be able to "get" data (sent by Arduino) ...
0
votes
2answers
3k views

Arduino Yun Webpage Server Issues

So, I've made a sketch on my Yun, which I would like to be able to take information from a webpage (like a button) and have the Arduino Microcontroller perform functions based on what button is being ...
2
votes
1answer
2k views

Wifi server to control led on and off from local webpage.. - ..if statement doesnt work…

Im a newbie on this arduino thing and I would like to build a curtain remotecontrolled from a local webpage with 2 buttons... a up an a down... I got the connection via my phone the the local page ...
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
2k views

Arduino Yun and REST call security

I'm not expert about web development but very excited of doing some rest call using the yun as server (with a minimal python or node.js server inside the openwrt machine in the yun) and expose sensors ...