All Questions
23 questions
1
vote
0
answers
130
views
Problem changing the state of the blue LED on an ESP8266
I am trying to change the blue LED on my ESP8266. I can do this (sort of...)
In the setupWifi() function below, there is a loop that is supposed to rapidly blink the LED while wifi is connecting. The ...
0
votes
2
answers
153
views
ESP8266 Wemos D1 min pro - how to change TCP_SND_BUF?
Is there any way to change the TCP send buffer size (TCP_SND_BUF) on this module ?
Now it is equal to TCP_SND_BUF = 2 * TCP_MSS = 2 * 1460 = 2920.
Editing lwipopts.h doesn't make any difference.
The ...
1
vote
1
answer
634
views
Cannot compile F() macro with R"string"
I am trying to compile the following code:
logger.log_info(F(R"(some text here that may take
multiple lines
and here it is done.)"));
But the compiler exists with the following ...
1
vote
1
answer
356
views
How I can send data information without work WiFi to LCD?
Hi everyone I am beginning learn coding and the second language English. I have small project I use Arduino uno , esp8266 , dht11 , lcd I2C and use blynk app in my project I have the code and work ...
-1
votes
1
answer
561
views
esp8266 ip address issues
I have android studio app and arduino codes they are connected to each other using esp8266
but it works only on one network when I use another network it doesn't recognise it's ip address instead it ...
1
vote
0
answers
134
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 ...
1
vote
0
answers
55
views
Where is tcp.c?
This question is related to my other question, which I already answered.
I want to add modify tcp.c to include my own code. The problem is I can't find tcp.c. The first thing I tried was looking in ...
0
votes
1
answer
1k
views
How to handle concurrent HTTP request when using interrupt
I'm trying to make a door sensor with a reed switch. Each time the there is a change, the ESP8266 sends an HTTP request to web service.
Unfortunately, the ESP8266 serial monitor dumps a huge stack ...
0
votes
1
answer
529
views
ESP8266 12-E can't connect to any Access Point with converted variables from strings to char arrays
I'm using an esp8266 12-E nodemcu
I wrote a code that scans the available WiFi networks, print them through serial communication,ask the user which network he wants to connect to and then the password ...
1
vote
7
answers
6k
views
How to parse 20180810T143000Z to time_t
What is the shortest/most elegant way (i.e. use existing lib functions) to parse a string in the form of 20180810T143000Z to a time_t? Note that the literal always represents a UTC timestamp.
I ...
4
votes
5
answers
17k
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) {
...
4
votes
0
answers
3k
views
Send custom 802.11 data frame with ESP8266 [closed]
I would like to send raw 802.11 data frames in order to transmit pictures with the ESP8266.
I have the Espressif SDK 1.3 and so far I have tried to construct a packet and send it with ...
2
votes
2
answers
3k
views
DAC to play audio samples
I have a buffer which contains 16000 PCM samples of 8Khz 8-bit mono. I am trying to play it using 12 bit MCP4725 DAC. I have tried using micros() to control the write interval for the DAC. Here's my ...
0
votes
3
answers
9k
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
1
answer
1k
views
Send events to Azure IoT Hub combined with deep sleep mode
I use a Node MCU ESP8266. I have a working C app sending temperature and humidity sensor data to Azure IoT Hub continuously. I see events/messages coming in at Azure.
Now I'd like the app to only ...