Questions tagged [esp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
20 views

ESP8266 - How to recieve UDP multicast packet?

how can I recieve udp multicast packets in ESP8266? I have this piece of code: #include <ESP8266WiFi.h> #include <WiFiUdp.h> const char* ssid = "my_wifi_ssid"; const char* ...
0
votes
1answer
23 views

Calculate battery (18650 Li-ion) voltage using ESP8266-12E

i am trying to calculate the battery voltage using ESP-12E module. I am using a voltage divider circuit to calculate the same. Here is how my circuit looks like: And here is how my code looks like: ...
2
votes
1answer
32 views

ESP send string to Arduino

I'm trying to send a string from an ESP32 to an Arduino. I'm using a level shifter, where the Uno is now the Mega (since I couldn't get the Uno to work). RX0 is now RX1, connected to UART2 of ESP32. /...
1
vote
0answers
50 views

Problem with ESP8266 Get Request and DMD2 Library

I am using ESP8266 to download information from server using simple get Request and DMD2 library to draw them on display. Problem I have is, that when I call dmd.begin() after some time ESP8266 will ...
0
votes
0answers
51 views

Problem in interfacing esp8266 with Arduino ide for simple blink program

Arduino: 1.8.13 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory,...
2
votes
1answer
78 views

Is it possible to check for correct architecture on OTA update (ESP32 or ESP8266)?

Having a skech running on ESP8266 as well as ESP32 with the ability to update via OTA, uploading the wrong binary (upload to ESP8266 compiled for ESP32, and vice versa) leads to crashing the MCU and ...
2
votes
1answer
118 views

What is the best way to init wifi communication between two devices (get IP address)?

what is the best way to init wifi communication between two devices without knowing IP of second device, let's say Raspberry Pi and ESP8266? I want to build simple home automation system for my ...
2
votes
1answer
188 views

Capture GRAYSCALE image with ESP32 Cam

For one of my projects, I would like to transfer a camera image with the best possible resolution and as many FPS as possible with the ESP32Cam. For this I successfully used the code from https://...
0
votes
1answer
114 views

How to assign ESP8266 access point a hostname that can be resolved by the stations?

I want to assign a hostname to a ESP8266 access point, so that the clients can reach a webserver on this access point without caring about the IP address of the AP. How can that be done? I tried using ...
0
votes
2answers
271 views

Is 1MB flash enough for OTA upload in ESP-01?

I'am asking this question, because in my ESP-01 OTA upload always fail. In fact update won't even start. When update was triggered esp wifi led(build in blue) indicates "working" , but after ...
1
vote
1answer
159 views

NodeMcu 1.0 resets automatically after sometime

I want to show some digits in a 3x3 p10 red led pannel where the number will come from the cloud and the number keeps updating. For this I have used esp8266 based Nodemcu. I have used WiFi Manager ...
1
vote
2answers
194 views

Using esp-wroom-32 without a development board

There are lots of examples on the internet on how to build Arduino from scratch such as IN THIS LINK. I will like to do the same but with the esp32. I have this development board: And I am able to ...
2
votes
2answers
58 views

ESP32 softAP SSID not const

I would like to be able to set the wifi SSID in the setup(), so I can customize it based on the MAC address or something similar. (avoiding to ESP's with the same code having the same SSID). However ...
1
vote
0answers
33 views

ESP8266-01 Upload Sketch Problem Arduino UNO

My problem is actually in two stages. I am very new to arduino uno and 8266-01. I have read many documents and watched videos for nearly 2 weeks, but I cannot even run the simplest "blink" ...
0
votes
2answers
201 views

How to prevent flickering relay upon waking from deep sleep using ESP01 board?

I have a cheap ESP01 relay module and am using it with ESPEasy. I soldered the GPIO pin 16 to RST to allow deep sleep and that all works great. However when the unit wakes up the relay flickers quite ...
0
votes
1answer
34 views

I2C comunication, ESP->Nano on endTransmission no ACK fron nano

i am trying to communicate between ESP(master) and arduino nano(slave). This is only a prototype and all works fine. But i want to add multiple arduinos and therefor i need to detect if the arduino ...
0
votes
1answer
780 views

I'm getting an error while uploading my code to esp8266 via an arduino (FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error)))

Arduino: 1.8.13 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible)...
2
votes
1answer
69 views

Problems with detecting button digital state

I am trying to start an event after pressing and holding the FLASH built-in Nodemcu button for a specific time, I wrote two functions, one for debouncing and detecting the state, the other is to ...
0
votes
1answer
70 views

Unable to send UDP packets while performing OTA update on the esp8266

I am sending specific UDP packets with my esp8266 every 5s, I have added an OTA update command, and added the update_progress callback aiming to send it back to my laptop, using a serial terminal I ...
0
votes
1answer
148 views

ESP01 and Arduino - Serial port confusion

I'm trying to understand how to think about ESP01 devices and arduino connectivity I purchased one of the USB programmers from Ebay to program the ESP01 - this works nicely, I can see the ESP doing ...
0
votes
0answers
28 views

How to use maximum GPIO on ESP12e [duplicate]

I'm using esp12e for my project and encountered difficulty in using more than 5 GPIOs. I have connected GPIO15 to Ground, GPIO0 to VCC, Enable to VCC (Connections as as per attached image). I'm able ...
1
vote
0answers
65 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 ...