All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
33 views

Can't transfer information from esp8266 to arduino

I have esp8266. Which I am trying to set up to be a self-contained access point and server (tcp). ESP8266 is connected to ports 2,3 of Arduino Uno. On Arduino, I want to process all information coming ...
user avatar
-1 votes
1 answer
54 views

Simple ESP to ESP reading blink program not reading input voltage

One ESP32's 3v3 is connected to GPIO 26 of another ESP32. The program is uploaded. The built-in LED lights for two seconds as expected. Then, it turns off. No matter what GPIO pin the 3v3 is connected ...
user avatar
  • 179
0 votes
1 answer
72 views

Whats wrong with my POST request?

Ive been trying to get POST working on my ESP8266. I followed this tutorial https://techtutorialsx.com/2016/07/21/esp8266-post-requests/ which works, but once i change the request URL to anything else ...
user avatar
  • 19
1 vote
2 answers
193 views

unable to modify NTPClient to use static IP address

I tried the example File > Examples > ESP8266WiFi > NTPClient which requests the current time and it worked fine. Then I tried to modify it so that the ESP8266 would have a static IP ...
user avatar
1 vote
0 answers
517 views

Wemos d1 mini code not uploading

I have a wemos d1 mini. I uploaded a code in wemos d1 mini and after that my wemos mini not working. I tried to upload another code in it even the led blink sketch and even a blank sketch but whenever ...
user avatar
1 vote
0 answers
60 views

esp8266 sending to both webserver and myphpadmin

I have tried to send all the variables to both the webpage and to myphpadmin. I seperated the code into two functions and put the functions inside the void loop() function under the impression that it ...
user avatar
2 votes
1 answer
139 views

Why is their need of response time needed in esp8266 AT commands?

I am writing an AT commands firmware for esp8266 via connecting it to atmega2560. Now the question is how will I come to know the response time for AT commands for writing its firmware to read the ...
user avatar
  • 71
-1 votes
1 answer
60 views

How to get data out of loop?

hi i wrote a code(i modified it actually, please forgive me, im in a mess please help me if you can) for my esp8266 to serial communicate with at tiny 85 ,it will monitor switch state and publish ...
user avatar
1 vote
0 answers
68 views

Construct char arrays within function

I'm pretty new to C++ / Arduino code, please bear with me. Following code currently gives me a Exception (28): epc1=0x40201287 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000. I ...
user avatar
  • 111
0 votes
1 answer
588 views

How can I list only files that begin with "/LOG?"

