Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. 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
29 views

Control DC Motor with Arduino Uno WiFi Rev2 Html Slider Code

I would like to control my dc motor using the Arduino Uno WiFi Rev2 using an html range slider. Now I can control the motors speed and direction using push buttons just fine. My code is posted below ...
0
votes
0answers
28 views

ESP8266 webserver reboots from form generation [closed]

I have an ESP8266 with the latest http server code. https://tttapa.github.io/ESP8266/Chap10%20-%20Simple%20Web%20Server.html What I try to do is to generate a fairly large http response string with ...
-1
votes
1answer
27 views

how to convert date to timestamp? [duplicate]

How should I convert date format(dd-mm-yyyy) to timestamp value . Can anyone suggest code how to convert and where to put code .
-1
votes
1answer
41 views

How do I send Sensor Data from one Arduino to another Arduino that is a Webserver to post it?

I have been looking for over 2 hours now and just cant get it figured out. Im very confused as to how to do this. The solution I thought I found was to use HTTP POST. But I just cant get it to work. ...
0
votes
0answers
34 views

How to implement server.on() without any libraries?

I was trying to setup a web server with Arduino and ESP32, without using the ESP32 libraries. Currently I'm able to display a webpage(a form with single submit button) from the server, with only using ...
0
votes
0answers
25 views

Delayed response from web server

I am trying to implement a web server in ESP8266 that will handle simple HTTP GET requests by initiating an operation (e.g. move a stepper motor to the requested position) and return a response when ...
0
votes
0answers
18 views

Nodemcu POST Response “-1”

Nodemcu device is returning HTTP response -1 for a POST request on django rest api. I tried the below http request to Postman, and it works perfectly fine. http://localhost:8000/api/datalogs/?plant=...
0
votes
0answers
152 views

WebSocketsServer.h: No such file or directory

I'm trying use the NodeMCU WebSocket. I downloaded the required libraries from: https://github.com/Links2004/arduinoWebSockets and pasted them in my Arduino libraries folder. I uploaded my code but ...
0
votes
0answers
26 views

Send Arduino data to PHP inorder to upload in MySQL database

I'm trying to send arduino data to my online web server using a Arduino Uno and a Ethernet shield. I used POST method for sending data and tried sending data to my sever (add.php) using a online POST ...
0
votes
1answer
53 views

Multiple WiFi client/server connections

I'm implementing a WiFi HTML web server using the WiFiNINA library, an Adafruit Airlift ESP32 coprocessor, and a Teensy 3.5. It's starting to work, but I have a couple of questions. This simplified ...
0
votes
0answers
49 views

Creating global webserver without port forwarding

I'm setting up a "Smart House" project with Arduino+Esp01F(Serial Communication). But I want to make it global server. For it I use WiFiEsp library. But for it I must Get any port (neither 80 nor 443),...
0
votes
0answers
185 views

Using ESP32-CAM (with ov2640 camera image sensor) to send image via USB

I was trying to obtain image from ESP32-CAM (with ov2640 camera image sensor). I obtained the image through camera web server by connecting the ESP32-CAM and PC to same wifi network. A USB to TTL ...
1
vote
1answer
108 views

Error Compiling sketch for Arduino Uno(ld return 1)

I have got an telnet server with esp8266 + SoftwareSerial+ UNO, and here I want to on led with command ON . will be 1 or 2. It is for recive 1 or 2 numbered pins. And I extract pin from request with ...
0
votes
0answers
26 views

wemos ESP8266 fastled webmaster slave copies the master

I have been searching for a solution and attempting to make a solution where that a wemos running an existing project consisting of using a web server to control ws2812b lights, the basic code allows ...
0
votes
0answers
31 views

Why sometimes parsed data is null in WiFiEsp?

I'm setting up web server with args. As host.com/?pin=9. I parsed the response by indexOf and substring functions. In first connection response has been successfully parsed and number has been parsed ...
0
votes
0answers
30 views

Creating WebServer with 5000 port with AT command(ESP-01f)

I'm setting webserver with toggle led. I want to create global webserver. I`m mean hat use server with global ip. For it I must use port too. global ip/local ip:port. I want to create on 5000 port. I'...
0
votes
1answer
50 views

How do I properly use the WiFi capabilities of ESP8266?

