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
18 views

Batch programming AVR chips via ICSP with an esp8266

I had an interesting idea recently, but don't have all the knowledge needed to make it work. I know that several people have made Arduino programmers with an esp8266, allowing them to program the ...
0
votes
0answers
32 views

Send data to lcd and server via esp8266

The code below, as it stands, works correctly. It connects to a local server (so Token and everything else is no problem sharing) and transmits the data via post. However, when I uncomment the lines ...
0
votes
1answer
30 views

Is there an Arduino library that uses ARP to get list of connected devices on network?

I have been looking for a library that can execute an ARP (Address Resolution Protocol) command to return a list of connected devices on the network. The idea is that it would send the request to the ...
0
votes
2answers
32 views

ESP Web Server calling javascript function

Is there a way to call javascript functions from ESP? I don't want to call ajax requests every few seconds. I want to update my values only when they change. Can it by done? Thanx.
0
votes
1answer
25 views

Can the ESP-1 use SPI to communicate with sensors?

I wonder if I can use SPI to communicate between ESP-1 ESP8266 module and SPI sensors and other slaves. If so, do I need to install a library?
0
votes
0answers
34 views

How to update data to xml file

I have search lots, and finally I was able to get my project moving! I have learned to create an xml file and get data from it using XMLRequest vía "get". I'm using a Nodemcu 12e v.1 I believe, have ...
0
votes
1answer
29 views

SoftwareSerial data being corrupted - looking for suggestions

I'm having problems running a serial communication between a NodeMCU ESP8266 and an Arduino Uno. I'm using the "standard" SUART setup, i.e. pins D1&D2 on the ESP are hooked up with GPIOs 2&3 ...
0
votes
0answers
40 views

Is it possible to make a stand alone ATMega328p with a wifi module and send real time data to firebase? [closed]

