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
1
vote
0answers
1k 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 ...
0
votes
0answers
94 views

Software serial and port expanders

On my ESP32 project I've run out of pins and have incorporated using a MCP23017 port expander. I need to run multiple slow serial connections (9600 baud) thru the port expander. Are there any ...
1
vote
1answer
261 views

Can't connect to my ESP32 board via serial

I'm completely new to electronics work. Today I've received the ESP32 board that I ordered. (It's a WROOM-32.) I followed the instructions here. I connected the board to my computer via USB and I ...
0
votes
2answers
72 views

Firmware gets stuck at obj.printto(client) in esp32

I am using an ESP32 to capture some data and then sending it over using ArduinoJson. However, sometimes, the firmware gets stuck at the line where it is transmitting data at obj.printTo(client). I ...
0
votes
1answer
715 views

ESP32 bluetooth discovery parse names

I'm running a sample code from ESP32 examples and I'm scanning available BLE devices. I can see device MAC address etc. But for few devices I can't see their names.I am using ESP-WROOM-32 with ...
1
vote
1answer
42 views

WiFi Connection With a Enterprise WLAN

I have an ESP32 and want to connect it to the WLAN at my office. Based on my current knowledge of the Arduino, we use the WiFiClass to connect to a WLAN and then use a WiFiClient to use the WiFi for ...
1
vote
0answers
64 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 ...
0
votes
1answer
44 views

A few questions on the first steps with an ESP32/ESP8266 NodeMCU [closed]

I would like to know what are the first steps, as a good practice, when receiving a new ESP based NodeMCU. For example: Checking if everything works fine After you connect to the relevant COM port, ...
1
vote
1answer
85 views

Reading text line by line from SD

Why does the following code return this error? How can I make this work? Error: exit status 1 invalid conversion from 'const char*' to 'char' [-fpermissive] #include "FS.h" #include "SD.h" #...
0
votes
1answer
75 views

Run function when triggered

I'm trying to create a motion/fall sensing device. I have a sensor that continuously checks if motion and fall is detected in void loop(). If both motion and fall are detected, then I'd like to send ...
0
votes
0answers
35 views

Use uNavAHRS library get nan error

I tried using AHRS library call uNavAHRS, and have been test example sketch from github, and change little code like below: https://github.com/bolderflight/uNavAHRS/blob/master/examples/uNavAHRS-...
1
vote
1answer
398 views

String does not name a type

I'm using Arduino IDE for ESP32 WROOM board. I am testing the OTA feature with the ESP32httpUpdate library. I am using the example sketch of the library with the name httpUpdate.ino However, as soon ...
1
vote
1answer
405 views

Adafruit esp32 Feather Failing to compile

So yesterday, I was able to upload/compile given example code to the Esp32 Huzzah board. Today I couldn't even compile. Even carefully using the tutorial adafruit provides. I was getting errors as ...
1
vote
1answer
1k 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. ...
1
vote
0answers
624 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
116 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 ...
0
votes
0answers
599 views

Esp32 sending a wav file to API via POST

I'm trying to send a .wav file to an API with an ESP32 using a HTTP Post request with a multipart/Form-data content type. I can already send the API Key as it is a plain key and get a return from the ...
0
votes
0answers
211 views

UUID for ESP32's BluetoothSerial

I have a program that interfaces with my ESP32 Thing via BluetoothSerial. It needs the address and a UUID to connect. (I was previously using a different chip without onboard Bluetooth, so I was ...
0
votes
2answers
194 views

Reading inside critical sections from ISR

Is it necessary to protect reads of volatile variables in critical sections when using interrupts? Or are critical sections only required when concurrently writing variables? Here is an example of a ...
0
votes
0answers
333 views

Set local stratum 0 NTP server without internet

Currently, I'm doing a running track timing gate project to measure an accurate acceleration (a runner for example). The idea is when the runner triggers the first gate (start gate), the system will ...
1
vote
1answer
375 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
1answer
294 views

bh1750 lightsesor won't work

ok, im having problems with my bh1750, here is all info i got: board: esp32s nodeMCU v. 1.1 Pins: Wiring: (the 2 reds go to pin 21 and 22) code: #include <BH1750.h> #include <Wire.h> ...
0
votes
2answers
435 views

WifiClient and aREST on esp32 - loop until new instructions recieved?

I've created a simple sketch for an esp32 that hosts a REST API that can be accessed via HTTP. Based on the instructions received from the client, the esp32 controls some neopixels with some various ...
0
votes
1answer
346 views

Can a Lithium Polymer battery charging circuit on Arduino boards also charge Lithium Lion batteries? [closed]

I have a project that the form factor of 18650 batteries works well for. The board I'm using is a esp32 based board with built in battery charging: https://www.amazon.com/gp/product/B072HBW53G/ref=...
0
votes
1answer
85 views

WiFi connection times out if credentials retrieved via serial terminal

I've implemented a small WiFi connection procedure into my ESP32 project. The available networks get printed with index, then I'm entering the index and retrieve the network name from it. The password ...
0
votes
0answers
162 views

Adafruit Feather ESP32 - GPIO power drain during deep sleep

I have an Adafruit Feather ESP32 whose GPIOs I use to control an external device. I don't want the device to drain the power of the ESP32 sometimes, so I set the GPIOs to INPUT. When I go into deep ...
1
vote
0answers
101 views

Is NVS storage reset during an OTA update? (ESP32)

I plan to save some settings in the NVS repository of my ESP32, which will also be implemented OTA update. The question arose, will the data in the NVS storage be reset when the OTA update is ...
0
votes
1answer
115 views

NodeMCU ESP32s can't get Vin to work?

Trying to power the board with a 9V battery through VIN. As the documentation says, it can take input voltage of 6-12 Volts, but when I connect the 9V battery, all it does is power the board on and ...
0
votes
0answers
88 views

Get restart method from ESP32

I would like to know if there's any method to get how the ESP32 was restarted (by software, restart button, plugged on...). When it's restarted I can see in the Serial port message like rst:0xc (...
0
votes
2answers
938 views

Can't flash ESP 32 Wroom

I have a new ESP32 Wroom attached to my USB and it shows up in the settings on my mac: I do have another ESP thing from sparkfun which I can access via /dev/cu.usbserial-DN02N1D8. This device I can ...
0
votes
0answers
32 views

Wire doesn't work between Uno & ESP32S & ESP8266

I think i've reached my limit. I can't get Wire to work between an Uno or ESP8266 or ESP32S. On the Uno I had them connected like SDA via Uno SDA -> ESP32 GPIO21 SCL via Uno SCL -> ESP32 GPIO22. I ...
0
votes
1answer
724 views

Arduino IDE + ESP32 Webserver - how to redirect to root after click on button

I'm trying to use ESP32 + Arduino IDE to control a relay. I've started by using the library and the code below. The problem I'm having: after clicking on the button and activating the pin, if the ...
1
vote
0answers
231 views

Reading data from SPI on ESP32-WROOM-32

I'm newbie with Arduino and need to do a short task: read data from SPI (sent by another microcontroller) and send to WiFi (by ESP32-WROOM-32). I can't understand how to initialize and read data from ...
0
votes
0answers
231 views

WaveShare EPaper Display and Adafruit HUZZAH32 ESP32 Feather Board

I'm trying to understand how I could use WaveShare EPaper Display with Adafruit HUZZAH32 ESP32 Feather Board. With these connections SDI/SCK -> MOSI SCK/SCLK -> SCK CS -> 15 DC -> 33 RST/...
0
votes
1answer
147 views

Same output on displays with different I2C-addresses (AdaFruit library, ESP32)

I've got two displays hooked up to a ESP32 via I2C and I'm using the AdaFruit library. All handling display output is packed in a own library. As I was testing I only had one display set up and ...
0
votes
0answers
32 views

Prints to the serial monitor are being overwritten

Using esp32, Arduino IDE 1.8.9 on OSX. My code is interspersed with Serial.println() writes to the serial monitor of various status messages. As far as I can tell, if a println is not fully written ...
0
votes
1answer
84 views

Adding esp32_komoot_ble library to Arduino IDE

I am an absolute beginner with Arduino IDE and I want to build an interesting device I stumbled upon on github https://github.com/jstiefel/esp32_komoot_ble Problem is I really can not add it to ...
1
vote
0answers
432 views

Passing non-static member function using bind

I'm using the GxEPD2 library to communicate with an E-Paper display. I now wanted to use the drawPaged method of this library with an object display. I also have written my own class from which I ...
0
votes
2answers
342 views

How to write http response from HttpClient to Serial monitor with a ESP32 (Wemos Lolin32)?

With my ESP32 Board, Wemos Lolin32, I would like to make a http GET request to "http://www.arduino.cc/asciilogo.txt", read the text file and print the text file to the serial monitor. The question ...
0
votes
0answers
59 views

How to remove or only show part of the data received?

I'm using the ble_client.ino example and I can't figure out how to only show some of the notifyCallback data. I'm getting three different types of data from one service UUID. static void ...
1
vote
1answer
2k views

How to convert jpeg byte stream into jpeg image and display on 1.8 inch TFT display

I have an ESP32 having a cam and it is transmitting compressed JPEG stream. TTGO T-Journal ESP32 Camera Development Board OV2640 SMA WiFi 3dbi Antenna 0.91 OLED Camera Board I have an ESP32 ...
0
votes
2answers
301 views

Connecting TFT Display MI0283QT-9A to ESP32

I have purchased a MI0283QT-9A TFT display (https://download.mikroe.com/documents/add-on-boards/other/display/tft-proto/tft-proto-manual-v200.pdf) which is driven by the ILI9341 display controller. I'...
0
votes
2answers
303 views

ESP8266 Switching firmware on the fly

Can you help me out to understand if this is possible with ESP8266 / 32 ? I have a main binary that i upload to the chip, let's call it A - that's done from arduino. A starts to work, but ...
0
votes
0answers
952 views

Configuring I2S with ESP32 and WM8978

I'm trying to get I2S audio working with an ESP32 and WM8978 codec, using the TTGO TAudio dev board. Currently, I'm trying to implement the I2S example code provided by Espressif (link below) using ...
-1
votes
1answer
464 views

esp32 spi library, how read a mcp23s08 register

thanks for any help I need to read a gpio expander mcp23s08 set as 8 bits input. my code write correctly (I believe) the setup register using SPI library, with the enclosed example modified. But I do ...
0
votes
1answer
69 views

Unable to set LCD contrast using DAC pin on ESP32

I have followed the instructions at https://www.arduino.cc/en/Tutorial/HelloWorld and have my LCD displaying some text. I've also connected the LED back light (LCD pins 15&16). I wanted to ...
1
vote
0answers
539 views

HTTPS POST method fails in esp32

I was trying to connect with server but, I was unable to post the data. I have added the SSL key to connect with server that is happening but HTTPS POST is not. I tried the same method with http, I am ...
0
votes
3answers
288 views

Defining array in switch case

I’m completely new to arduino, so be polite. I’m trying to program my esp32 to drive neopixels as seven segment display. So I take a digit and pass it to switch case and in switch case I mention which ...
-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 ...