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
11 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
25 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
23 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
25 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
0answers
20 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. ...
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 ...
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
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
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
39 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 ...
-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
0answers
26 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 ...
0
votes
0answers
33 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 ...
-1
votes
0answers
21 views

I2C (Master Read - Slave send) - [Multi slave / Wemos-Uno-OLED] [closed]

As I showed in the figure, I use two WiFi modules to Read an Analog value and send it to another module that I marked. Now I want to send the value I received with Salve1 to MASTER using I2C. When ...
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 ...
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
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 ...
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
38 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
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 ...
-1
votes
2answers
59 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 ...
-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
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
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 ...
-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 ...
0
votes
0answers
16 views

Arduino Uno with ESP8266-01 using PubSubClient with secure TLS

In my example, Arduino UNO (ATMEGA328p) connects using the SoftwareSerial library with the ESP8266-01 module. Then I used the PubSubClient library to connect to the MQTT broker. The connection is to ...
0
votes
1answer
27 views

NeoPixel Gradient sweep function

I'm trying to create a function that takes two colours and creates a smooth gradient between them one colour at the beginning and one at the end I just can't figure the math of mixing them evenly I'...
0
votes
1answer
41 views

UNIX time in ms to human date time

Been struggling with something for a few days. Loading data from a website via JSON and it includes an updated date time in milliseconds. This is an EPOCH date and I can get the right value using ...
0
votes
0answers
24 views

Is there possible implement websocket using AT Command?

For example I have a sim800l module to communicate to a server using websocket (socket.io) but that module allows AT Command to operate. I have successfully made an HTTP request, but I don't know how ...
0
votes
0answers
31 views

Serial Monitor Interface is not working as intended

Hello everyone so for my job I need to basically code a fish that will have three input switches glued onto the fish. For each of the switches if they are pressed they will go left right and the third ...
0
votes
0answers
16 views

NodeMCU is not working. Only a little orange LED is turning on

Some time ago, i powered a NodeMCU with a 9 volt battery, it worked but the next time i tried to use the board, only a little orange led near the usb connector and reset button turned on. I can't ...
0
votes
0answers
14 views

DS3231 clock module with cascaded FC-16 led matrix modules + Arduino Nano

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 for a classroom on the ...
0
votes
1answer
60 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 ...
0
votes
3answers
126 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
2answers
46 views

Upgrade ESP-01 firmware on MacOS

I recently bought an ESP-01 as well as an FTDI programmer (3.3v-5v) and after typing AT+GMR I noticed it said: AT version:0.40.0.0(Aug 8 2015 14:45:58) SDK version:1.3.0 Ai-Thinker Technology Co.,...
0
votes
1answer
36 views

Read status on SCART output

I'm trying to get the status of my set top box (on/off). It does have USB but it's always powered on. It has optical out that is also always on. It has an IP address that always responds to ping. ...
0
votes
3answers
64 views

How to replace String objects with char arrays while still using string methods

I am running the following code on my ESP8266 (AI-Thinker ESP8266MOD). I send an HTTP GET request and a pin is set to high for a 1/2 second. However, after some time (sometimes 1hr, 2hrs, 12hrs, ...
0
votes
0answers
14 views

ESP8266 & 2x VL53L0X Sensors cause WDT resets

I have a system that utilises 2 VL53L0X sensors. This works fine for the majority of time, but after around 20 hours till 2 days (varying), the ESP resets due to Software a WDT, I've managed to do a ...
0
votes
1answer
23 views

What current is safe for Wemos d1?

I've got 12V / 400mA power supply for my Wemos D1 R1, and I'm using VIN output(I need 12V for led strip). I need to change this power supply because of color, and I can't find similiar with the same ...
0
votes
1answer
42 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, ...
0
votes
1answer
45 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
0answers
30 views

HTTP get with ESP8266 via a SoftwareSerial port

I've Arduino UNO and ESP8266 connected via a SoftwareSerial. Arduino UNO communicates with ESP8266 by sending AT commands. And I need to write a function to fetch HTTP responses and return a response ...
0
votes
1answer
48 views

Serial communication arduino mega and D1 Wemos Mini

Can anyone help me connecting arduino mega to D1 Wemos Mini serially? Please let me know most efficient and easy steps to setup a communication. Using that following tutorial: https://...
0
votes
1answer
24 views

Securing ESP8266 connections

In my setup, I've got a number of ESP8266 devices around my home controlling various devices like my boiler and some lights. They're all controlled by a central smart hub on a Raspberry Pi with a ...
0
votes
0answers
11 views

Unreliable EspSoftwareSerial Bluetooth transmission for longer read/writes on ESP8266

I have a project which runs on an ESP8266 and one functionality is to do nothing else but to read what comes in from a HC-05 Bluetooth adapter via SoftwareSerial and outputs the read data to the ...
-1
votes
0answers
28 views

I'm Not getting any response from the serial monitor

This is the code i am using to check whether my wifi module is connected or not #include <SoftwareSerial.h> SoftwareSerial esp8266(6,7); //Rx ==> Pin 6; TX ==> Pin7 #define ...

1
2 3 4 5
34