I need to make a standalone ATMega328P with any WiFi module. Basically I have some sensors and actuators connected to ATMega328P in a PCB. I want to sent real-time data to firebase (preferably as JSON ...
0
votes
1answer
25 views

How can i receive data from multiple sensor present at different location to a single Arduino wirelessly? [closed]

Suppose my project has 100 sensors present at different locations all within 100 m range and i want to receive data from all those sensor using a single microcontroller or Arduino wirelessly which ...
0
votes
1answer
35 views

PlatformIO :collect2.exe: error: ld returned 1 exit status

I am trying some library files for esp8266. I created hpp and .cpp files. But i try to compile program i got this error on VSCode. collect2.exe: error: ld returned 1 exit status *** [.pio\build\huzzah\...
0
votes
0answers
24 views

Rotary encoders and wemos d1 mini [closed]

How much rotary encoders with a button click can I add to my wemos esp32s d1 mini ver 1.0.0? thanks
-1
votes
1answer
47 views

How to configure 8*8 Dot Matrix LED display with this particular code?

I'm making a cryptocurrency ticker using NodeMCU ESP8266 and have this code so far, I don't know how to configure a dot matrix led 4 segments of 8*8 each with this particular code. The only thing I ...
0
votes
4answers
50 views

MD5 Password in Sketch

I'm playing with Over The Air (OTA) updates in my LoLin. I can make connections to my router and OTA updates seem to work well. I'm uncomfortable storing my WiFi router SSID and password unencrypted ...
0
votes
0answers
33 views

Error sending data too large for ESP8266

The code below I use it to send data to a server. However, if you add one more node to json postRequest, the serial will stop showing data and it will not be sent to the server. However, if I remove a ...
1
vote
2answers
49 views

Spiffs vs Eeprom on esp8266

In my project, i have some data to save permanently. After some research i got many examples and informations to do that with eeprom. I used it effectively. After all i decide to deep dive to esp8266 ...
-1
votes
1answer
21 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
0
votes
0answers
25 views

Unable to get input from Wemos D1 PIR sensor

I am using the script below to create a motion sensor using a Wemos D1 and a PIR sensor. I'm using the ESP8266 Community board manager (V2.6.3). THE PROBLEM When I use the Wemos D1 R1 board no ...
0
votes
0answers
49 views

esp32 arduino wifi disconnect

I have this code running on ESP32 connected to SVM30-J #include <WiFi.h> #include <PubSubClient.h> #include <Arduino_JSON.h> #include <svm30.h> // Replace the next variables ...
-1
votes
0answers
39 views

Is it possible connect esp8266-12E and Bluetooth on arduino to turn on my project

I work on to build electronic project contain many component device to control in Arduino-uno by WiFi module (ESP8266-12E) & Bluetooth module (HC-05) and many Switches ( buttons ) to send data in ...
0
votes
0answers
20 views

Is it possible to print to a Google Sheets document from an Arduino and ESP8266?

So I'm looking to use an ESP8266 with an Arduino Uno to print something to a Google Sheets document. I would be printing the time and date from a real-time clock module, the id of a fingerprint ...
0
votes
0answers
66 views

Serial communication is not working in arduino pro mini

I am using arduino pro mini ATmega328P(5v 16MHz) and a ftdi FT232RL to connect to the PC. The arduino does not produce any output for the AT coomads(blank output) when I connect both rx and tx pins to ...
0
votes
2answers
52 views

Esp8266 Arduino WiFi Exception Error 29

Background: I know nothing about hardware. I am writing a small project with Arduino IDE, ESP8266 library, and my board is ESP8266 V3 ESP-12N F NodeMcu Lua CP2102. Now I get Exception 29 and I don't ...
0
votes
0answers
26 views

Problem with Reading Multiple Analog Values From ESP8266 NodeMCU

I am using ESP8266 nodemcu with ADS1115, but values are totally wrong. Why this happened? Is there any solution to extends the Node MCU 8266 pins with accurate sensor values ?
0
votes
0answers
21 views

Improper functioning of Node mcu when connected to source other than PC

I connected EM18 rfid reader to NodeMCU to read rfid card data. It showed card number very quickly and consistently till it was connected to my PC's USB. But when I connected it to 5v power source (...
3
votes
2answers
67 views

What is difference between NodeMCU and esp8266?

Since I have no previous experience in electronics I'm getting quite confused while coming across these two terms ..I'd like to know whether they're the same or different.
0
votes
1answer
33 views

What's the relation between arduino standard library and esp8266 library?

Can I only use the Arduino standard library, without touching any esp8266 related header files? I tried to connect to WiFi , succeeded with ESP8266WiFi.h header, but failed with Arduino library WiFi....
-1
votes
0answers
24 views

ESP8266 ports for matrix keypad

I am writing a complex program, and using esp8266 (while i am testing it on nodeMCU v3 this is not the target, just a testing tool) I have been checking https://iotbyhvm.ooo/gpio-pins-esp8266/ to help ...
0
votes
1answer
22 views

Arduino ESP8266 Ticker interrupted by DallasTemperature/OneWire?

I have been using the Ticker to blink a led successfully. However, now I am fetching temperature from a DS18B20 in the main loop (which is using the OneWire library) and the blink is now erratic. Is ...
0
votes
1answer
26 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
10 views

Not able to run mysql query but able to connect using mysql library from wemos d1 mini

I have a very simple code trying to insert data to mysql server from wemos D1 R1, I am able to connect to mysql server, but not able to insert data or even select anything. #include <ESP8266WiFi....
0
votes
0answers
8 views

ISD1820 extending memory

ISD1820 -: hello every one hope all doing good my question is can we extend or attached memory card to ISD1820 , i know we have other option but i want to make dynamic so recording and playing can be ...
0
votes
0answers
11 views

Getting maxretry error when trying to ping using python requests or urllib3

I have written this code working on SimpleHost example from ESP8266Ping library, the code works, #include <ESP8266WiFi.h> #include <ESP8266Ping.h> #include <ESP8266WebServer.h> #...
0
votes
1answer
38 views

Use of progmem in ESP8266 vs AVR and also how to handle large dynamic strings

This is a somewhat tricky question dealing with implementation and best-practices of the ESP8266. I'd ideally hope that it's answered by people with in-depth knowledge on the problem. As you are ...
0
votes
0answers
25 views

How to tell if a config file was made with the current firmware?

I'm designing an application for the ESP8266 that stores certain information to a config file in SPIFFS. However, I'd like to store some information in a battery-backed NVRAM chip attached to it (to ...
0
votes
0answers
29 views

8266 get uint8_t PROGMEM array from uploaded file

I'm new programming arduino. I have connected an Adafruit thermal printer to an ESP8266 board. I've the example code for use the board like a webserver that allow upload files. What i want is to ...
0
votes
1answer
40 views

ESP8266 Deep Sleep Wake Up

I am testing esp8266's deep sleep mode. And i have some questions about that. 1- I want to wakeup esp via timer. I did it. I implemented GPIO16-RST connection and this version done. 2- I want to ake ...
-1
votes
1answer
56 views

NodeMCU V3 Serial input results in Fatal exception 9 (LoadStoreAlignmentCause)

I am building a simple telnet style interface for experimental settings on my project. I am getting all the serial output sent to serial (and USB to PC). The code works fine, but if I try to read from ...
0
votes
0answers
19 views

ESP-01S + Fastled

I am trying to control a WS2812B Led Strip with my ESP-01S board. It works fine with my ESP32 DevKit board, but the ESP-01S won't do anything :/ I couldn't figure out which 2 GPIO the ESP-01S is using ...
0
votes
1answer
126 views

NodeMCU second HARDWARE serial TX as a debug port

I'm using a NodeMCU board to send commands to my home electricity switching box - using RS485 communication. For that, I've connected MAX485 TTL-to-RS485 converter module to my TX and RX pins. ...
0
votes
0answers
104 views

Error compiling for board LOLIN(WEMOS) D1 R2 & mini

Receiving the following error message when compiling for D1 mini. This code worked previously but I am using a fresh install of Arduino IDE. I have installed ESP8266 boards using the board manager and ...
0
votes
0answers
42 views

ESP8266-01 Serial.print returns a blank given a valid string

I am currently trying to create a led matrix with ws2812b leds. I am using an uno on the rear of the display to control the leds and now I want to add wifi capabilities. Since I already had serial ...
0
votes
0answers
36 views

ESP8266 keeps restarting after a few hours of use and dead after 1 month of use

I have tried to make a water heater relay controlled by an ESP8266 (NodeMCU v1.0). The ESP8266 is connected to a central WiFi in my house, the ESP8266 also has its own WiFi so I use STA and AP mode ...
0
votes
2answers
86 views

My ESP8266-01 doesn't want to respond to AT command after a successful flash!

Well hello, experts, I've been trying to fix my issue all time, but all in vain. I have an Esp8266-01 with 1MB memory. I've flashed it with an official AT firmware V2.0.0 of espressif with the help of ...
0
votes
0answers
15 views

Getting weird output for following object detection code using interrupts on HUZZAH ESP8266 and motor controller L293D along with 3 HCSR04 sensors

I am trying to implement a bot which can sense obstacle in front, left or right and post detection send interrupts. Which in turn will perform the appropriate motor function to avoid these obsticles. ...
1
vote
1answer
85 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 ...
1
vote
1answer
132 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 ...
0
votes
0answers
31 views

ESP8266 Connection with WPA2-PEAP Enterprise Network

I am trying to connect my nodemcu 12E module to WPA2-entrprise network but not able to connect. I had gone through the Espressif Forum and GitHub but still not able to resolve my problem. here is ...
0
votes
0answers
48 views

ESP8266 mqtt publish + subscribe + serial read

seems I have some issues in my code as I subscribe for specific mqtt topic and also read same value via serial and publish it to mqtt. It takes time for device connected to serial to change setting ...
0
votes
0answers
53 views

ESP8266 can't get IP from DHCP

I buy ESP8266MOD chip and flashed with FW: MicroPython v1.11. Now I have problem connect to my home network via DHCP (like other device in home). Below is code which I send to ESP8266 via ESPlorer: ...
0
votes
1answer
25 views

Need advice on serial bytes reading optimization

I am doing some device serial data read and publishing values to MQTT. Using ESP8266 for this. Currenty I request serial device by sending a command and parse all byte values individually, how to do ...