All Questions

Tagged with
Filter by
Sorted by
Tagged with
-1 votes
1 answer
53 views

POST request (HTTPClient) with ESP8266 not working on localhost (http code = -1)

I've been looking around for a solution, but couldn't manage to find one. I'm looking to send a post request from an ESP8266 on a local API. Here is my code : #include <ESP8266WiFi.h> #include &...
user avatar
1 vote
1 answer
44 views

Why doesn't serial communication work on Arduino Uno r3 and ESP8266 WiFi module?

I have a simple problem here. I use an ESP8266 WiFi module and an Arduino Uno r3. What I want is to receive a serial message from the ESP8266 on the Arduino Uno. Note: I set the upload speed of the ...
user avatar
-2 votes
1 answer
41 views

how to save float with 3 decimal places [duplicate]

i am transmitting sensor data from my atmega328p to my esp8266. The Sensordata has 3 decimal places. The esp8266 sends this data to my pc and there I see only two digits. This is because the data is ...
user avatar
  • 1
0 votes
1 answer
56 views

Using ESP8266 to program Arduino by serial comm

Since ESP8266 can self program on wifi, can we use it to program arduino too with the binary sent via wifi? my arduino is connected with reset+RX+TX pins and shared power. Has this been already done?
user avatar
  • 109
1 vote
0 answers
76 views

ESP8266: ESPASyncserver + client

I have project with an ESPAsyncWebServer with websockets working already. What I need to add is Client functionality to poll a site for a response. I looked at the ASyncTCP library and it has two ...
user avatar
0 votes
1 answer
73 views

using RTC for storage

I keep seeing stuff about this: https://www.arduino.cc/reference/en/libraries/rtcvars/ when looking for storage for a few variables that survive turning off and on, but then it is only on ESP8266. The ...
user avatar
-1 votes
1 answer
577 views

'D1' was not declared in this scope; did you mean 'y1'?

Even though i am mentioning everything in the beginning then too m getting out of scope error. Code Reference :- https://noisycarlos.com/project/how-to-turn-your-computer-on-and-off-remotely/ I dont ...
user avatar
1 vote
0 answers
30 views

Robotdyn esp8266 interrupt from arduino timing

I use a Robotdyn, uno+wifi r3 atmega328p+esp8266. I need to control motor speed and operate few servos. Since the uno has a single timer, I use the esp8266 pin 2 to control motor speed, while the ...
user avatar
1 vote
1 answer
85 views

Why does the send pin influence the receive pin with Arduino Capacitive Sensing Library

I'm trying to figure out how the Arduino Capacitive Sensing Library https://playground.arduino.cc/Main/CapacitiveSensor/ works. It says: When the send pin changes state, it will eventually change the ...
user avatar
1 vote
0 answers
61 views

Connect ESP8266 with Android Studio App

Hey guys I have ESP8266 and want to remote control a sailboat with it. Till now it works fine but how is it possible to send continuous data between the Arduino/ESP8266 and my smartphone? If you need ...
user avatar
  • 31
2 votes
0 answers
72 views

ESP8266 01 doesn't react after baud rate change

Hello guys I have my ESP8266 connected to my Arduino. Then I typed in AT in the serial monitor. It confirmed this command with OK. After that I typed in AT+UART=9600, 8, 1, 0, 0 which gave me the ...
user avatar
  • 31
1 vote
2 answers
136 views

How Much mA dropped in ESP8266-01 Work in LiPo Battery if the WIFI function is continuously on

I working on the system where ESP8266-01 should continuously on because I want to get the Wi-Fi function on. In that case ,I can't use the Sleep mode which is given in the Esp8266-01 . So, My Question ...
user avatar
0 votes
0 answers
46 views

I'm looking for the StreamSend.h library for use in Arduino/ESP8266 serial communications using struct [duplicate]

I've come across an interesting yet old article within StackExchange which has great examples of sending structured variables over serial communications. The library StreamSend.h and it's source code ...
user avatar
  • 11
2 votes
1 answer
123 views

Arduino ESPTelnet.h library read data from cmd screen

I am new to Arduino. I used Arduino IDE for upload code to ESP8266 module. I wrote an ATM application on the tiva-tm4c123 board. I am trying to connect to the application from the internet using ...
user avatar
1 vote
1 answer
73 views

NodeMCU ESP32 as a replacement for my arduino project

I would just like to ask if this microcontroller can power or can manage 2 servos, 2 motors, and 2 hc-sr04 ultrasonic distance sensor combined? Also, does this board come with a bluetooth module?
user avatar
1 vote
1 answer
130 views

Arduino Uno Esp8266 AT commands [closed]

I am trying to send AT commands to esp-01 through serial monitor I have uploaded a blank sketch to Arduino , whatever command I send to ESP I get reply ERROR. After reconnecting esp-01 I got some ...
user avatar
2 votes
0 answers
66 views

