Questions tagged [esp32]

A cheap and low-power microcontroller family using Tensilica Xtensa LX6 CPU cores with integrated WiFi and dual-mode bluetooth.

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

Reading SNMP V2 OID from ESP8266/ESP32

i need to read from my ESP32/ESP8266 some SNMP V2 OID values from my home printer: it exists a library/method that can do that? I've seen some SNMP agents, but they works only with the devie as server ...
0
votes
2answers
70 views

Using different processors when it comes to arduino

I decided to learn Arduino in this quarantine so I am still a newbie when it comes to micro controllers. Basically I been doing all my projects based on the ATMEGA328P-PU: I even converted my ...
0
votes
1answer
51 views

Animation of led strip with ESP32 does not work when WiFi is in use

I am using the ESP32 for a simple project. I know how to animate an led strip using atmega328p with arduino but when I animate it on the ESP32 it does not work that great. It will be nice if I can use ...
0
votes
2answers
2k views

Arduino Uno & ESP32 communication using RS485

I am trying to establish a communication between Arduino Uno ( Master) and ESP32 (Slave) using RS485 protocol (using MAX485 module). I have successfully done this between two Arduino Unos. ...
0
votes
1answer
49 views

ESP32 send data to another ESP32 without establishing a wifi connection

Originally I was creating a project consisting of the Atmega328P and NRF24L01 to create multiple arduinos that could talk to each other. Basically I was creating something like this: As the network ...
0
votes
0answers
32 views

Arduino UNO not sending serial data to ESP32

Lately I've been struggling with Serial communication between Uno and ESP32. I'm trying to send a simple string (In my case "100") from my Uno to my ESP32. I made a voltage divider and I'm ...
0
votes
0answers
76 views

Reading TCD1304 linear CCD Sensor

I want to read the TCD1304 linear CCD sensor with an ESP32 and I'm facing some problems. As a first "warm-up" and to get familiar with this sensor I tried to generate the sensors input ...
0
votes
0answers
50 views

BLE comunication between two ESP32s

how can i send data from one ESP32 to another with BLE? I was trying library from nkolban, but i didn't know how exactly should i write the code. All I want is to send a string with 5 characters. ...
0
votes
1answer
40 views

Uno - ESP32 SoftwareSerial communication won't work

I have two boards, Uno and ESP32 and my goal is to send data from the Uno to the ESP. I made a voltage divider so my ESP doesn't get fried and I use the communication only in ONE way, strictly UNO -&...
0
votes
1answer
49 views

How to use I2S in ESP boards?

I have researched this a lot, but haven't found anything on which I can trust. I want to use a particular ESP board to play audio. To play audio, I2S support is required. But, I know that not every ...
0
votes
1answer
105 views

Which board to select in PlatformIO for ESP Wroom 32?

I'm quite new in this microcontroller topic and my next step is to make use of a wlan module, which is a ESP WROOM 32. As IDE I'm using Visual Studio + PlatformIO and I can't figure out how to access ...
0
votes
0answers
35 views

Temp Sensor not working on ESP32

I am using SHT21 temp sensor with ESP32 using I2C. The sensor only reports temp of -273 and 0 for RH. The sensor is not faulty as I have tried this on an Arduino UNO with the same sketch and it works ...
0
votes
2answers
272 views

Increasing ESP32 AP max connections

It has already been asked how many clients can connect to an ESP32 AP, but the answer is far from clear; the best one is from a year and half ago (ESP32 AP max connections: 4 or 10?) : The answer ...
0
votes
0answers
58 views

ESP-NOW and WIFI and OTA at the same time on Sender and Receiver

I am trying to set up two ESP32s so that they can be updated via OTA and at the same time send sensor readings using ESP-NOW, from Sender Board to Receiver Board. For this to work both boards must ...
0
votes
0answers
40 views

ESP32-POE/ISO unstable after 10 days of power up

i have one ESP32-POE and ESP32-POE and i'm using the Olimex RS485 module to read a power meter that is placed near the ESP32 (5 meters of CAT5 cable - 9600 8N1). My device has this workflow (it's ...
0
votes
1answer
83 views

How to display CAN BUS information on EPS32 web server?

I try to display the transmitted information from CAN bus on ESP32 web server. I saved the CAN.read() in a buffer receivedChars[i] and try to display the data by client.println(receivedChars[i]);}. ...
1
vote
1answer
91 views