I am creating a project with an ESP8266 (Arduino IDE) which requires it to serve a webpage to a client. The module will be connected to a WiFi network by default, but when that WiFi network is not ...
0
votes
0answers
45 views

ESP32 OTAWebUpdater only works on mobile

I'm experiencing something strange. I opened the default ESP32 example "OTAWebUpdater" in the ArduinoIDE and modified just the network part (I created a soft AP instead). The problem is, when I ...
0
votes
0answers
19 views

WiFiServer Stops After Reconnection to WiFi

In the following code, the Arduino is reconnecting to the WiFi after several loops. The idea is to check and re-establish WiFi connection every 30 minutes or so. However, the WiFiServer seems to ...
0
votes
1answer
105 views

Create one server in AP mode and another in station mode

I'm trying to connect one ESP8266 to WiFi as a WebServer in station mode and to another ESP8266 as a server (that has no web pages) in AP mode. The problem is both servers are being created in AP ...
0
votes
0answers
24 views

connected collar with GPS, temperature and heart rate sensors + microphone

I am taking part in a project as part of a challenge and I'm in charge of the embedded systems part, this is my first time working on a project of this scale. I am looking for a way to wirelessly send ...
0
votes
0answers
32 views

Connect Arduino and ESP8266 NodeMCU

I want to connect multiple sensors and see their measurements via ESP8266 Web Server. But, the problem is that ESP8266 has only one analog pin and I can't connect multiple sensors to it, so i need to ...
0
votes
1answer
37 views

why arduino can not write to server?

i write a code for Arduino + SIM800 for connecting to server. but it don't work! SerialGsm.println("AT+CIPSEND=63\r\n"); delay( 1000 ); receive_message(); SerialGsm.print( "GET http://sasasas.ir.ir/...
0
votes
1answer
42 views

Sim800L Uploading issues, HTTPACTION returns 0, 302, 701

I'm using the Sim800L module and the NEO6M GPS Module in combination with an Arduino nano to create a simple tracking device. I get the data from the GPS and try to upload it to my site with some ...
1
vote
2answers
132 views

ESP8266 Webserver not reachable after 2 minutes from reset

I have a Keyes Espressif ESP8266 NodeMCU, I have two LEDs that I want to control which are connected to the ESP. When I open the webpage http://10.0.0.5/5 after uploading the sketch it works fine. If ...
0
votes
1answer
24 views

Change css form color from esp32 if statement

