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
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
0answers
61 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
50 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
65 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
24 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
54 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
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
62 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
23 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
36 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
0answers
22 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
37 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
42 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
27 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
17 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
17 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
67 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
187 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
48 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
43 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
68 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
15 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
29 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
45 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
54 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
33 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
65 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
25 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
13 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
1answer
46 views

Can I connect 220V AC supply to Node MCU (or any arduino)pin D1 and D3 while node MCDU is power off?

Can I connect 220V AC supply to node MCU pin D1 and D3 while node MCDU is power off?
5
votes
1answer
592 views

What does []() argument in function mean?

I am working in ESP8266 AsyncWebserver library and have been using this [](parameter) as an argument to some functions as shown below but does not really know what it means. Being a neophyte I am ...
0
votes
1answer
50 views

How to convert four uint16_t to double float IEEE754?

I am working in a Modbus project where I have to read modbus Holding and Input registers using ESP8266, I am using ModbusMaster232 library. I returns a response buffer array of uint16_t. I need to ...
0
votes
0answers
34 views

Arduino UNO + ESP8266 fails when using char buffer instead of String

I have an Arduino Uno connected to an ESP8266 via an ESP-01 adapter. The adapter is powered from the Arduino 3.3V and GND pins and the Tx/Rx to the Adapter use Arduino pins 2/3. The purpose of the ...
0
votes
1answer
31 views

ESP 8266 reverse digitalWrite behaviour on which pins?

I am using a device with an ESP 8266 microcontroller. I have discovered that setting LED_BUILTIN to HIGH turns the built-in LED off and setting LED_BUILTIN to LOW turns the built-in LED on. This ...
0
votes
1answer
28 views

pubsubclient won't compile in Arduino and VSCode IDEs

I've compiled successfully a year ago in Arduino IDE, but lately I'm getting fatal errors: /Users/davidjeffers/Documents/Arduino/libraries/PubSubClient/src/PubSubClient.cpp: At global scope: /Users/...
-1
votes
1answer
29 views

ESP8266 to ESP8266 via home rooter

I would like to ask how to build a star topology network with several ESP8266s, pc and a home wifi router? I would like to connect my computer (as a client) and ESP8266s (as clients) together via a ...
2
votes
2answers
120 views

Crash when serving static files width ESP8266WebServer

For the past two days, I've been trying to set up an ESP8266WebServer to serve my static web app files from SPIFFS. But as soon as I make a call to serveStatic, the ESP crashes. This is the exact code ...
0
votes
1answer
23 views

NodeMCU V2 ESP8266 - Use 5VIN as power for heater of a MQ-9 Sensor

Right now I'm trying to understand how I could (easily) power the heater of my MQ-9 carbon monoxid and gas sensor. Here is the datasheet: http://www.haoyuelectronics.com/Attachment/MQ-9/MQ9.pdf It ...
0
votes
1answer
40 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
votes
2answers
79 views

HC-SR04 ultrasonic sensor: How to check voltage on the ECHO pin

I'm using and ESP8266 with HC-SR04 ultrasonic sensor. The sensor requires 5v input and will also output to the GPIO pins at 5V. ESP8266 has a strong recommendation to use 3.3V into the GPIO pins. I'...
0
votes
1answer
22 views

nodemcu doesnt response in at command mode

I want to sent AT command into node mcu esp8266 module with arduino IDE through serial monitor. I connect the node mcu to arduino uno board in following sequence: RX to pin 2 of arduino TX to pin 3 ...
0
votes
2answers
33 views

Several ESP8266 in wifi network should share information

I am currently working on a project for my home where several ESP8266 (each with a relay) control lights. I have developed an android for this where I find the ESP8266s via mdns but the problem is ...
0
votes
1answer
40 views

How does code typed in Arduino IDE runs on a nodemcu?

I actually have a series of questions regarding Nodemcu and esp8266. How does code typed in Arduino IDE run on Nodemcu? What firmware is present on the nodemcu? How do I upload the above firmware on ...
0
votes
1answer
26 views

Arduino vs Wemos Fan control

I have a working fan control with the correct wiring that works with arduino. I would like to change the arduino with a Wemos D1 mini board. When I hook everything up. The fans are not activated. ...
0
votes
0answers
22 views

SHT30 activating Fan control

I've a working hardware setup and two codes 1 to read the sht30 and push the data to my tft screen. And 2 a code to set a fan (2fans) on and off. I want to combine these whenever the humidity is ...
0
votes
0answers
40 views

Parsing Data from local websever

i´m trying to build a little monitor of an ESP8266 and an OLED display that displayes the Status of a Robotarm. The robotarm is controled by a RAMPSboard that has a webserver, so i can check the ...
0
votes
1answer
25 views

random soft wdt reset while request

i am making post requests with esp8266 on nodeMCU. i have a messy code so i dont want to annoy you with showing it here. the problem is i get soft wdt reset time to time while making request. for ...
-1
votes
1answer
22 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) ...
0
votes
0answers
61 views

The Arduino Oscilloscope - Error message: 'ADCSRA' was not declared in this scope

Project: The Arduino Oscilloscope - published in The MagPi No. 71 July 2018 This is my first Arduino project! I'm porting over the sketch "Gather_A0.ino" but I'm encountering compile errors: Error ...

1
2
3 4 5
35