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
6
votes
2answers
10k views

How to choose alternate I2C pins on ESP32?

I'm a begginer with Arduino and this may be a basic question but I'm facing an issue. I'm using a HTU21D sensor with an ESP32. This sensor use I2C communication. Inside the Arduino library, there is ...
0
votes
0answers
972 views

Using ESP32-CAM (with ov2640 camera image sensor) to send image via USB

I was trying to obtain image from ESP32-CAM (with ov2640 camera image sensor). I obtained the image through camera web server by connecting the ESP32-CAM and PC to same wifi network. A USB to TTL ...
1
vote
1answer
273 views

ESP32 Pins won't fit in solderless breadboard

I bought an Adafrut Huzzah32 ESP32 for an IoT project. When the ESP32 arrived, I attempted to fit it into my existing breadboard, but I immediately noticed that no matter how hard I pushed, the pins ...
0
votes
0answers
99 views

SPI receive register size of ESP32

ESP32 has 64 byte SPI FIFO size, but I could not find what is the largest bit size it can receive over SPI? P.S. I need to interface a sensor, which returns 32 bit response. EDIT to clarify why I am ...
-1
votes
1answer
43 views

How to power and switch on / off multiple boards at the same time?

I have many nodes. Each node consists of an MPU9250 and ESP32. Each node functions independently. They don't interact with each other. How can I power all of them at the same time, and switch them ...
1
vote
1answer
140 views

Programming ESP32 MCUs for production

Before committing to learning about the ESP32 and how to program it, I would like to know if the ESP can be programme the same way for production as it can on évaluation boards (with the Arduino IDE). ...
0
votes
0answers
70 views

What is the format specifier for string in arduino

I have a string formattedDate. When I am trying to give sprintf(payload,"{\"timestamp\":\"%s\",\"temperature\":%f,\"humidity\":%f}",formattedDate,t,h); Its not printing the date and time.
-1
votes
1answer
2k views

power consumption of esp32

I'm currently working on an IOT project with my esp32, ill need it to run on batteries, I will only be needing "active mode" with wifi once per hour to upload some data to a database and then go back ...
0
votes
0answers
1k views

ESP-NOW: Master and Slave at the same time

I am interested to use ESP-NOW as a means to transmit data between two ESP32's back and forth, - each ESP receives and sends data, taking turns. The example library provides an example sketch for ...
0
votes
2answers
634 views

flash read err, 1000

I know this question has been asked multiple times but solutions giving there hasn't been working, I've got an esp32 soldered to my own designed PCB board with a UART to USB converter all that is ...
0
votes
0answers
119 views

ESP32 OTAWebUpdater only works on mobile

I'm experiencing something strange. I opened the default ESP32 example "OTAWebUpdater" in the ArduinoIDE and modified just the network part (I created a soft AP instead). The problem is, when I ...
0
votes
2answers
46 views

serial port through Rx and Tx want work

my serial connection prints rubbish, but it systematic, so it's not just random as you see on image 1, any help would be appreciated other info: the first image of the serial monitor of COM6 is my ...
0
votes
2answers
155 views

Sizes of the original ESP32-DevKitC-32U Wifi board

I know that this topic does not apply to Arduino, but for me it is important to find a solution to the problem. I know the consequences. I'm creating a pcb board into which the original ESP32-DevKitC-...
-1
votes
1answer
329 views

How to control 220V RGB Led Strip with Arduino/ESP32 [closed]

I need to control 220V RGB Led strip with Arduino/ESP32-wroom over internet. Single color led is easy (just with a relay), 12V RGB can be done with PWM and maybe external power source. But how can I ...
0
votes
1answer
119 views

Which Arduino microcontrollers are able to drive a parallel 8-bit ILI9341 display at 320x240@60fps with DMA or extra CPU core or both and how?

I've always wanted to make my own game console. I don't know why the existing Arduino game consoles have this issue with framerate when a 2006's Sony handheld PC had 1GB of RAM and an Intel CPU ...
0
votes
0answers
358 views

How to get the value of an Arduino/ESP32 variable and use it in a Javascript file?

I have a variable in my ESP32 code. I also have a webserver that displays a HTML page, and in this page I can type a value in a form and send it to that variable via HTTP GET request. The HTML of ...
0
votes
0answers
225 views

