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
2k views

Taking String Input from NodeMCU Webpage and Printing it on Serial Monitor

I've started working with NodeMCU recently. I've very little knowledge about this device and how a website works. I'm trying to take a long string input from a website hosted by NodeMCU, store it on a ...
0
votes
1answer
323 views

How to connect ESP8266-01 (AT-commands) to its web server using AJAX

I am just new on using AJAX in web server, I got an error on declaring "server" I am confused about this because I just used only a AT commands to used the ESP8266-01 (wifi-module) I hope you can help ...
0
votes
1answer
397 views

Fetching txt file's contents from a webhost using esp8266 [closed]

I am trying to access a txt file in my website and fetch its contents that is hosted by 000webhost. I used this code: void sendGET() //client function to send/receive GET request data. { WiFiClient ...
0
votes
1answer
569 views

ESP8266WebServer how to parse Json payload in post request that is bigger than the ram

I need to post a big json to the nodemcu server which would be bigger than the ram's size I am using esp8266werserver and arduinojson libraries. I know how to use arduinojson to parse huge json ...
0
votes
1answer
831 views

Problem with html code in ESP8266 WebServer

Here I have a small problem: I have an ESP8266, to which I have connected a matrix of LEDs to move text (the array of LEDs is made with the tape of LEDs addressable ws2812); when you turn on the ...
0
votes
2answers
1k views

Creating a Web Interface for ESP32 [closed]

I am working on a project that involves moving various servos and lights and I need a good UI to work with the device. I've previously used Blynk, which worked very well but I didn't like some of the ...
0
votes
1answer
5k views

Creating a webserver on a Wemos D1 mini pro

I am trying to put a web server on my Wemos D1 mini pro. I am using this example for the Arduino code: https://github.com/wemos/Arduino_D1/blob/master/doc/esp8266wifi/server-examples.rst #include &...
0
votes
1answer
522 views

Sending dynamic data to webserver

I am trying to send data to a php file via http GET method. I am able to send static data but I am unable to send dynamic data. #include <SoftwareSerial.h> SoftwareSerial gprsSerial(9, 10); ...
0
votes
1answer
2k views

ESP8266 - Webserver not working in loop

I have simple example, where in loop is called webServer to handle clients and also text drawing on display. The thing is that webServer is not responding, but when I remove second part of loop - ...
0
votes
1answer
3k views

Connect Arduino to Socket IO Webserver via Esp8266

As part of a project I want to receive data on my arduino uno via a sensor, which is working fine. This data should be sent to a webserver where a node js with socket io is running. Therefore i bought ...
0
votes
1answer
653 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 > ...
0
votes
1answer
609 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 ...
0
votes
1answer
712 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
1answer
2k views

ESP8266 cannot read POST parameters

I'm working on a simple REST server. I made method to handle http://<esp8266_IP>/test. The GET method works like a charm and I got the response. Then I tried to send a POST with a JSON data (I ...
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
440 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, ...
0
votes
1answer
780 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
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
1answer
223 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; ...
0
votes
2answers
547 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 ...
0
votes
1answer
263 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. ...
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
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
4answers
630 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
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
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 ...
0
votes
1answer
696 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'...
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 ...
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 ...
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 ...
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 ...
0
votes
0answers
25 views

TCP client readStringUntil only when data exists

I have the attached script that reads data from a socket server (it is PHP at the server end). My problem (I think) is that the readStringUntil() needs a test above it, so that it "reads up to \r&...
0
votes
1answer
20 views

How to Set RTC in ES32 using NTP server?

I am working on ESP32 And want to set RTC from the NTP server. How can I get epoch value I have done this thing on CC3200 launchpad and used an NTP server library to obtain epoch value.
0
votes
1answer
32 views

Latency in Websocket

I am using Websocket, for a communication from my mobile phone to a NodeMCU, and transmitting 4 channel, data, through 4 different Websocket Ports. the NodeMCU control code is here: // ============ By ...
0
votes
1answer
38 views

