We’re rewarding the question askers & reputations are being recalculated! Read more.

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
46 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 ...
1
vote
1answer
145 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
18 views

Extend Pyduino over wireless network

I followed a guide to control my arduino uno using a python web server API (flask), and it works like a charm using the COM port on my PC. I would like to extend this over the network with an ESP8266 ...
0
votes
1answer
13 views

command keeps echoing because web page tries refreshing

I want to execute a action only once when I press web page button but as the page tries refreshing the action gets executed in a loop. I am using the wifimanualwebserver example for esp8266. Please ...
0
votes
1answer
3k 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
0answers
11 views

connection to ESP using pyVisa

I'm building a small LXI device using a the OLIMEX ESP32 POE Board. Sending commands to the device using pyVisa works fine, but queries don't. Only the IDN? query works. From the ESP I get the ...
0
votes
1answer
26 views

Esp8266 + Atmega328p as flash

Being clear I'm not talking about How to flash ESP8266 using arduino. I want to ask how can I use atmega328p as flash with esp8266 (instead of that 8 pin small chip on ESP-01) so that I can burn ...
0
votes
1answer
51 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 ...
-2
votes
4answers
4k views

ESP8266 sends webpage to client, but html codes appears in browser instead of webpage?

I am using ESP8266 with Arduino MEGA. ESP8266 is powered 3.3v via voltage divider, which is taking 5v from arduino and converting it down to 3.3v with the help of 5K and 10K resistors. AT commands ...
4
votes
2answers
973 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 ...
-1
votes
1answer
29 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 .
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", ...
-1
votes
1answer
45 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
1answer
1k views

How to import data from SDcard on Arduino to the computer using Arduino serial/COM port?

I have Arduino UNO with Adaruit wifi shield. I store some data on the sd card successfully and now I need to import that data on to the computer. I am sending some token, say "1", to the UART port of ...
0
votes
0answers
35 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
19 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=...
1
vote
1answer
1k 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
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 ...
1
vote
1answer
688 views

Wemos D1 mini freezing after a few minutes

I´m using a Wemos D1 mini board to control a RGB LED Strip and programmed a simple code with the Arduino IDE. The Wemos conects to my Internet just fine and with the IP adress I can change the RGB ...
0
votes
1answer
314 views

Updating Server using ESp8266 with Direction Button Pressed IN

I've connected a 5-way tactile switch to a ESP8266 module and am using the Arduino IDE to create an automatically updating web server that displays the direction that the button is pressed in when ...
1
vote
2answers
124 views

Stability issue with webserver and smartmeter logging

In the past few months I have successfully logged the data from the power and gas meter in my house to a remote web server. Now I try to add the ability to enable and disable my doorbell over the ...
0
votes
0answers
311 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
78 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
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
1answer
98 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 ...
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 ...
1
vote
2answers
3k 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 ...
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
377 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 ...
0
votes
1answer
296 views

Replying with a html page in HTTP Web Server using esp01 and ArduinoIDE

Now there are many ways to reply with a webpage content to a user who is accessing the web server, But Keeping in mind to use as less space as possible, I was trying something new, Since i didnt got ...
0
votes
1answer
227 views

GSM library_ all examples ar working except GPRS?

i am using arduino uno and sim808. i connected the sim808 to pins 2,3 on arduino uno and used GSM library. i tested all examples: make and receive a call or messages. the part of GPRS initialization ...
0
votes
0answers
27 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
32 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'...
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'...
0
votes
0answers
51 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 ...
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 ...
0
votes
0answers
21 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
2answers
204 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 ...
0
votes
1answer
149 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/...
1
vote
0answers
823 views

Exception 29 ESP12E Arduino

I am getting exception 29 every time I make request to HTTP using GET function. I am requesting HTTP every 20-30ms but using millis I am only reading request at 100ms in order to avoid any overflow or ...
0
votes
1answer
56 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
167 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 ...
-1
votes
1answer
208 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
1answer
26 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 ...