Choosing between ESP32 and Arduino Pro Mini

This is probably a fundamental question but I am hoping to get some pointers on how to chose between Arduino Pro Mini and ESP 32. I am hoping to make a wrist based wearable like fitbit. Three ...
-1
votes
3answers
2k views

Arduino Voice recognition

Is it possible to use only arduino to do voice recognition? or maybe with esp32 no internet. I found speech recognition chip but that's not what i want I got esp32 esp8266 and arduino board. I would ...
-2
votes
1answer
93 views

PIR sensor and hex inverter open collector [closed]

the M7404 Hex inverter is used to send an active low signal from a PIR sensor to a microcntroller pin However the reset is being constantly sent some signal keeping it set to on. You can tell because ...
0
votes
1answer
320 views

Connecting to WiFi on ESP32 using credentials from SD card

I'd like to use an SD card to provide the login credentials to an ESP32. I've already got the ESP32 reading the relative data from the SD card and storing it as a char array on the ESP, but when I use ...
0
votes
1answer
283 views

Person (phone) detector that trigger an event esp32 cam [closed]

So me and my dad are trying to catch would be thieves and also someone leaving behind alcohol bottles. At his storage business the cameras don't reach to these spots. Without being too invasive I ...
0
votes
0answers
75 views

How to count and list number of all UDP clients to WiFi softAP or event if new available?

