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
5k
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 ...
1
vote
5
answers
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 & ...
3
votes
2
answers
450
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
...
2
votes
1
answer
756
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
1
answer
589
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
2
answers
72
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 ...
0
votes
1
answer
1k
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(...
4
votes
2
answers
1k
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
1
answer
2k
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 ...
2
votes
0
answers
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
1
answer
3k
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
1
answer
752
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
2
answers
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
1
answer
56
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&...
2
votes
0
answers
571
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
1
answer
963
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
1
answer
13k
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
1
answer
576
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 ...
2
votes
0
answers
76
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
0
answers
237
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
1
answer
768
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'...
3
votes
0
answers
5k
views
Arduino Ethernet shield server and client at the same time [closed]
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. ...
2
votes
0
answers
572
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
1
answer
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
5
answers
578
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
2
answers
7k
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
2
answers
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
3
answers
1k
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, ...
2
votes
1
answer
4k
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
1
answer
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
2
answers
761
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, ...
2
votes
0
answers
542
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 ...
0
votes
1
answer
6k
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
2
answers
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
1
answer
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
1
answer
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
1
answer
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 ...
2
votes
1
answer
980
views
Unable to read text file from server
I saw the Web client Example , In the example, the server connection is initialized in setup(). But I want the server to update the text file every time. So, I need the server connection to be in ...
0
votes
1
answer
658
views
How to update a text file dynamically
I have Two Arduinos, One with the help of sensors it will dynamically updates in to my server database. Other Arduino, reads the stored contents from the server database and sends sms to phones.
Now, ...
0
votes
1
answer
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
1
answer
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 ...
5
votes
2
answers
20k
views
How to receive data from my server database to a variable in my Arduino?
I am learning to work with the client - server communication. I am able to communicate with my server and able to store values in the table. But I want to receive one of the specific data from the ...
1
vote
3
answers
4k
views
client.connect() fails except the first time
I am communicating with the Web server's database via Arduino GSM shield + GPRS connectivity
void loop()
{
if (client.connect(server, port))
{
.......
}
else
{
...
-1
votes
2
answers
2k
views
Arduino Mega & WiFi Shield; why web server every time says my A7 pin reads 0V?
I have got Arduino Mega 2560, Arduino WiFi Shield and resistor 1.5K.
Now PWM 2 is attached to the resistor then attached GND. 5V is attached between PWM2 and resistor's up point. I want to read the ...
-1
votes
1
answer
1k
views
Analog average sample wind speed sensor
I have wind speed sensor that can measure max speed upto 30 m/s with analog out put 0-5v. I have simple code calling from the loop. When I put the wind speed average code, the web server is not ...
3
votes
1
answer
784
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.
...
9
votes
2
answers
10k
views
How do I use Arduino and node.js?
I am new to Arduino, however I have experience in web development, lately I have been using, meteor js and the mean stack for different projects. However, I am open to trying any language for ...
49
votes
11
answers
13k
views
Is an Arduino capable of running 24/7?
I'm making a simple Arduino web server and I want to keep it turned on all the time. So it must endure to stay working continuously.
I'm using an Arduino Uno with a Ethernet Shield.
It's powered ...