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
2answers
95 views

Information about 'Arduino Nano 33 IoT'

blox w-102 is based on esp32** which (Esp32) can be used as a standalone chip for projects. Here I want to know how w-102 and samd21g18a are communicating with each other. If they are communicating ...
0
votes
0answers
23 views

How can I display text on OLED?

I'm trying to print the information, which is received from the other ESP32 by CAN transceiver, on an OLED. The CAN bus is working perfectly, as the 'HELLO WORLD' is already be received. But I can't ...
1
vote
2answers
223 views

esp32-cam publish image to mqtt

I want to publish image capture through ESP32-CAM to MQTT. Have following code : #include "WiFi.h" #include "esp_camera.h" #include "esp_timer.h" #include "img_converters.h" #include "Arduino.h" #...
0
votes
0answers
17 views

ESP8266 GPIO limitations with HC-SR04

I want to build a systems that measures if some parking spots are occupied or not. I chose to use an ESP8266 12-E NodeMCU Kit with multiple HC-SR04 ultrasonic sensors. In my project, it is essential ...
0
votes
1answer
24 views

ESP32 HTTPS server - how to get POST request string

I'm trying to set up an ESP32 (DOIT ESP32 DEVKIT V1 in the Arduino IDE, with Espressif's WiFi libraries) with the following includes so far: #include <WiFi.h> #include <WiFiClient.h> #...
0
votes
0answers
24 views

ESP8266 + Arduino Mega

I am currently carrying out a project where I am using an Arduino Mega2560, to recover data from two ultrasonics sensors (HC-SR-04). For the purpose of my project, I must add HTTP requests to this, ...
-1
votes
1answer
49 views

how to turn on and off 5v relay using ESP32

I'm trying to turn on and off 5v relay using ESP32 Using this code int ledPin = 21; void setup() { pinMode(ledPin, OUTPUT); Serial.begin(115200); } void loop() { Serial.println("High!");...
0
votes
1answer
18 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 ...
1
vote
1answer
380 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
2answers
27 views

Components required to control the Speed of Wilo Para AC Synchronous Motor

I want to control the speed of the AC motor based on the temperature set on the Nextion HMI. Right now I have my ESP32 Microcontroller and Solid-state relays which supply the maximum output power of ...
0
votes
2answers
40 views

Can't create a RTC_DATA_ATTR var inside a class

I'm trying to create a deepSleep class for my ESP32 project, but I get this error : section attribute not allowed for 'clock_beforeSleep' The only place it compiles, is outside the class. How should ...
0
votes
1answer
46 views

ESP32 - NTP inaccuracy after deep sleep

I'm trying to create a sensor sampling project using ESP32 ( battery, solar panel and temperature affects are not part of test right now to reduce external effects that may cause/ increase such ...
0
votes
1answer
1k 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
0answers
28 views

Esp32(Arduino Core) + Blynk Wifi Connection Problems

So I am making a football playing robot which consists of 3 servo motors. Currently,i am only checking only a single servo(myservoKicker)which is operated via button in the blynk app and trying to ...
0
votes
0answers
15 views

Wifi communication between ESP8266 (s) and ESP32: know if the client is alive (possibly without errors …) [duplicate]

I state that I am an amateur beginner and this is the first time I ask a question in a forum, so any criticism, judgment or advice is a pleasure for me! I am trying to build an automatic irrigation ...
-2
votes
2answers
80 views

To control the relay switching in nextion using esp32 Microcontroller

I have developed the code to control the relay switching on/off using nextion display and esp32. But whenever I press my dual state button in the nextion display there is some delay and I need to ...
0
votes
1answer
41 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 ...
0
votes
0answers
15 views

How to change the OUI (Organizationally Unique Identifier) of the WiFiNINA module

There are only examples for ESP32 wifi modules to change the mac address of the device, but I don't know if I can use the same library for the WiFiNINA module. Is it possible to change the OUI of the ...
0
votes
0answers
39 views