How to post image using Arduino HTTPClient

I am using arduino HTTPClient to do the post request in ESP32. Can anyone help me with the part where I will be able to post an image file along with some data. The below code works perfectly fine ...
0
votes
0answers
40 views

Reduce time between two consecutive SPI transfers on ESP32

I'm trying to drive an external DAC via SPI interface using ESP32 chip. But I cannot achieve the desired speed (>1M transfers/sec, each transfer consists of 16bits). The reason is not the SPI speed ...
0
votes
0answers
60 views

How to download a large text file using Https on an esp32

Trying to create an esp32 access to a public apple calendar, but after connecting to the server and saving to SPIFFS it fails at the same point each time. I end up with a file around 220KB, when the ...
2
votes
1answer
85 views

Anyone have example code for ESP32 as media controller for Android/iPhone Media Apps

There's actually another post with this very same topic but no answers on that post. Back in January of 2020, the last commenter said he had sample code and then he went dark without posting the ...
0
votes
1answer
249 views

Function pointer call results in InstrFetchProhibited (ESP32)

I have the following issue which I'm unable to resolve by myself. Perhaps one of you could point me to issues in my code which I don't see. There is a class called communicator which handles an MQTT ...
0
votes
0answers
65 views

invalid conversion from 'char' to 'const char*' [-fpermissive]

Hi I'm new to coding arduino and I'm trying to check if a get request has the a paramater that is the string '1', but it gives me the error D:\hforr10\My Documents\Arduino\wifi_control_test\...
0
votes
1answer
362 views

Connect arduino nano and ESP32 with I2C on the GPIO7 and GPIO8?

I made a mistake connecting SD0 (GPIO7) and SD1 (GPIO8) with the SDA and SCL on my arduino nano. I got confused with GPIO21 and pin21 and GPIO22 and pin 22! Since I made a PCB prototype, I would ...
0
votes
1answer
29 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
115 views

Why doesn't pin 19 work when powering the EzSBC Esp32 board from batteries?

I recently got an ESP32-01 Breakout and Development Board from EzSBC.com. It is advertised as a board specifically designed for use with batteries because of it's low current draw when in sleep. As ...
0
votes
0answers
49 views

I need an example of how to send AT COMMANDS to SIm7000E GPS+LTE module from ESP32 and reading those response in Serial monitor

Actually I need to make HTTPS post request using SIM7000 and ESP32 but the available libraries don't have a function for HTTPS post request, I wanna make this request using AT Commands. I need a ...
0
votes
0answers
24 views

How to convert 13 digit EPOCH time into time and date? [duplicate]

Here is my sketch, where the time is in the JSON document: #include <HTTPClient.h> #include <Time.h> #include <TimeLib.h> #include <Wire.h> #include <WiFi.h> #include <...
2
votes
1answer
642 views

WindowsError(31, 'A device attached to the system is not functioning.') in arduino

Having board esp32 devkit v1, to get started with arduino ide (installed recommended boards for esp32) I marked board asDOIT ESP32 DEVKIT V1 (as no other options as like ESP32 DEVKIT V1 ) so upload ...
0
votes
0answers
31 views

esp32 pico kit - actual clock speed vs crystal vs max_speed etc

I am trying to understand how the clock speed in the esp32 works. I am running arduino ide 1.8.12 with 1.04 board definition - on a pico kit 4 module . The device datasheet says it has a 40mhz crystal....
0
votes
0answers
38 views

esp32 board crashes

I try to connect sensors to esp32 board. when connecting a sensor, for example, DHT11, but it happens with others as well the board enter into a loop of boots with the following error 19:36:37.440 -&...
0
votes
0answers
47 views

library problem ? how to solve this?

Arduino: 1.8.11 (Windows 10), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None" Multiple libraries ...
0
votes
2answers
74 views

Antenna for ESP32-pico-d4

I am currently playing a bit around with the esp32-pico-4d, it does not have an onboard antenna, so an external antenna is needed, tho I don't know a lot about it so a little help would be appreciated....
0
votes
0answers
16 views

ESP32 - use std::bind to use Ticker library inside a custom library

My goal is to use Ticker inside a custom library. When originally asked by me in Error in defining Ticker in ESP32 library, I did not manage to fully comprehend the use of helper function. Appreciate ...
0
votes
1answer
2k views

Wiring parallel TFT with ESP32

