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

ESP32 PH probe analogRead Value Alternating

i got an ESP32 WROOM32-OLED with a PH-Probe hooked up to it (PIN39). When i short the probe interfcace to get a PH07 reading (connecting the middle of the probe interface to ground) i get really ...
0
votes
0answers
28 views

Data logging from ESP32 through UDP socket to PC

The idea is to send raw sensor data from ESP32 to PC through WIFI UDP socket and store it into CSV file using Python. As you can see from the code I am chopping 8 bytes of data into single bytes and ...
0
votes
0answers
22 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 ...
0
votes
0answers
66 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 ...
0
votes
1answer
36 views

MQTT PubSubClient connection problem with ESP32

I am experiencing some problems with string in Arduino application with ESP32. I don't understand why this code works: mqtt.setServer ("m20.cloudmqtt.com", port); //is OK and this does not work ...
-1
votes
1answer
41 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
36 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
1answer
26 views

Serial connection two devices two power supplies

I'm trying to connect an ESP32-CAM to a 3d printer using a serial connection. When powering the ESP from the 5V rail on the 3D printer(and using 3.3V zener diodes between tx, rx & gnd), everything ...
1
vote
1answer
29 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
46 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
35 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
49 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
0answers
23 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

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
2answers
29 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
1answer
55 views

SOLVED: Is it possible to use WiFi and Bluetooth / BLE in the same ESP32 project?

SOLVED @Majenko's answer works like a charm. I did have to make some changes as follows: Per Majenko, you need to change the Tools > Partition scheme. I used "No OTA (Large APP) as he suggested and ...
0
votes
2answers
76 views

how to use hx-53 (IR Transmitter Infrared Sensor Module) with ESP32?

ESP32 tx2 (pin17) and rx2 (pin16) uses 3.3v based signals. HX-53 data connect to tx2, gnd to gnd and vcc to vin(5v). But as i can understand HX-53 data input should be 5v based. How can i solve ...
-1
votes
1answer
61 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
48 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
52 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
38 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 ...
0
votes
0answers
30 views

error cannot convert string TO uint_8t

this is the code i am working on for controlling leds #include <WiFi.h> // esp32 library #include <IOXhop_FirebaseESP32.h> ...
0
votes
0answers
28 views

IllegalInsctruction ESP32

My code #include <WiFi.h> #include <WebServer.h> #include "DHT.h" #define DHTTYPE DHT11 const char* ssid = "mySSID"; const char* password = "myPass"; String ptr = ""; WebServer server(...
0
votes
1answer
184 views

ESP32 cam board and waking from deep sleep

I am getting an error that the sd card cant be mounted when the ESP32 comes out of deep sleep. The board is coded to wake up on a timer from deep sleep and mount the sd card and take a picture. My ...
-2
votes
1answer
54 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
0answers
21 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
342 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
59 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
1answer
83 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
37 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
100 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
78 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
62 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
1answer
103 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
2answers
219 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
39 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
1answer
94 views

ESP 32 Cam (diymore brand) and adafruit programmer FTPI friend “timed out waiting for packet header”

I am having trouble getting my recently purchased esp32 cam working. I am new to using a programmer board and really to Arduino in general. Could someone help me? Things I have done: installed the ...
0
votes
0answers
28 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
0answers
61 views

HC-05 Bluetooth fails AT+LINK

I'm trying to get a HC-05 connected as master to a Bluetooth ELM327 OBD scanner. The HC-05 is accepting AT commands, no problem. This is the sequence I use: AT+RMAAD (Clear any paired devices) AT+...
1
vote
2answers
37 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
52 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 ...
2
votes
1answer
73 views

Connecting to MQTT causes DHT11 Sensor to stop working?

I have a project I am working on, based on an ESP32 from NodeMCU. I have a bunch of sensors connected to said ESP32 - they all work and the code itself "works" with a minor quirk. The issue in ...
0
votes
1answer
23 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
36 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
43 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
16 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
41 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
31 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 ...
0
votes
1answer
41 views

ESP 32 changing frequency instead of duty cycle

Using this code on an esp32 allow to vary duty cycle of the PWM with a fixed 5000Hz frequency and is working fine. My question is how to vary frequency and keep duty cycle on a fixed value? // the ...
2
votes
1answer
31 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 -...