Trying to list root directory of LittleFS; but only files beginging with "/LOG." String str; if (!LittleFS.begin()) { Serial....
user avatar
  • 47
0 votes
1 answer
52 views

what is causing my esp8266 setup function to reinitialise?

Here is code I have written: #include <stdio.h> #include <ESP8266WebServer.h> #define MAX_WIFI_INIT_RETRY 50 #define WIFI_RETRY_DELAY 500 const char* wifi_ssid = "ssid"; const char* ...
user avatar
1 vote
1 answer
461 views

Arduino Nano, DS3231 RTC clock module and 4 cascaded FC-16 led matrix modules

Like I said in the title, I am using a DS3231 real time clock module and 4 cascaded FC-16 modules(they are basically MAX7219 led matrices based modules). My goal is to display a timetable, a schedule ...
user avatar
-1 votes
1 answer
31 views

acelermetor count goes down after 1 peak

I am using a Wemos D1 Mini and an mpu 6050 accelerametor. I managed to get the acceleratmetor to work and have 1 value come out of movements. So when a peak it hit (aka, the threshold of 1.00 is hit) ...
user avatar
  • 21
2 votes
1 answer
3k views

OTA-program SPIFFS on the ESP8266

Something I'd like information on is whether it is possible to upload a SPIFFS filesystem image to the ESP8266. In theory it might work: It can be uploaded over USB, and according to the logs the ...
user avatar
1 vote
0 answers
484 views

Error compile board LOLIN(WEMOS) D1 R2 & mini

I have a wemos d1 mini and a mpu 6060 sensor. I am trying to send the data from the sensor to Firebase. However i have come across a hurdle which i cant seem to solve. This is my error, can you help ...
user avatar
  • 21
1 vote
0 answers
154 views

How to edit code from Node-Red to Cayenne

I am working on a project to run some (relays or LED's) on an inputs (Pins) Arduino by esp8266-01s . now while searching on internet I found a video divided it two step that talks about the issue ...
user avatar
-1 votes
1 answer
370 views

Arduino recorder with SD card module

Can any one suggest me best device in cheap rates to record audio in to SD-card and vice versa from the speaker......i want to record audio into the sd card like as feedback from customer
user avatar
1 vote
1 answer
760 views

ESP8266 Webserver ESP8266WebServer variable html page (not as one const char)

The aim is to display a non-static html page depending on some variable condition. The code I created hast the problem, that the esp8266 is ressetting in the moment I request the page. const char ...
user avatar
  • 541
1 vote
1 answer
784 views

ESP8266 Webserver ESP8266WebServer move Handler-Function in separate .h .c file

The plan is to create a bigger project and to split the ESP8266 webserver-code over several modules (.h .c files). The main problem is that the ESP8266WebServer server is not declared in the index.h ...
user avatar
  • 541
1 vote
0 answers
41 views

Where is tcp.c?

This question is related to my other question, which I already answered. I want to add modify tcp.c to include my own code. The problem is I can't find tcp.c. The first thing I tried was looking in ...
user avatar
0 votes
1 answer
297 views

Expected unqualified-id before 'public'

I'm making an arduino program for a buzzer that you can record notes and song for and then play them back. I have 2 arrays that hold both pitch and if a note is being played. I continue to get errors ...
user avatar
2 votes
1 answer
905 views

How to send UDP data packet between two access point?

I am new to arduino programming and nodeMcu boards.I have two ESP8266 bards as access points and one board get some data form WiFi stations and resend that data to other access point. but the problem ...
user avatar
  • 23
0 votes
1 answer
322 views

Nodemcu ESP12-E (ESP8266), Can I reprogramming when the UART pins are defined as GPIO?

I wonder if there may be any problems using the pins that the UART are using as GPIOs, if now I want to be able to reprogram the circuit? (Of course I will detach the ESP12-E from the mainboard before ...
user avatar
0 votes
1 answer
124 views

Implementing sending from N and recieving from N with FreeRtos and RF24 radio module

I'm trying to make my first chip send data through a nrf24 radio pipe and the other listen to it. After the first data is received it should switch to transmit mode and itself transmit new data. The ...
user avatar
0 votes
1 answer
407 views

nodeMCU - 2 loops at a time - one continuously and second every 10 seconds

i have nodeMCU v3(esp8266) so i need to make 2 checks 1 check is the pin D1 which needs to be done continuously and another check is web link check every 10 seconds, problem is coz when i put delay ...
user avatar
0 votes
1 answer
154 views

Run function when triggered

I'm trying to create a motion/fall sensing device. I have a sensor that continuously checks if motion and fall is detected in void loop(). If both motion and fall are detected, then I'd like to send ...
user avatar
  • 23
0 votes
1 answer
146 views

Invoke a method in the main sketch from within a library

I need to use a specific library that issues error messages in the form of String texts. The library uses the Serial.println() function to send the messages to the Arduino IDE's serial monitor. The ...
user avatar
0 votes
2 answers
543 views

Interrupt triggering using DHT-11

I am new at arduino. I want to write a sketch that would print the message if the temperature grows greater than 30 C. Here is my sketch can you please tell me what's wrong with it #include "DHT.h" #...
user avatar
1 vote
3 answers
5k views

Esp8266 Vin pin

I've read that Vin pin is directly connected to usb cable in esp8266 (which is 5V). I wonder if I can power a relay 5V and a servo motor Sg90 with this pin? And is there any danger of doing that ?
user avatar
  • 23
1 vote
0 answers
1k views

Can I use ESP8266 and OV7670 to video stream on a web?

OV7670 image sensor, small volume, low operating voltage, providing all functions of a single chip of VGA camera and image processor. so I am using and ESP8266 to connect to internet and stream the ...
user avatar
  • 111
1 vote
0 answers
1k views

ESP8266 to send data to thingspeak while doing unblocked read on Serial.readString()

I have a requirement to get RFID data on Arduido UNO and send it to ESP8266 to be sent to ThingSpeak via the Wifi module. However, ESP8266 is also programmed to send Temperature and humidity data to ...
user avatar
  • 11
0 votes
1 answer
522 views

Global Variable does not Change when Value is set within Boolean Function

I have a boolean function which contains a string. In my main project this string is extracted from a website using an ESP8266 which is compatible with the Arduino IDE. I need to convert this string ...
user avatar
0 votes
1 answer
699 views

ESP8266 upload data to google cloud platform

I am trying to upload information to my appspot created with Google App Engine. I am able to do it when I in my browser type: http://myname.appspot.com/query?city=Copenhagen&temp=20&id=website ...
user avatar
  • 11
0 votes
1 answer
352 views

Fade effect analog RGB strip and NodeMCU

I have an analog or dumb RGB strip that I control with HTTP commands. I want to be able to make the strip fade between different colours when I call http://XX.X.X.XXX/fade. I want it to do this ...
user avatar
3 votes
3 answers
4k views

Arduino OTA port not updating in Arduino IDE

The OTA (from the ArduinoOTA library) on my ESP8266 does not show up in the programming ports on the Arduino IDE unless I restart the IDE. Even when I plug in a usb cable and the ports list updates ...
user avatar
0 votes
1 answer
754 views

Use ESP8266 GPIOs after Flash Startup

I'm a bit confused about the ESP8266 launching and GPIO behaviour. When I'm programming the ESP8266 I have to set GPIO2 high and GPIO0 low. But when I want to use the ESP8266 in my project I have to ...
user avatar
  • 25
0 votes
2 answers
6k views

Sending Data from ESP8266 to PHP

I want to display the RFID tag value to a html file. I am using ESP8266 ESP-01 module, EM-18 Reader Module, Arduino Uno and Xampp for hosting PHP. Right now, I am getting a value of "255" in ...
user avatar
0 votes
1 answer
949 views

"Bad request" error (HTTP) while posting to PHP server using Arduino and ESP8266

I'm doing an IoT project where the temperature and humidity values from a DHT11 sensor is sent to a PHP server using HTTP post. When I run the Arduino, the Serial Monitor says "Bad request". The ...
user avatar
-1 votes
1 answer
5k views

'DynamicJsonBuffer' was not declared in this scope

I have this code: #include <ESP8266WiFi.h> #include <ESP8266HTTPClient.h> const char* ssid = "xxxx"; const char* password = "xxxx"; bool a = false; bool b = true; int heldVal = 0; ...
user avatar
  • 163
0 votes
1 answer
329 views

MQTT (was WiFi) interference when using two nodeMCU devices

I have two nodeMCU boards, one from LoLin (192.168.1.52) and one from Amica (192.168.1.53). For each nodeMCU, I have mapped its MAC address to a fixed IP address using my Movistar WiFi router. I ...
user avatar
  • 129
0 votes
1 answer
654 views

Can't flash ESP8266-01 with Sparkfun FTDI basic - wrong direction/command

Connections: RX -> TX TX -> RX GND -> GND VCC -> 3.3v CH_PD -> 3.3v GPIO0 -> GND (flash mode) Click the picture to make it larger/more readable. I am trying to flash an ESP8266-01 ...
user avatar
  • 163
0 votes
1 answer
117 views

Code runs, then doesn't run after I add some routine code

I am programming an ESP8266-01. I have this code which I am using to operate an on-off switch, which is being used as an override switch for when the relay is turned on and off over the internet: ...
user avatar
  • 163
0 votes
1 answer
322 views

How to send HTTP requests using wifi of Arduino Primo board?

I have bought an Arduino Primo board. I have configured it to connect to my wifi router and changed it to STA mode. Now, how do I program it to send HTTP requests to a server? Which library file I ...
user avatar
1 vote
3 answers
3k views

ESP8266 blink sketch not blinking LED

After flashing the blink sketch to the ESP8266, I removed all the unnecessary wires from flashing - and my setup to try and run the sketch looks like this: Something to note about flashing - it would ...
user avatar
  • 163
0 votes
2 answers
937 views

ESP8266 Blink sketch - does not blink / or stays constant

I uploaded the Blink sketch (from the ESP8266 examples, in the Arduino IDE) successfully. Depending on which wire configuration I am using two different things happen: wiring 1: CH_PD -> 3.3V ...
user avatar
  • 163
0 votes
1 answer
4k views

Flashing ESP8266 over WiFi whith samrtphone?

I'm working on a project in which an ESP8266 is the brain of the device. I want to add new features to the device controller later but this requires that the user open the controller and reprogram the ...
user avatar
  • 509
0 votes
1 answer
103 views

Certain String Characters To Int

I have a char* array which looks like this "T 20" and I'd like to extract the "20" and convert it in to an integer. I was thinking of using atoi() but it seems that function will operate on the entire ...
user avatar
  • 158
2 votes
0 answers
2k views

ESP8266 library / function for IR remote control

I am using IRremoteESP8266 for reverse engineering Hitachi AX-M76E mini stereos IR controller. I want to read the signal that the remote sends and send the same hexas to the stereos with IR led. ...
user avatar
  • 413
1 vote
2 answers
1k views

WeMOS creating soft access point from old code even when new code doesn't have it

In the past I uploaded the code below: #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h> #include <DHT.h> #define DHTTYPE DHT22 // DHT 11 #...
user avatar
-1 votes
2 answers
3k views

ESP8266 - Parsing last char from a string

I'm trying to parse the last character from the string of the reply from server and print them to serial monitor. My arduino code: // This will send the request to the server client.print(String("...
user avatar