Can ESP 32 use the wire library exactly like that was in Arduino?

Compare the YouTube video and this webpage, the former one made programming very different in ESP32 and that was in Arduino nano, while the webpage seemed to imply that they work exactly the same. ...
0
votes
1answer
44 views

How to make BLE data accessible to a particular app?

I used the BLE example from here. But any device can read and write to the advertised characteristic. Is there a way to make the data inaccessible to other devices except for my app somehow. What I ...
0
votes
1answer
29 views

How do i send data from a Master to another Master?

I am using an ESP32 to receive data from web. However in an I2C communication, the EPS32 does not work as a Slave and i already have an Atmega as the Master. i have seen sites saying Master-Master ...
0
votes
1answer
32 views

AutoConnect module does not broadcast SSID on ESP32 Dev Board

This is my first post so I apologize if I'm missing all required info about my Arduino setup. I'm a little new to this type of development. Arduino 1.8.9 ESP32 Dev Module on /dev/cu.SLAB_USBtoUART ...
0
votes
1answer
116 views

How to connect ESP32 to HC-06?

I am making a small project (BT controlled "tank") and need to connect ESP32 with HC-06 (ESP32 will be in controller and HC-06 in the vehicle). Android phone communication with both ESP and HC-06 ...
0
votes
1answer
48 views

How to print stack trace and register dumps on arduino serial monitor?

I want to debug my ESP32 module which is giving an exception using ESP32 exception decoder, but for that, I would need to have access to my stack trace to paste it. But currently, my arduino serial ...
1
vote
1answer
62 views

Convert C string to C++ string

My program is running on ESP32. I'm retrieving some data from Bluetooth, and the Bluetooth string is a C string. I need to save that data in an RTC_DATA_ATTR String, which is a C++ string. Just doing ...
0
votes
2answers
82 views

Best way to send I2C commands between Arduino and ESP32

I made a board with an Arduino nano and a ESP32 Dev kit. I connected them via I2C with voltage adaptation. I'm using arduino IDE and the related library Wire.h. I send messages as ascii chars or ...
1
vote
0answers
243 views

pulseIn on ESP32 return 0 regularly

I'm using pulseIn on an ESP32 for measuring a frequency between 500 Hz and 10 KHz. I measure both the HIGH and the LOW time, as all simple examples suggest. 95% of the time the result is correct, but ...
-1
votes
2answers
40 views

Is it possible to get values only during vibration/movement from an Accelerometer(ADXL335/MPU6050)?

I'm trying to make a wearable motion sensor using ESP32 board and ADXL335 Accelerometer. Presently when I'm serial printing the output I'm getting the tilt value as well, which have different values ...
0
votes
0answers
42 views

How to get the body of an HTTP request?

I want to read a binary body datas from an HTTP POST request. The context is that I'm making a LED strip controller and I'm currently using this code : #include <WebServer.h> #include <...
0
votes
1answer
43 views

Set the wall clock time or change GMT offset without ntp server?

I have been able to get the current time from an NTP server and set what appears to be an internal clock using the configTime() function from the ESP32 core. I can then get the current time with the ...
0
votes
0answers
32 views

ESP32 - Html link

I'm programming a ESP32 modue and I have a code that generates an Access Point and displays an html with two buttons that changes the state of 3 leDs. I want to insert a button that calls a second ...
0
votes
0answers
37 views

ESP32 WIFI and BLE power status

Regarding the esp32, I am wanting to understand a couple of things related to both wifi and ble power control. 1.) How can I do a status check on whether both the ble and wifi radios are powered/...
0
votes
0answers
35 views

OTA update for ESP32 in Arduino ide from a different nework

I am trying to use the OTA to update my code in esp32. I have used Web updater so far and it has worked perfectly. But I want to update the code even when I am not connected in the same network with ...
1
vote
2answers
49 views

Is there an alternative to strtok_r in extracting words from char?

