Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [esp32]

The tag has no usage guidance.

0
votes
1answer
10 views

Quaternion values from BNO055 not available

I am trying to obtain Quaternion values from a BNO055 connected to ESP32-PoE board by Olimex. Code #include <Wire.h> #include <Adafruit_Sensor.h> #include <Adafruit_BNO055.h> #...
1
vote
0answers
25 views
+50

After restoring the BNO055 offsets to the sensor the calibration values are all 0

Board: ESP32 Script: restore_offsets.ino from Adafruit's BNO055 library The only difference is I am storing the information in ESP's NVS using the Preferences Library Code #include <Wire.h> #...
0
votes
1answer
20 views

BNO055 restore offsets sketch from Adafruit does not make sense

The restore_offsets sketch from Adafruit BNO055 In some way does not make sense. I am using an ESP32 and storing the offsets of BNO055 in its NVS (non-volatile storage). Steps I start calibrating ...
0
votes
1answer
25 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
vote
0answers
19 views

SerialBT.begin(“name”) now causes brownout in ESP32

I'm attempting to run the example sketch SerialToSerialBT.ino. It's a pretty commonly used sketch. I successfully loaded it on one of my ESP32 chips last week, and was able to use a tablet serial ...
1
vote
2answers
37 views

Two floating point values do not get added and printed on ESP-WROOM-32

