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
1
vote
0answers
523 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
820 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
11k 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
514 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
67 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
553 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
218 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
673 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
505 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
477 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
5k 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
912 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
509 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
528 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
687 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 ...
1
vote
1answer
864 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 ...
-1
votes
1answer
531 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, ...
-1
votes
1answer
215 views

How Server request happens?

Can somebody explain the below code, like how the server understands, how the request goes to the server from the below code. if (client.connect(server, port)) { client.print("GET /abc.txt"); ...
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
2k 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 ...
3
votes
2answers
16k 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
3answers
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
2answers
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 ...
-2
votes
1answer
908 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 ...
2
votes
1answer
627 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
2answers
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 ...
46
votes
11answers
7k 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 ...