The task, in char, I get some data that I have to parse into parts. In this case, I use strtok_r, which finds identifiers like "=", " ", "&" Code: char payload[70] = "GET /wifi?ssid=MyWiFi&...
1
vote
0answers
65 views

Using ESP32 to measure vbat

I'm using ESP32 to read an analog value of a liPo battery (3.7v-4.2v). Since ESP32 DAC's is 3.3v I'm using a voltage divider ( 2x10K resistors ), to split bat's voltage into ESP's GPIO36. So far ...
0
votes
1answer
75 views

SD Library function doesnt work while using second SPI port with ESP32

i work on a group project with an ESP32. We have a lcd display and a sd card connected via the two SPI ports of the ESP32. The card gets initialized with no problem using this code: bool ...
0
votes
2answers
46 views

ESP Web Server calling javascript function

Is there a way to call javascript functions from ESP? I don't want to call ajax requests every few seconds. I want to update my values only when they change. Can it by done? Thanx.
0
votes
1answer
68 views

Is there an Arduino library that uses ARP to get list of connected devices on network?

I have been looking for a library that can execute an ARP (Address Resolution Protocol) command to return a list of connected devices on the network. The idea is that it would send the request to the ...
0
votes
1answer
72 views

ESP32 documentaiont for “time.h”

I am working from the example sketch in that installed with the ESP32 Dev Module into the Arduino IDE. It includes <WiFi.h> and "time.h". I have a number of questions about how to use the ...
0
votes
0answers
22 views

Record stereo audio from two Bluetooth headsets

I've been playing with Arduino for a few years, but I'm new to Bluetooth and streaming audio. I'd like to develop (or assemble or buy) a device for recording stereo audio from a pair of Bluetooth ...
0
votes
1answer
202 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 ...
0
votes
1answer
46 views

Why does the reading on the ESP32 read max, when the reading on UNO read accurately?

I have a 'Capacitive Soil Moisture Sensor' hooked up to my Uno. Very simple code. AnalogRead(MoistureSensorPin); This will return a differing value that I can work with. When applying the same code ...
2
votes
1answer
393 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
59 views

json format in esp32 with arduino json

I am using an ESP32 module for bluetooth connection and scaning wifi network. But I cannot format the json using arduinojson library in the way I want. void scanWifiNetworks() { //creating json ...
0
votes
0answers
140 views

esp32 arduino wifi disconnect

I have this code running on ESP32 connected to SVM30-J #include <WiFi.h> #include <PubSubClient.h> #include <Arduino_JSON.h> #include <svm30.h> // Replace the next variables ...
1
vote
1answer
1k views

Increase sample rate in ESP32 board

For my final project on the university as a Systems Engineer, I'm working on a "electronic stethoscope", which is giving me a lot of headaches. I bought a Adafruit Feather ESP32 Huzzah (https://learn....
0
votes
1answer
618 views

Reading Data from Google Sheets using Nodemcu

I want to read and writ data on Google sheets using ESP8266 WIfi Nodemcu and I'm able to do it but the time interval between two writing row is 3 seconds which is too much. I can read data but I am ...
1
vote
1answer
147 views

ESP32 seconds from epoch

When using ESP8266 - getting seconds from epoch is done using NTP.begin(NTPserver, 2, true); delay(delay_tries); time_t t = now(); while t stores amount of seconds from 1-1-1970. When trying to do ...
0
votes
1answer
38 views

make EEPROM.h use custom eeprom partition

I created the below partition table for an esp32 and replaced the 'default_8MB.csv' with it. # Name, Type, SubType, Offset, Size, Flags nvs, data, nvs, 0x9000, 0x5000, otadata, data, ...
0
votes
1answer
348 views

Read Multiple Sensors Data from a text file located in SD Card in Arduino/ESP32

I am working on a small home project 'glucose meter' via non invasive techniques. I am using four sensors like RGB color sensor, two multi-wavelength photo diodes (A & B) and temperature sensor (K-...

1 2 3 4 5 6