I am fairly new to arduino and ESP though am very familiar with css and javascript. I have an esp webserver that includes a button client.print("<button style='background-color: #F30C0C; color:#...
1
vote
1answer
38 views

Webpage values wont update

I've been trying to run the following esp32 LED PWM code to change the LED's brightness, and show the current PWM duty on the webpage, but the PWM values on the webpage won't change until I hit the ...
0
votes
0answers
38 views

Creating WebServer ip:port on esp8266 module

I creating Clever House with wifi. For this I'm using ESP8266 as module connected to Arduino. They communicate with SoftwareSerial. And there's a problem with global webserver on ESP8266. That I think ...
1
vote
1answer
58 views

How to handle a ESP8266 webserver only to the access point?

I'm developing a application that needs to be somewhat secure, so to configure the parameters it handles a GPIO interrupt (from a button) to open a server, that lets you configure it. The problem is ...
0
votes
0answers
62 views

ESP8266 webserver does not return latest HTTP response

I tried getting a HTTP response from an ESP8266 which is in HTTP server mode, I am getting a response but not the latest one, response is always one command previous to that of my request to the ESP. ...
1
vote
1answer
84 views

Mega <> esp8266 comms sending baffling data

I have Wemos Mega-ESP8266 board. I have uploaded a simple WebSocket server on the ESP... #include <ESP8266WiFi.h> #include <WebSocketsServer.h> const char* ssid = "SKYNET"; const ...
1
vote
1answer
27 views

HTTP myphp request error RFID

This program is a program which readings of rfid are saved to myphp database. I have a problem when running the code The wifi is connected but when the code doesn't save im assuming that the problem ...
0
votes
1answer
249 views

Esp8266 not responding to GET request from Android app created using MIT App Inventor

I hope I am posting this question in the right section. I am making a Smart Home Project for my college semester finals. I am using an Atmega328p microcontroller along with an ESP8266 (Esp 01). The ...
0
votes
2answers
179 views

ESP12E Soft WDT reset stack trace leads to libraries

Im using ESP12E DevKit v2 (esp8266 wifi module) board for controlling relays and displaying DHT22 temp,humidity on web server. It runs smoothly when the web client is closed but when i leave the ...
1
vote
0answers
240 views

Arduino HTTP post image to external server

I'm trying to send an image from SPIFFS to my external server. When pictures are taken, they are saved into "/pics/" directory within SPIFFS. Ultimately, I'd like to post all the images saved onto "/...
0
votes
0answers
31 views

Setting up WiFi on NodeMCU with wrong password drops ESP8266WebServer connection [duplicate]

I am trying to build a simple demo with NodeMCU module: NodeMCU opens AP and sets up web server Client connects to this AP, sends payload to web server to setup WiFI on the module and receives ...
1
vote
0answers
196 views

Cant get rid of Soft WDT reset using ESP8266

Im using ESP12E DevKit v2 (esp8266 wifi module) board for controlling relays and displaying DHT22 temp,humidity on web server. It runs smoothly but after while i always get a watchdog timer reset. (If ...
0
votes
0answers
93 views

Webserver on Arduino Mega with Ethernet Shield

I am working with an official Arduino Mega. I have mounted an officiel Ethernet Shield rev 2. Everything works great, i have wrote a very basic webserver. I wanted to host a bootstrap css file on my ...
0
votes
2answers
57 views

Arduino security

My question is how secure can I make an Arduino? The project I am working on would put the Arduino out in the public (school campus inside a trash can to sense how much trash is in it) and I want to ...
0
votes
2answers
292 views

My ESP8266 web server is only displaying text, even after ensuring content type is text/HTML

So I just got my two ESP8266/ESP-12E WiFi development boards in the mail as I am trying to set up a few home automation devices in my house. I've gotten much further than I thought I would today, ...
1
vote
0answers
31 views

Help with app controlled Arduino sensors [closed]

(I'm a beginner in using Arduino and MIT App Inventor) We have this project (an app-controlled aquaponics system) where our group decided to use an app to control the arduino sensors and then show ...
0
votes
1answer
459 views

Arduino IDE + ESP32 Webserver - how to redirect to root after click on button

I'm trying to use ESP32 + Arduino IDE to control a relay. I've started by using the library and the code below. The problem I'm having: after clicking on the button and activating the pin, if the ...
0
votes
1answer
125 views

Large(ish) strings failing to send over WiFi101 using WiFiServer

I've based a sketch off the vanilla WiFi101 server examples. If I define a const char array like this: const char HTML_index[] = "<html><head></head><body>test</body>&...
1
vote
3answers
106 views

How to assign text stored in a local file to a string at compile time

I'm developing a program that uses the HTML server in the WiFi101 library. My hardware does not have SD card storage so all source html needs to be stored as strings in the sketch at compile time. ...
-1
votes
1answer
188 views

Display Wireless Temperature Sensor data to Web page by using Serial communication

I am reading from wireless temperature sensor with help of gateway receiver connected to Arduino UNO, using this code I need to display the data of the wireless sensor on the webpage. Any ...
0
votes
0answers
59 views

Sensors are not function with ESP8266 WeMos-D1R2

I attached all sensor into the Wemos-D1 for uploading the sensor data to the server. but when I upload the data to the server, it connects to the server but cannot save the data into the database and ...
1
vote
0answers
393 views

HTTPS POST method fails in esp32

I was trying to connect with server but, I was unable to post the data. I have added the SSL key to connect with server that is happening but HTTPS POST is not. I tried the same method with http, I am ...
0
votes
1answer
880 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 ...
2
votes
2answers
1k views

How to allow cross-domain requests on ESP8266WebServer

I am using a Raspberry Pi running Chrome (handling the user interface) and connecting via ajax to an Arduino D1 compatible using the IP address as follows: $.ajax({ type: "GET", ...
0
votes
1answer
149 views

ESP8266-01 wdt reset after uploading code

I'm using code from here: ESP8266 example: Wi-Fi Access point, static IP, web-server and remote GPIO control. Everything running ok this morning, but now I don't know why wasn't working... This is ...