I have simple ESP32 app (server, soft access point): WiFiUDP Udp; .... void setup() { WiFi.softAP(ssid, password, WiFi_chennel); Udp.begin(portServer); } .... void loop() { .... for(byte i=0;i<...
0
votes
1answer
2k views

esp32 cam and PIR sensor

I have tried all the GPIO pins listed here:I am following this tutorial to save a picture using the ESP32 cam board. I am trying to add a PIR sensor. https://randomnerdtutorials.com/esp32-cam-take-...
1
vote
1answer
456 views

Firmware backup and restore

I need to have the firmware stored somewhere on the board in order to get back to it after flashing a new firmware. Is there a way to store a backup of the firmware somewhere, and use a button to ...
0
votes
0answers
140 views

Cannot import library file from ESP32 sdk library in “Eclipse C++ IDE for Arduino” project

I have successfully installed "Eclipse C++ IDE for Arduino" and the Plugin works fine. Now I installed a custom board (ESP32) by adding package_index.json URL in windows>prefrences>C/C++>Arduino. The ...
0
votes
1answer
145 views

Stuck with bad sketch

How can I get my programmer board/windows computer to recognize my board again. I am using the esp32 cam and have put two boards in a state where I am unable to flash them anymore. here is the error: ...
1
vote
0answers
233 views

esp32 and the esp32-cam (agoal)

Is it considered possible to use the esp32 code on an esp32 cam board? Do they use the same hardware? I am having difficulty using this sketch https://gist.github.com/wybiral/...
0
votes
0answers
176 views

Can I use the NodeMCU ESP12 5v pin and control it with a relay?

This question might be a little esoteric, but I cannot find any answer for it. Situation: I want to have more than 8 Analog sensors on a NodeMCU ESP32. Unfortunately due to SPECTACULARLY poor design ...
0
votes
2answers
2k views

Constant ADC sampling rate on ESP8266 or ESP32

I want to sample Sound input with either an ESP8266 (preferred) or ESP32. As I'm using a low pass filter anyway, a sample rate of 1000-2000hz would be totally ok. What is more important, is that it is ...
0
votes
0answers
48 views

SPI - different implementation / timing

I'm a little bit confused. I'm running the same code on a ESP32 (Adafruit Huzzah32) and an Arduino (SparkFun Pro Micro). It works on the ESP32 but not on the Arduino. Are there different API ...
0
votes
0answers
63 views

How to read voltage value from arduino to esp32

I am learning Arduino(uno)-ESP32 basics for a hobby project. In Arduino sketch, it's writing some random value(mimicking a sensor) to Arduino analog pin 9. const int analogInPin = A0; // NOT ...
1
vote
2answers
179 views

How is better to store html / java script / in code or in flash on esp32

I have an esp32 which is running a web page together with a java script and using socket I update some values on the web page. I am doing this very fast (like each 50ms). Now I am serving all the html/...
1
vote
1answer
126 views

PUT request: PHP code to Arduino HTTPClient

I'm uploading a file to Azure blob storage using REST API request. The file uploaded successfully using PHP curl request. But when I transfer the code into ESP32 HTTP client I'm getting an ...
0
votes
1answer
49 views

Change css form color from esp32 if statement

I am fairly new to arduino and ESP though am very familiar with css and javascript. I have an esp webserver that includes a button client.print("<button style='background-color: #F30C0C; color:#...
1
vote
1answer
40 views

Webpage values wont update

I've been trying to run the following esp32 LED PWM code to change the LED's brightness, and show the current PWM duty on the webpage, but the PWM values on the webpage won't change until I hit the ...
1
vote
0answers
208 views

OTA updating the ESP32 from a separate server

I have an ESP32 project which I'd like to be able to update OTA. The trouble is that it is in deep sleep for approximately 15 minutes before waking up, connecting to WiFi sending an MQTT packet then ...
0
votes
0answers
67 views

Code Optimisation in esp32

I need to optimise my code for a real time system using a esp32. What's a simple and accurate way to benchmarks and statistics on the Arduino platform?
1
vote
0answers
121 views

Low voltage security

I'm building a circuit with a GPS sensor and an esp32. My input voltage is designed to be 5V but I experienced some issues where people put lower charger in input (<4V). As a result my esp32 will ...
0
votes
0answers
47 views

Online Json Service for Esp32

I'm building a simple outdoor temp and humidity sensor with an esp32 I've aquired but I need a platform that I can submit the Json to so that then my laptop can make an http request to get the Json ...
2
votes
1answer
62 views

GPS Module don't provide full data

I connected my gps module (NEO-6M) with esp32doit-devkit-v1 board. The module provided data but many data are missing. My pin configuration: GPS ------- ESP32 VCC ------- 3v3 GND ------- GND TX -...
0
votes
0answers
186 views

Create file with timestamp

I have a code which creates a file then store relevant data. My first purpose was creating then rewriting (delete & write again) with same filename. However, now I have to log different data to ...
0
votes
1answer
100 views

How to stole/read data from an output serial port?

(Sorry, I'm not a native English speaker) I have a chip with Serial Input, Serial Output, and a Clock (used by both serials). I want to read the output with an Arduino or ESP-32. The device I want ...
1
vote
2answers
52 views

Two sensors using I2C

We have two sensor one of them(MPU6050-gyro) is communicating using I2C, the other is via SPI(SD card reader). Now, we need an additional component as a sensor that the barometer which communicates ...
0
votes
1answer
561 views

Stack smashing protect failure ESP32 with Modbus RTU

I'm doing a project using an ESP32 TTGO with LoRa, the Max485 and a WELLPRO ADAM 8082 for Modbus communication. I'm trying to use the ESP32 as a master to and the ADAM as a slave. I'm also using Node-...
2
votes
0answers
137 views

Clock cycle count count for the same command is not equal in ESP32

I am using ESP32 Pico Kit with Arduino Ide. I want to measure operation cycle for a few commands. The code is so simple as below: void setup() { Serial.begin(9600); } void loop() { unsigned ...
1
vote
0answers
764 views

Arduino HTTP post image to external server

I'm trying to send an image from SPIFFS to my external server. When pictures are taken, they are saved into "/pics/" directory within SPIFFS. Ultimately, I'd like to post all the images saved onto "/...
1
vote
0answers
67 views

Reducing json upload time

I'm using an ESP32 WROOM board to capture some data in the field and send it over using arduino json. However, the complete process of sending and receiving confirmation takes up around 12 seconds and ...
2
votes
0answers
2k views

ESP32 IR remote

my board is a firebeetle esp32 that I am using as an IR remote. After using the Ken Shirrif IRremote library for about 6 months successfully, then the time came to change a few things on the web ...
1
vote
0answers
2k views

Send file from ESP to server via FTP

I've a code which records sound to SD, then starts an FTP connection for a limited time. I want to make an automatic system which records then sends the sound file continuously. Now I'm recording ...
0
votes
0answers
30 views

Wroom 32 can't be recognized by Arduino 1.8.9 on a ubuntu 19.04 computer

I started by plugging my Wroom 32 into my Kubuntu desktop. I checked my /dev before and after, and found no changes. After opening Arduino IDE, I only found my other Arduino, the Arduino Due, in the ...