Questions tagged [web-server]
A web-server is a system which delivers data such as web-pages to a client system.
253 questions
0
votes
1
answer
85
views
How to receive data from an Rasberry Pi on ESP32-Cam?
My use case is an ESP32-cam that serves two purposes:
HTTP feed (accessed by a Raspberry Pi 5 which processes stream and provides a response)
Servo Motor microcontroller: Receives response from ...
1
vote
1
answer
290
views
Is there a way to enable HTTPS directly on an Arduino UNO R4 Wi-Fi?
I am working on a project where I have set up an Arduino UNO R4 Wi-Fi as a web server. However, I would like to secure the communication by using HTTPS instead of HTTP for accessing the Arduino web ...
1
vote
0
answers
82
views
Esp8266 WebServer crashes when I use PracticalCrypto library! why?
So here is my code, Its the simple_server example from ESPAsyncWebServer.h and encryption example from PracticalCrypto.h combined.
the webserver works fine and I can see the / page, but the moment I ...
-1
votes
1
answer
2k
views
Using ESP32CAM board but no face is enrolled
I was working on a project to use the ESP32CAM board to detect faces and open some sort of lock. The program can detect the face using the yellow box that shows up as you can see from the following ...
1
vote
1
answer
39
views
Problem with reading MIFARE 13.5Mhz with MFRC522 lib
I'm trying to read the UID of MIFARE 13.5Mhz cards with MFRC522 lib and I have defined the following function for it.
void getUID() {
if (mfrc522.PICC_IsNewCardPresent() && mfrc522....
0
votes
1
answer
207
views
ERROR: return reinterpret_cast<T>(pgm_read_ptr(p));
I need to update DHT sensor data to the webserver in JSON format using ESP8266. This is my code.
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#...
1
vote
0
answers
60
views
Why is this buffer not being sent to the server?
I'm loading a buffer with different data recorded by sensors and sending them to a server. But I also wanted to log when the data was sent on the client side, so I formatted the time of my RTC clock ...
0
votes
0
answers
168
views
Communication between two ESP32s using WiFi
I have two ESP32s. One is acting as webserver and the other is acting as a client that will send a GET request to the server ESP32. Both of the ESP32s are connected to the same WiFi AP.
For sending ...
0
votes
2
answers
991
views
ESP32 AsyncWebServer with softAP does not serve pages
I'm trying to create a AsyncWebServer after enabling the SoftAP:
#include <Arduino.h>
#include <SPIFFS.h>
#include <WiFi.h>
#include <WiFiAP.h>
#include <AsyncTCP.h>
#...
-1
votes
1
answer
1k
views
Use of ESPAsyncWebServer.h with ArduinoJson version 6 for Master-Client transactions
I want to communicate two (2) ESP32's via Json commands using ESPAsyncWeb.h. The master should have specific operations to execute and respond to the client, and the client should be able to send ...
1
vote
3
answers
12k
views
Why is the server.on() function from "ESPAsyncWebServer.h" executed in the setup() side and not on the loop() side?
I'm implementing an example in which 2 ESP32's communicate each other using the HTTP Protocol. One acts as Server the other as Client. In the examples provided, I am curious about the declaration on ...
1
vote
0
answers
1k
views
ESP8266 ESPAsyncWebServer LittleFS crashes
I am trying to write a simple web page to be served from my ESP8266 based on this tutorial: https://www.mischianti.org/2020/10/26/web-server-with-esp8266-and-esp32-byte-array-gzipped-pages-and-spiffs-...
2
votes
1
answer
3k
views
ESP32 Access Point and HTTP Web Server, how to send multiple parameters?
I made this minimal example in order to figure out how to get requests (or whatever they are called) to display in the serial monitor. However, none of the query parameters (in the URL) can be seen in ...
2
votes
5
answers
3k
views
How to make better looking webpages on an Arduino webserver?
I have a Teensy 4.1 with ethernet, but I have other networked MCUs like a D1 mini, various ESP8266s and Arduino ethernet shields.
My question is: how I can make better looking web pages on these ...
3
votes
1
answer
8k
views
ESP32 AP Automatic Web Page
I've often encountered WiFi networks that require you to sign in through a web page that automatically opens after connecting to the access point, such as hotels. I'd like to implement something ...
3
votes
0
answers
2k
views
ESP8266 Webserver does not respond
I am trying to reach the webserver running in my Wemos D1 Mini compatible board.
I am trying one esp8266 example using Arduino examples "WifiManualServer" code below.
I have replaced the SSI ...
1
vote
0
answers
97
views
Sending data to server
I have an SD card have a very big file (1M character). i try to load it into memory in terms of 4K character array ( The maximum I could do using Arduino Mega). but this take almost 250 call to the ...
1
vote
1
answer
370
views
Ethernet Shield not connecting
I've mounted an Ethernet Shield on top of an Arduino UNO. The Arduino is connected via usb to my pc and to the network via ethernet through a switch.
I'm running a simplified verison of the WebServer ...
2
votes
1
answer
4k
views
How to avoid MQTT reconnect Loop
I have the following code designed to allow me to control my device from my website using mqtt broker while internet is available. I also built in a local webserver to control the device in case of ...
2
votes
1
answer
1k
views
How do I get an HTTP_POST response?
I have a function for HTTP_POST responses but it is never called when I post to it. I get the webpage instead.
I call on it with
server.on("/",HTTP_POST,response);
But I only get the url in ...
0
votes
1
answer
1k
views
HTTP_GET not clarified in scope
I'm trying to do an async webserver with access point using an ESP32.
It's a little bit of a mix between This tutorial for AP and async and this tutorial since it's also with an async webserver and it ...
0
votes
0
answers
369
views
Help with ESP32-CAM "AI THINKER" module
I'm trying to make a RC car (with a surveillance camera if possible, using the web-cam code that comes with the ESP library) using a ESP-32 CAM as a wifi module to control the car using my computer. ...
1
vote
0
answers
1k
views
incompatible types in assignment of 'const String' to 'char [32] using server.arg
I am trying to create a class and getting getting the error
incompatible types in assignment of 'const String' to 'char [32]
when I declare
char inString[32];
and try to set it as
inString = server....
0
votes
1
answer
51
views
How do I make two (or more) pins available on my server url?
I have a webserver configured on my esp8266 with is set to fire off electrical relay0 on my 8 port relay board.
The device initializes relay0 perfectly and without errors.
But when I configure the ...
0
votes
1
answer
510
views
Is there a way to send a String via a Webserver Textbox without the use of the SD card?
Since my last post, I've been trying to do some extra things with my Stranger Things Wall Project.
I connected a LCD Screen (16x2) that will take any text being processed to the wall and show what is ...