Connecting Arduino Uno's TX pin directly to Esp8266 esp-01

I am new to esp8266 esp-01 and trying to figure out how to use it, in many tutorials on internet, I have seen people have connected Arduino uno's TX pin directly to esp8266 esp-01 without any voltage ...
user avatar
1 vote
2 answers
149 views

How to send data from esp-01 Wi-Fi module to arduino

The L1 is the value i will get from firebase database, but now i wanna send the value that i receive in realtime database to arduino to on LED, how to solve? any suggestion? which mean when arduino ...
user avatar
  • 11
9 votes
5 answers
1k views

Same structure taking different memory space on Uno and NodeMCU ESP8266, leading to data corruption when transferring via nRF24L01+

I'm trying to transfer data between a Arduino Uno board to a NodeMCU ESP8266 board, using nRF24L01+ transceivers module and RF24 library on both side. The data I'm transferring are stored in a struct ...
user avatar
  • 220
-1 votes
1 answer
2k views

Why am I getting Invalid head of packet (0xF0) error when trying to upload code to esp8266?

Solved : In Mac I went back to Tools --> Boards Manager, then removed 3.0 and downgraded to 2.5 and it started working. I found the solution in this thread. The current connection between uno R3 ...
user avatar
  • 99
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 vote
0 answers
49 views

how do i get data from the website? using arduino uno and esp8266

i have hosted a website on the 000webhost. And i have simply written a line in paragraph tags in html file( means i have created a html file..) so i want to know to know how i get data that data in ...
user avatar
  • 21
1 vote
2 answers
55 views

How esp8266 gets response from server..?

#include <SoftwareSerial.h> const byte rxPin = 2; const byte txPin = 3; SoftwareSerial ESP8266 (rxPin, txPin); void setup() { Serial.begin(115200); ESP8266.begin(115200); delay(2000);...
user avatar
  • 21
1 vote
0 answers
39 views

I was working on ESP module and got some errors. Can anyone please help to resolve those errors?

Code; #include <Keypad.h> #include <Servo.h> #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <PubSubClient.h> const char* ssid = "";//put your wifi ...
user avatar
1 vote
0 answers
114 views

All AT commands return Fail

I'm trying to send data from sensor to ThingSpeak, but the AT commands always return Fail. They work sometimes and send data. But, most of the time they return fail. My Connections: ESP Arduino Gnd ...
user avatar
1 vote
2 answers
145 views

Arduino UNO with integrated ESP2866 wifi not working correctly

I bought this "knockoff" Arduino UNO with an integrated ESP 2866 wifi module. But I can't make it work. I've followed this tutorial because it's the same product as I have, but I can't make ...
user avatar
  • 305
2 votes
3 answers
550 views

Send values from Arduino Uno to Wemos D1 R1

I have a weather project in which I have to measure the temperature and humidity (DHT22 sensor), the pressure, and other things, and then show them on a local web page (using a Wemos D1 R1) in either ...
user avatar
  • 21
1 vote
0 answers
89 views

How can I use GPIO pins on an esp12e UART?

I've bought an esp12e UART that unfortunately had some issues, but I was able to fix them. This is how I connected it to the arduino. With this setup, I was able to host a simple web server and it ...
user avatar
1 vote
1 answer
891 views

ESP8266 ESP-01s Not Responding, No LED Blinking, Overheating

I have an ESP-01s that I want to use as a shield so my Arduino Uno project could communicate with my Blynk app through wi-fi. I used this video as reference. This is the sketch. It is just the ...
user avatar
1 vote
1 answer
294 views

Message parsing from MQTT server

I'm making a NodeMCU based home automation. I adapted code I found on internet for controlling a device (say LED) via MQTT broker hosted on a Raspberry Pi. It works fine. But when I try to scale it up ...
user avatar
1 vote
0 answers
56 views

ESP8366: ets Jan 8 2013,rst cause:4, boot mode:(1,7)

I am trying to control esp8266 esp 01 with Alexa This is my code: #include <Arduino.h> #include <ESP8266WiFi.h> #include "fauxmoESP.h" #define ssid "admin" #define ...
user avatar
1 vote
0 answers
29 views

AT42QT1070 sensor output issues in standalone mode

Also when I am trying to see the data read on pins in serial monitor, it is not reading as required. The code i am using is as follows: const int tuch_Pin0=18; const int tuch_Pin1=19; const int ...
user avatar
1 vote
1 answer
147 views

ESP-01 not responding to serial data while programming with esptool.py

I have a Arduino uno board, ESP-01 board and a logic level shifter (bidirectional) and to program the esp module i wired my Arduino and esp like this Arduino uno(atmega328p removed) --> level ...
user avatar
  • 31
1 vote
0 answers
117 views

How to send AT Commands by code using Arduino uno, ESP 8266 01

What I'm trying to achieve ==> Connect to my WIFI hotspot by AT commands via code then connect to my local node server by using REST API. Currently, I am able to send AT commands and receive ...
user avatar
0 votes
2 answers
485 views