I have a Olimex ESP32-PoE board which has a ESP-WROOM-32. I just found out a strange behaviour for printing floating point numbers on the board. Sketch void setup() { // put your setup code here,...
0
votes
1answer
20 views

Using AysncUDPMessage for ESP32 to send string data

I am in search for some examples as to how can one use the AsyncUDPMessage in an Application for sending out UDP packets to a host with specific IP address and Port number from an ESP-WROOM-32 (Olimex ...
0
votes
2answers
44 views

limit length of the generated timestamp from ESP32 with DS3231 to 13

I am using ESP-WROOM-32 (Olimex ESP32-PoE) with DS3231. I have used the a patch from PR on RTClib to avoid the rollover from the DS3231. Since the DS3231 RTC provides Unix Epoch Timestamps which ...
0
votes
0answers
26 views

What is the first step for making mesh network with an ESP32-wroom and 15 ESP8266-07

I want make a mesh network with an ESP32 and 15 x ESP8266-07 What is the first step? What should I upload on ESP32 as my master and what should I upload on other ESPs?
0
votes
1answer
20 views

Apply patch to library for custom changes in Arduino IDE

I wish to obtain unix epoch timestamps in millisecond precision. I am using an ESP32 along with DS3231 RTC breakout board from adafruit. Apparently the Repository is not maintained often but I see a ...
1
vote
1answer
22 views

Differing Serial Values Between Arduino Uno and TTGO ESP32 SX1276

I'm wanting to analogRead the value off a MQ-135 gas sensor. I have tired this with both an Arduino Uno and an TTGO ESP32 SX1276. When reading the value of the sensor off the Uno, I get values ...
0
votes
0answers
24 views

ESP32 - JPEGDecoder from SPIFFS

Hello i've try to decode JPG image from FS so, i create and upload spiffs image (using /data directory and Arduino Ide Plugin ) On every jpg i've same error: "pjpeg_decode_init() failed with status ...
0
votes
1answer
49 views

Battery voltage monitor right after deep sleep

i have my esp32 module in deep sleep and i use it with a couple of buttons using a wake up that detect the button pressed now i'd like to have a battery level to send to a server right before going ...
0
votes
1answer
43 views

How to avoid electromagnetic interference on ESP32 input

I've realized a simple circuit like the following, in order to implement a rain gauge that I can access via HTTP: With the following sketch: #include <WebServer.h> #include <WiFi.h> #...
0
votes
2answers
64 views

SPI Digital Potentiometer not working on ESP32

I have an MCP4151 digital potentiometer chip. I have managed to get it to work using and Arduino Uno using the code below: #include <SPI.h> byte address = 0x00; int CS= 5; void setup() { ...
0
votes
1answer
172 views

ESP32 : Disable Brownout Detector

I have an ESP-WROOM-32 and I'm using Arduino IDE to push code on it. My ESP is powered via 2 AA battery and got one power supply problem. It works well on new battery but after a bit, I will always ...
0
votes
3answers
102 views

How many clients can connect to an ESP32? [duplicate]

I am using an ESP32 as my master and 10 ESP8266-07s are connected to the master that is in AP mode. But I need at least 12 clients. Please help me to increase the number of clients the ESP32 can ...
0
votes
0answers
144 views

ESP32 Bluetooth and WiFi coexistence

After some research, I figure out that it's possible to use Bluetooth and WiFi for some special operations (As Espressif engineer mentions). In my case the Bluetooth operation is simple, it just ...
0
votes
0answers
98 views

Communication between 2 ESP8266 devices using Arduino code

Perhaps it is a novice question (since I'm a Pythonist, and I'm new to Arduino), but I'm trying to implement my code in Arduino to test if it is more stable than MicroPython. I have an AC motor, that ...
1
vote
1answer
114 views

How do I set a 25 kHz PWM signal on an ESP-WROOM-32?

I want to control a single pin of an ESP-WROOM-32 to have a 25 kHz PWM signal. How do I do that in Arduino Studio? I compiled a "hello world" program for such a device successfully in Arduino Studio, ...
1
vote
1answer
51 views

How arduino boards eliminate the need to press buttons to flash?

I've come across many Arduino shields for various boards like the Uno, ESP8266, and ESP32 which sometimes have a button for flashing and other times they do not because the flashing is automatic. ...
1
vote
1answer
84 views

How to detect water presence with only 2 wires

I don't know if this question belong here or on electronics SE. A manufacturer just sent me a personalize device which include an ESP-32 and a Water Sensor. My problem is that I don't know how to ...
0
votes
2answers
197 views

Creating a Web Interface for ESP32 [closed]

I am working on a project that involves moving various servos and lights and I need a good UI to work with the device. I've previously used Blynk, which worked very well but I didn't like some of the ...
0
votes
1answer
27 views

Connect a TM1627 to ESP32

I want to control a 7 segment display that has a TM1637 integrated with an ESP32. Some time ago I created a layout that used an ESP12e but I need more GPIO pins so I'm switching over to an ESP32. ...
-1
votes
1answer
179 views

Unable to upload to ESP32 LOLIN D32 board

I'm not able to upload a sketch to this board with the Arduino IDE. This is the error during upload: Arduino: 1.8.5 (Windows 10), Board: "WEMOS LOLIN32, 80MHz, Default, 512000 Build options changed, ...
1
vote
1answer
416 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 ...
1
vote
1answer
335 views

ESP32 AP max connections: 4 or 10?

I am using the SoftAP feature of the ESP to create a central node, and connecting five or six clients in the final application. However, I don't know if i can connect that many clients. One of the ...
0
votes
0answers
55 views

TMC2660 SPI Communication

I'm using ESP32 Doit Board 40Mhz, and trying to communicate with TMC2660-BoB. I've successfully flashed Arduino into ESP32, and it's working well. I've got SPI connection right. Meaning by that: (you ...
0
votes
1answer
41 views

Arduino Wifi Works one way but not the other? (ESP32) (Possible Variable Type Problem)

I am working on a code that accepts input from serial monitor and connects to Wifi, and have been getting issues. my SSID for my wifi is "SamF" but for some reason arduino only likes it when I ...
0
votes
0answers
36 views

Waveshare Display on ESP32 has weird graphic glitches

I am trying to pass an image to the display through the GxEPD module. I tested the display and its working fine with an example sketch. I am using a WEMOS LOLIN32 and a 7,5" B/W Waveshare display. ...
1
vote
1answer
265 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
0answers
73 views

DS18B20 flaky with LOLIN32 ESP32 board, rock-solid with Uno

I'm trying to read 4 DS18B20 sensor probes (https://amazon.com/gp/product/B00Q9YBIJI and https://amazon.com/gp/product/B008HODWBU) with a "Wemos" LOLIN32 ESP-32 board (https://amazon.com/gp/product/...
0
votes
1answer
49 views

General confusion about how to start

I want to test around with my ESP32 and an E-Paper display - yet i am stuck at uploading sketches via Arduino IDE. I get those kind of errors: avrdude: stk500_getsync() attempt 1 of 10: not in sync: ...
0
votes
1answer
290 views

How do you convert a formatted print statement into a string variable?

I'm using the following routine to print the current time on the com port. I would like to capture this as a string so I can display it using ePaper. void printLocalTime() { time_t rawtime; ...
0
votes
0answers
234 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
41 views

Is there a equivalent to #define DEBUG 0 declare by VS2017 with VisualMicro (arduino) project?

Especially on ESP32*/8266, when you select debug (debug/release) : as a target, VisualMicro detect it and start the simple debugger (without JTAG). Do you know if when target is debug, is there a #...
0
votes
2answers
49 views

Merge two Arduino projects (change build process)

I'm working on a big software project consisting of several Arduino sketches. I have one Arduino project providing general functionality, such as TCP/IP communication, parsing queries, handling errors,...
0
votes
0answers
37 views

Automatically detect and address module voltage on board on 3v board

Let's say I have the objective to simplify project assembly, for kids, perhaps. I have three requirements: Use industrial made, and readily available boards and modules. No development here. Extend ...
0
votes
1answer
81 views

What is the tool to send file to SPIFSS on ESP8266/32?

Is there good tools (IDE, CLI or IDE addon) to send file via USB port to SPIFSS internal espressif ESP hardware SoC ?
0
votes
0answers
32 views

Do you know if VisualGDB, addon of VS2017, debug with JTAG really work?

Do you have an experience of VisualGDB debug with arduino JTAG? My target is ESP32/8266, is-it working well (dynamic breakpoint, viewing of all variable, step by step...) ? Is it fast enough to be ...
0
votes
1answer
293 views

How to compile Arduino ESP8266/32 on CI/CD (CLI shell cmd) platform?

Like make for not ESP Arduino target, is there a CLI command like esptool.py to upload in the hardware ? I've seen makeEspArduino but seems to be not trivial ? What about espressif ESP32 component ? ...
1
vote
2answers
950 views

Is there alternative to arduino IDE program ESP8266 and ESP32 with arduino toolchain? [closed]

I use ESP8266 and ESP32 with arduino toolchain rather than pure arduino hardware. Arduino IDE is standard and proven but what are the other IDE and advantage/disadvantage ?
0
votes
0answers
97 views

256 (8x32) LED Matrix via ESP32-Pico-Kit_V4 possible? (Daft Punk Helmet)

I am currently planning on a Daft Punk Helmet. But the available kits are terribly expensive. I am looking forward to using a 8x32 LED-Matrix(with 256 separate 5mm LEDs) and having a few different ...
0
votes
0answers
501 views

5V Pressure sensor module with 3.3V ADC

I'm using ESP32 to read analogue pressure readings from this pressure transducer. My Problem is this sensor outputs 0.5V – 4.5V linear voltage output based on the pressure but ESP32 can only handle 0 -...
0
votes
0answers
38 views

Improve low end resolution on DFRobot TDS Kit

I've purchased one of the new DF robot TDS kits for measuring some purified (Reverse Osmosis + DI) water. I'd like to measure between 0 and 10 TDS (only) but can't get a stable enough reading. This ...
0
votes
0answers
247 views

Arduino Pro Mini (5v) I2C pullups

I recently bought an ESP-WROOM-32 module and I want it to talk to my Pro Mini via I2C. Do I have to pull-up the lines to the 3.3v side (ESP32)? Since the Pro Mini runs at 5v, I think it's a bad idea ...
2
votes
0answers
135 views

NPN transistors level shifter [closed]

I'm going to use this for Arduino Pro Mini (5v version) to communicate with ESP32 via UART so I need level shifting. I found this circuit which uses NPN transistor and I'm also going to use it. This ...
1
vote
1answer
318 views

remove weird chars from char array ESP32

When I'm converting a string to a char array there are always some weird chars at the end. I have to do it manualy because the convertTochar function crashes my ESP. String sssid = module.getCssid()...
0
votes
0answers
669 views

Find public IP address of ESP32 using Arduino IDE

I am currently working on a project which implements communication between two ESP32 boards over the Internet. In my project, I want to get unlimited range communication by connecting one ESP32 (as ...
0
votes
1answer
203 views

Strange discrete errors when reading HC-SR04 sonar sensor

I'm experimenting with an HC-SR04 sonar sensor. Basically I'm measuring the distance to a cardboard box twice a second with these lines of code running on an ESP32: unsigned long sonarMeasure() { ...