I have this Parallel LCD TFT. I want to connect it with an ESP32 (NodeMCU). I am using the TFT_eSPI library. In the TFT_eSPI documentation, it says that the connection should be as following: // The ...
0
votes
1answer
75 views

ESP32 - DeepSleep loop or not?

I'm trying to create a battery & solarpowered ESP32 for future use with sensors. It connects to Wifi, MQTT, publishes some readings and status messages and go back to sleep. From time to time (can ...
0
votes
1answer
353 views

SIM800L LED is not blinking

I am using a SIM800L Module with esp32. I am using a 3.7V 2800mAh lipo battery to power the sim800L but the LED is not blinking. I am lookng for answers in web but evryone seems to have a different ...
2
votes
4answers
3k views

Convert String to IPAddress

How can i convert a String to IPAddress on arduino / esp ? etc. "192.168.1.2" -> IPAddress(192, 168, 1, 2) Tried this void setup() { Serial.begin(115200); IPAddress apip; const char *...
0
votes
1answer
41 views

esp32 http client response only 200 didn't receive the data after that

i am using esp32 as a client and using following example. So here i am getting header response only that is 200. I am not getting any response after that. here is the example #include <WiFi.h> #...
0
votes
0answers
25 views

esp32-pico-4d not working

My power supply is feeding the esp32-pico with 5v tho it says that there is 0 amps power drain, already there I know something isn't working since the power drain should be around 0.080amps, (it can ...
0
votes
1answer
120 views

How do i fix the “A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header”

I have an AI Thinker ESP32-CAM and I've had issues uploading the CameraWebServer sketch, every time I hit upload it says "A fatal error occurred: Failed to connect to ESP32: Timed out waiting for ...
0
votes
1answer
38 views

ESP32 using PubSub, creating an error when implemted inside a library

I wish to combine into a single library Wifi + MQTT, for a multi devices project. right after boot, getting Wifi - I get an error the moment MQTT server is trying to connect: mqttClient.connect(...
0
votes
1answer
87 views

ESP32 - `Brownout detector was triggered ` upon Wifi begin

I'm Using an ESP32 - NodeMCU. One of the MCU's is acting weird upon boot, while at start I thought it was something to do with its sleep cycle. But, it seems that even on a minimal code as shown below,...
2
votes
3answers
1k views

ESP32 CAM failed to get frame in time

So I think the title says it all. I recently purchased an ESP32 CAM in India for a pretty cheap price. It looks like an AI Thinker but doesn’t have the tag on the chip itself. Nonetheless, to get it ...
0
votes
1answer
93 views

3.3V to 5V PWM level shift

I need to shift a PWM signal from a ESP32 (3.3V) to receiver that supports 5V. The signal is at maximum of 400Hz. Can this shifter do the job ?
0
votes
1answer
34 views

Is it possible to send data from internet server to ESP8266 behind proxy or regular requests from ESP8266 are required?

It would be kind of push notification or something like that probably. I can first connect to server and send it any data for "registration"... I found many examples with websockets but all ...
0
votes
0answers
34 views

Is it possible to implement old AVR library onto arduino (specifically, NodeMCU esp8266)

I am a Computer Engineering Undergrad, currently in a cryptography(computer security) course, and I was assigned to do projects about implementing µNaCl library onto Arduino. I currently own a nodemcu ...
0
votes
1answer
537 views

ESP32 Alexa Integration; Cannot correctly control more than one device

I created a garage door opener recently that is controllable through Alexa, using this library: https://github.com/Aircoookie/Espalexa Everything is operating as expected, meaning I was able to ...
0
votes
0answers
53 views

esp32 e-paper driver not working

I am trying to setup waveshare 7.5 display (Waveshare_7_5) with esp32 e-paper driver using ESP32-e-Paper-Weather-Display My code is here https://pastebin.com/raw/2zQDe9a9, have corresponding ...
0
votes
1answer
88 views

LED and MOTOR “ON” when A BLE DEVICE APPROACH ESP32 MICROCONTROLLER DFR0575

I have this code that is working perfectly but I want my device to start vibrating too (right now only the led is working) On a Wemos Battery Module I have simply connected the vibration motor on the ...
0
votes
1answer
50 views

Arduino exercise that i have no idea how to do

The messages received by the Arduino take the form: $ Ba, Pb, Rc # Where $ represents the beginning of the message, # represents m, and B, P, and R are characters representing B button, P period and R ...

1
2
3 4 5
8