Questions tagged [esp8266]

An IC that offers Wi-Fi networking compatible with b/g/n standards. It also has integrated TCP/IP protocol stack. Extremely popular along IoT community as a low cost and powerful board.

Filter by
Sorted by
Tagged with
0
votes
1answer
48 views

Can i exchange my arduino nano for an atmega328p-pu in my project?

Im currently trying to make a smart light switcher that is attached in front of my rooms light switches. It basically mostly consists of two servos (to turn on or off either switch), two button (to ...
0
votes
4answers
15k views

Linking Arduino Nano with ESP8266 Wifi module

I recently started playing around with Arduinos to connect a few sensors up. I used an Arduino Nano to measure temperature, humidity, air pressure and light level. To store the data in a database, I ...
1
vote
2answers
34 views

Nothing received from function returning array of strings

My read function returns an array of strings. i.e ssid and password String* configuration::read() { String rw_ssid = ""; String rw_pswd = ""; const int keys = 2; String read_ssid_pswd ...
0
votes
0answers
39 views

how to write freerun analog samples to a file on MacOS

I've only just managed to get the Arduino IDE on MacOS set up with my ESP8266 board. My loop is running and I can see the lovely serial output in the Serial Monitor window in the Arduino IDE. I'm ...
0
votes
3answers
4k views

How to communicate with ESP8266 ESP01 by sending data through softwareserial on Arduino Uno?

I am able to send AT commands when connecting to the software through the TX/RX pins (1, 0) and the ESP01 communicates perfectly. However, as soon as I start doing that same thing with code I can't ...
0
votes
1answer
30 views

How can i connect 01 ESP8266 to a shift register?

I am connecting this shift register to my esp8266 01 for more GPIO options. it appears there is a GPIO 16 but it's tied to a RESET pin. I checked both datasheets : i checked the esp8266 01 datasheet ...
0
votes
1answer
38 views

Is it support to use Infrared radiation module in ESP12E?

I have a IR module -->image as shown is it possible to use the IR module in esp8266? how to do(sent and receive)? what is the packet format of IR module? please explain. Thanks
0
votes
2answers
632 views

Multiple void loops with ESP8266

I want to run multiple sketches on one sketch. I use the method of multiple void loops. It works but esp8266 take a lot of time to execute commands. void Setup() { setup1(); setup2(); } void ...
0
votes
1answer
406 views

Detect power interruption on NodeMCU

Im using a 5v 1A power supply and connected to VIN pin on the NodeMCU. I also use 18650 battery to keep NodeMCU running in case the power supply shuts off due to power interruption. I'm planning to ...
0
votes
1answer
28 views

EEPROM not consistent over reboot

I'am using a Wemos D1 mini V3.0.0 (esp 8266 core). I tried to save a structure in EEPROM memory but all data are lost when i reboot the board. I am using these basics functions : int cle_verif = ...
0
votes
0answers
31 views

Blink doesn't work on pin D3,D4 and D0 but works on D7

I am facing a strange issue. I am trying to blink an external LED using Wemos D1 mini V2 board. But it is not working. My sketch is as below. int LED = D3; void setup() { pinMode(LED, OUTPUT); } ...
0
votes
1answer
34 views

I keep getting an exit status 1 expected primary-expression before ')' token for my code

I am trying to compile my sketch for a servo motor in order to make it move back in forth (like a pulse) I used two for loops to make this happen but when I determine the scope before the loop I get ...
0
votes
0answers
23 views

How can i send data to phpmyadmin database? using esp8266 nodemcu and max30100

i want to send data from my sensor to database phpmyadmin. but i only get zero values. please help me thank you. void loop() { pox.update(); BPM = pox.getHeartRate(); SpO2 = pox.getSpO2(); // ...
0
votes
0answers
21 views

LED goes off in nodemcu If I turn on other LED

I developed an android app to control a robot using nodemcu. I have added some buttons to on/off or blink some LEDs. It works fine but, if I on the one LED or drive the robot, the other LEDs goes off. ...
1
vote
0answers
31 views

I'm trying to control the ESC using remotexy, esp8266 and arduino mega but I think there is a problem with the PWM signal in the slider. Please help [closed]

{ define REMOTEXY_MODE__ESP8266_HARDSERIAL_POINT include // RemoteXY connection settings define REMOTEXY_SERIAL Serial3 define REMOTEXY_SERIAL_SPEED 115200 define REMOTEXY_WIFI_SSID "RemoteXY" ...
0
votes
0answers
23 views

Unable to initialize SD card

I am not able to initialize the SD card. Can't find figure out what the issue is. It fails at the condition if (!SD.begin(D8)) { Serial.println("initialization failed!"); return; } I am using D1 ...
0
votes
1answer
633 views

Problem of fetching data from web page using Arduino Uno and ESP8266

Project goal is to control a relay over web. I made a php page that receives the post data from Arduino then store the values sent into a mysql database (which is the relay status now). Now I need to ...
0
votes
1answer
21 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* ...
0
votes
0answers
40 views

how to implement AES in LoRa Module with Hardware Flow control using ESP8266?

I am working on project where I have to do AES encryption of plain text received through normal UART port of ESP8266 create a cipher text and sending it to LoRa module (EByte E32 868T30D) through ...
0
votes
1answer
781 views

ESP8266 print DNS address (obtained via DHCP)

I've set up an ESP8266 (Wemos D1 Mini) to get IP-information via DHCP. Everything works fine and I can print the information : Serial.print(WiFi.macAddress()); Serial.print(WiFI.localIP()); Serial....
0
votes
1answer
17 views

Quiescent Current Analog Input ESP8266

I'm planning an ESP8266 project, where I connect a soil moisture sensor to an ESP8266 chip (only the chip, not a board like the NodeMCU) (Analog Input). Since the whole setup will be battery-powered, ...
0
votes
0answers
28 views

File Upload and sending Form data to the ESP using HTTP POST

i want to upload a file from my pc to the esp2966 webserver with sd card. all works fine. But i want to transmit some extra data from a input form field. The Upload works good. in the browser ...
-2
votes
0answers
29 views

How to read data from ThingSpeak for esp8266

I am trying to read data from thingspeak for esp8266 but I couldn't do that. There is a link: GET https://api.thingspeak.com/channels/123456/fields/1.json?api_key=***********&results=2 But how can ...
0
votes
3answers
131 views

ESP8266 not responding after random intervals of time

4th Update: I bought an ESP32 (the successor to ESP8266) and am getting the same problem. I used the same code except used the Wifi.h library instead, also removed the ESP8266WiFiGratuitous.h code. I ...
0
votes
0answers
34 views

how to get file date and time (Timestamp) from a file on sd card with SD.h?

i want to get the date and time (Timestamp) of a specific file on sd card. How can i do this? I use the sd.h and can not use any other like SdFat.h
0
votes
0answers
15 views

Why does server.streamFile download does not work with SD.h? [duplicate]

This is only a little test code so i can focus on the problem. At first a file is written on sd card with the timestamp given in the variables. This works fine. At SD_file_download() i open a File ...
0
votes
0answers
52 views

ESP8266-01 & Arduino Uno Problem

I am having a problem when I want to run code like this on a Arduino Uno with esp8266-01. It's not working. In serial monitor nothing about esp. #include <SoftwareSerial.h> SoftwareSerial ...
0
votes
1answer
43 views

MPU-9250 compass always returns to zero

I am trying to build a 9-DOF IMU using the MPU-9250 chip which contains a gyro, accelerometer and compass. I have successfully realized 6-DOF sensor fusion using the DMP chip and Sparkfun's library, ...
1
vote
2answers
22k views

Serial Communication between ESP8266 and Arduino Uno

I want to send data from arduino to ESP8266. I have done all the RX and TX connections. The problem is that data is not sent every second, it stops after a single byte. When I remove the arduino cable ...
0
votes
0answers
47 views

how can i download a file with http from sd card using the SdFat.h

I use the Arduino IDE 1.8.10 and the esp8266 core 2.7.1 and the Wemos-D1 with SD Card Module For the SD Card i use the SdFat.h library, because i need to set the timestamp for the uploaded file. I am ...
0
votes
4answers
7k views

How to convert byte *payload to String

I would like to convert a byte *payload to a String, because I want to compare the content of payload to another String. void mqttCallbackHandler(char *topic, byte *payload, unsigned int length) { ...
0
votes
1answer
39 views

Esp8266: Linux - fatal: No names found and undefined reference to `app_entry_custom()'

as Gentoo user I build everything from sources, but I have problem with building toolchain for esp8266. I came up with this script: #!/bin/sh # note: eselect python2 before, because of gcc # ...
1
vote
3answers
2k views

Wifi Data Logger without Delay

I am really new to Arduino so please bear with me. I am running an Arduino Uno with several sensors to capture some data related to a fish tank. Here is basically what it does: Capture data (light, ...
0
votes
2answers
56 views

How to fix memory-leak code in ESP8266/NodeMCU caused by string concenation?

I have following code in loop() in NodeMCU. This part is before setup(): String serial_data_read = ""; // for incoming serial string data String serial_data = ""; // for incoming serial string ...
3
votes
1answer
49 views

Arduino Hardlid Unlocker

I am trying to build a unlocker on my hardlid for my ute. I have replaced the manual unlocking mechanism with 2 of these https://www.jaycar.com.au/slave-door-lock-actuator/p/LR8813. Now my code below ...
0
votes
1answer
18 views

Vin pin vs USB vs Barrel connector: Wemos D1 R2

@Majenko says in the leading (19 Upvote) answer here not to use VIN and USB socket at the same time. You must never ever connect VIN to a power source and connect the USB socket. That can destroy ...
-1
votes
2answers
41 views

How do I configure WEMOS D1 R2 Vin pin to output max voltage?

I am in need of 12VDC from my Wemos D1 R2. How do I configure the Vin pin to output the max (I think its 12VDC)? board: Wemos D1 R2 V2.1.0 - ESP8266 (LOLIN D1 R2) Pinout here in pictures below
-1
votes
2answers
60 views

LSM303 unable to compensate tilt

I am working on a tilt compensated compass with the LSM303DLHC. I manage to calibrate the magnetic and accelero part. I managed to calculate pitch and roll. But when it comes to calculate tilt ...
0
votes
1answer
47 views

How to connect the following ESP8266MOD to Arduino Mega?

I am trying to connect the following ESP8266 to Arduino mega. However, I am unable to find the specific connection sheet for the same. Can anybody suggest the same?
-1
votes
0answers
20 views

add devices to WIFI network without graphic/physical interfacing to it [duplicate]

i am looking to configure a device and upload the program to it's hardware so that when it recieves power it is programmed to generate it's own wifi that can be connected to, so that i can give it ...
0
votes
0answers
32 views

Create and retrieve a log file- in SPIFFS

I'm using an ESP8266, to create certain tasks ( triggers from MQTT, or a physical button).I'm trying to create a log of events, store it (SPIFFS or SD) and retrieve it back( perhaps using MQTT ), on ...
-2
votes
0answers
37 views

esp8266 doesn't responding to AT commands [closed]

I flashed the esp8266 but then it stopped responding to AT commands. I tried with all connection possibilities.(Rx to Rx, Tx to Tx) and (Rx to Tx,Tx to Rx) and I tried it with IO0 to GND. But the ...
0
votes
1answer
644 views

HTTP PUT method on NodeMCU/ESP8266

I've been trying to send a put request from my esp8266 for a while not but I can't figure out why it doesn't work and there are barely any posts about put requests online I keep getting errors around ...
0
votes
1answer
21 views

activate a relay with two esp8266 -12e pins

I have an esp8266-12e that I want to activate the reset side of a latching relay. The problem is that the 12e only puts out 12mA/pin and the relay needs more than that. I am using a transistor on ...
0
votes
4answers
3k views

Wemos D1R2 - Onewire 2 DS18B20 passing to variable

I'm a beginer, did some tests with Uno and now have a Wemos D1R2 on my hands... I'm building a sort of weather station that will send data to thingspeak.com and log this data there. I managed to ...
1
vote
3answers
2k views

Using ESP8266-01 with Arduino uno R3

I am trying to learn how to use ESP-01(AI-Cloud, Black Version) with arduino Initially, I created an adapter for it that has 4 inputs: RX, TX, Vcc(3.3v), GND I checked it and the wiring seems fine ...
0
votes
1answer
34 views

Print connection password typed by user on NodeMCU Lua ESP8266 ESP-12E

I want to make a WiFi Access point created with the ESP8266. Let's say that the SSID is 'net_work' and the password is '12345678'. When a client tries to connect with a wrong password, I want to ...
0
votes
1answer
312 views

ESP8266 spend 10mA, even though It is in the deep sleep mode

I am using Nodemcu ESP8266. I want to know how much my ESP board consume the battery during sleep mode. as the Mannual said it spend about micro-ampere, but my multi meter said it spend 10 mili-ampere,...
0
votes
1answer
2k views

ESP8266 light sleep - can't wake up

I am attempting to implement a light sleep mode on an esp8266 (feather huzzah) which, when a button is pressed, wakes the system up so that it can continue its normal task. I cobbled together some ...
-1
votes
0answers
23 views

Nodemcu Deep Sleep can´t reach low compsumation (not less than 9 mA)

I'm trying to achieve the 20uA compsumation using deep sleep in "Amica" Nodemcu, but when I measure with the Multimeter I get 9 mA. What can be the issue? Diagram: power suply with 3,7 LiPo Baterry ...

1
2 3 4 5
34