Resolved: ESP8266 works when arduino UNO reset pin is grounded

I'm setting up PIR and esp8266 with arduino UNO. First my esp8266 doesn't work after alot of research my esp8266 start working when I put arduino UNO reset pin to ground. But now my arduino UNO does ...
user avatar
1 vote
0 answers
221 views

Maximum baud rate for sending a byte of data via SoftwareSerial from master Arduino UNO to slave Arduino UNO

I am trying to read data from a Blynk widget via ESP8266 and Arduino UNO and trying to send it to another slave Arduino UNO. But, the problem is the data is taking some time to reach to the slave ...
user avatar
1 vote
1 answer
88 views

3v3 ESP one way communication with 5 V Arduino?

Perhaps I'm not fully understanding a difference between logic level and the function of the TX and RX pins? I'm just wondering if an ESP can send, one-way, data to an Arduino. (I found that two-way ...
user avatar
2 votes
0 answers
123 views

Not Able to communicate with ESP8266

I just bought an Esp8266(not the node MCU) and tried connecting it with Arduino without a USB to serial converter but in vain. I am a beginner and don't know what to do. It is not responding to AT ...
user avatar
1 vote
0 answers
95 views

using a digital pin on node mcu as an analog

i want to use volte and current sensors (ZMPT101B and ACS712) on node MCU these sensors are analog but node mcu has on analog pin can i use digital D0 pin for voltage sensor?
user avatar
0 votes
1 answer
286 views

Error sending data from ESP8266 to Uno

I am sending data from an ESP8266 to an Uno (I need to use the Uno because it has more inputs than the ESP and I need those for my project.) The ESP8266 is connected to the Uno's Serial pins 0/1 RX/TX ...
user avatar
  • 149
0 votes
1 answer
107 views

How to send Serial data from an Arduino Uno into the Serial of an ESP-01?

So, i need to send sound sensor data from an Arduino Uno to the ESP8266 (ESP-01), so it can output a push notification to my phone whenever there's a loud noise. I have the sensor just powered and ...
user avatar
  • 1
3 votes
1 answer
315 views

Ultrasonic Sensor(HC-SR04) recording random distance

I am am trying to make a code which automatically controls relay on basis of ultrasonic sensor measurements. I am using a nodeMCU as a microcontroller rather than an arduino. The relay and the ...
user avatar
1 vote
0 answers
164 views

NodeMCU unable to communicate with MFRC522 RFID reader even though the nodeMCU is successfully connected to a mobile hotspot

I am replicating a project that will read the RFID card or tag data, store that into a mysql database and display the data via PHP. I am using NodeMCU, RC522 RFID reader and Ardunio IDE to do that. ...
user avatar
1 vote
1 answer
454 views

Can't upload sketches or flash Nodemcu 1.0 12E (CP2102) but have drivers and responds to RST on Serial monitor

I've been trying to get my nodemcu working for months and tried countless online references but none worked. I'm using the Arduino IDE to upload sketches and always get the error "Timed out ...
user avatar
1 vote
1 answer
622 views

Programming ESP8266 to avoid random exceptions?

Below is the code that I have done on Lolin Wemos D1 R2 and mini it works fine but it throws exceptions every time, I tried understanding my problem by reading this: NodeMCU 1.0 - Exception 9 `Fatal ...
user avatar
0 votes
0 answers
226 views

Need PPM out of MQ4 sensor

I'm using this working library to extract H2 & Alcohol in PPM from sensors. UPDATE I read the readme file and used the example shown. But this gives me an error. This is the code: //Include the ...
user avatar
1 vote
0 answers
380 views

Can SoftwareSerial be used in an ESP01

I am using ESP01 as a microcontroller that retrieves information from Firebase and sends them over serial to an Arduino Uno for other uses. I am not using NODEMcu since it has few analog pins and ...
user avatar
  • 11
1 vote
1 answer
32 views

AT firmware upgrade in ESP-01 using Arduino UNO R3

I need to upgrade the AT firmware in ESP-01 by using Arduino UNO R3 serial interface. Do I need to remove the Microcontroller Chip from the DIP socket before burning firmware? Does it going to affect ...
user avatar
  • 73
0 votes
1 answer
115 views

Monitor two baud rates

I am using different codes which set different values of baud rate through the Serial.begin() function. I have an Uno using Serial.begin(9600) connected to an ESP8266 ESP-01 module SoftwareSerial ...
user avatar
  • 113
1 vote
0 answers
76 views

Help using an Arduino as as an FTDI with a ESP8266 carrier shield to see an AT response

I have a Duinopeak shield that lets you plug on an ESP-01 and provides a 5V-3.3V regulator and level shifting for the Tx and Rx pins. I cannot get it to work with a setup that has worked with every ...
user avatar
  • 11

1
2 3 4 5
9