3 input (on/off/off with delay) to control 1device using ESP8266 as Web Server

I want to control one device in three ways : turn on / turn off / turn off with delay. To do that i use an ESP8266 web server + android phone app. The problem is that turn off with delay wont work. It ...
0
votes
0answers
36 views

how to set up an ESP8266 as a webserver

I would like to set up an esp8266, connected arduino as a webserver, specifically, one that has its own IP, and is stand alone, not connected to other networks, and offers its sensor info as the ...
0
votes
1answer
23 views

ESP32 Cannot assign value to string. Getting wrong value

Hello I have problems with strings in my sketch. I assingn values to my string (for example tempStrReturn) in the functions setNr1, setNr2. If i pass the value 1 to the function i get "" or "...
0
votes
0answers
37 views

File Upload and sending Form data to the ESP using HTTP POST

i want to upload a file from my pc to the esp2966 webserver with sd card. all works fine. But i want to transmit some extra data from a input form field. The Upload works good. in the browser ...
0
votes
0answers
19 views

Why does server.streamFile download does not work with SD.h? [duplicate]

This is only a little test code so i can focus on the problem. At first a file is written on sd card with the timestamp given in the variables. This works fine. At SD_file_download() i open a File ...
0
votes
1answer
29 views

How to connect multiple NodeMCUs and 1 PC over wifi and have PC control NodeMCUs? [duplicate]

I am trying to design a laser tag system using multiple NodeMCUs in the guns. I am trying to figure out how to connect and control them over WiFi. I also need a computer connected that will control ...
0
votes
1answer
54 views

Sending Variable to IFTTT via ESP32 using Asynchronous Web Server

I have been trying to send three variables to IFTTT from my ESP32 using Asynchronous Web Server. However, I couldn't set the "URL" that was supposed to be the response that will trigger my IFTTT. Here'...
0
votes
0answers
41 views

Parsing Data from local websever

i´m trying to build a little monitor of an ESP8266 and an OLED display that displayes the Status of a Robotarm. The robotarm is controled by a RAMPSboard that has a webserver, so i can check the ...
0
votes
0answers
39 views

Uploading file via AJAX fails on ESP8266

I have an interesting issue. I have created a copy of the web-server OTA updater library that is designed to print the progress of the update. I cannot of course show the progress while it's rebooting ...
0
votes
1answer
67 views

How to display CAN BUS information on EPS32 web server?

I try to display the transmitted information from CAN bus on ESP32 web server. I saved the CAN.read() in a buffer receivedChars[i] and try to display the data by client.println(receivedChars[i]);}. ...
0
votes
0answers
170 views

Controled in the led by Arduino UNO to Firebase through ESP8266-01+ MIT App Inventor

exchange community , help me community :( I want to control led by MIT App Inventor with used Arduino UNO to Firebase through ESP8266-01 Notes : 1-The led connected pin 11 on Arduino-Uno 2-The ...
0
votes
0answers
53 views

How to get the body of an HTTP request?

I want to read a binary body datas from an HTTP POST request. The context is that I'm making a LED strip controller and I'm currently using this code : #include <WebServer.h> #include <...
0
votes
0answers
44 views

Send data to lcd and server via esp8266

The code below, as it stands, works correctly. It connects to a local server (so Token and everything else is no problem sharing) and transmits the data via post. However, when I uncomment the lines ...
0
votes
0answers
135 views

Arduino uno wifi rev2 get status code from server data

I'm having trouble figuring out how I can extract data from my server call. I am trying to check whether the code that was entered in a boxlock matches the code stored in our database. If the code ...
0
votes
0answers
118 views

Arduino uno wifi rev2 get json data from api

I'm not so familiar with Arduino UNO wifi rev2. I bought it for a project that I am working on. In general, I have a box that you can open with a code. The Arduino should make a call to the API and ...