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
1answer
2k 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
804 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
1answer
214 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
269 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
1answer
420 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
226 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
929 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
2k 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
2answers
8k 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 batteries and got one power supply problem. It works well on new battery but after a bit, I will ...
0
votes
3answers
4k 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 ...
2
votes
1answer
6k 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
815 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
2k 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
1k 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
372 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
1k 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, ...
7
votes
2answers
11k 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 ...
3
votes
1answer
5k 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
1answer
58 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
118 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
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
0answers
384 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
65 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: ...
1
vote
1answer
7k 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
1answer
2k 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
98 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 #...
1
vote
2answers
102 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,...
2
votes
1answer
2k 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
1answer
1k 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 ? ...
3
votes
2answers
8k 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
179 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
1k 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
493 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
530 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
1k 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
2k 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
737 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() { ...
1
vote
1answer
3k views

Synching local clock usign NTP to milliseconds

I am interested in getting a local clock on an ESP32 module synch to a network clock using NTP. I am able to read data and time here. But I am interested in synching to the milli second level. #...
-1
votes
1answer
2k views

Using SD library in a ESP-IDF project on ESP32 [closed]

I just started to move from the Arduino firmware to the esp-idf firmware. I read that link. I learn that I have to include libraries creating a component files, with a component.mk file, *.c, *.cpp ...
0
votes
0answers
892 views

Adafruit ESP32 device working on OSX 10.13 but not on OSX 10.11 on older machine

I'm new to Arduino - just got an ESP32-based Adafruit Feather HUZZAH32. I got it up and running on my Macbook Air (High Sierra) with no problem, following the instructions at this page linked from the ...
1
vote
2answers
1k views

Is it possible to increase the voltage on 3.3v output to 5v on an ESP board to power a DC motor? [closed]

I am trying to use an ESP32s controller connected to an RC car DC motor. I found that when using my Arduino this is easily accomplished, and I can see that my output pin produces 5v for the motor to ...
0
votes
1answer
389 views

Low-power detect rise and fall of input signal

For a very low-power-project (where I want to keep the micro-controller asleep or powerless as much as possible), I need to detect the rising and the falling of an input-signal (which could power-on ...
1
vote
0answers
572 views

Use ESP32 as a secure socket

I have a board without network connection, then I bought an SP-WROOM-32 dev kit because it has network connection ability. Is there any way that I use esp32 as a secure socket (just like calling ...
0
votes
0answers
189 views

Adafruit FT6206 controller won't start after unrelated code changes

I am using an Adafruit HUZZAH32 Feather with the ESP WROOM32 module and an Adafruit 2,8" cap touch Display. When trying my code I encountered a strange problem: one specific line of code lets the ...
2
votes
3answers
2k views

Calling I2C functions inside an ISR

I have an Adafruit 2.8" cap touch display, which has an interrupt pin (IRQ). I tried to use this with my Arduino Nano, but encountered a problem: When trying to get the touched point from the display ...
1
vote
1answer
6k views

How to pass JsonObject from ArduinoJson to ESP8266WebServer object?

I am learning the ArduinoJson.h library and creating jsonOject: JsonObject& prepareResponse(JsonBuffer& jsonBuffer) { JsonObject& root = jsonBuffer.createObject(); JsonArray& ...
2
votes
2answers
966 views

Esp32 Https Problem

I am working on a project in which i have to send GET request to my Company's Https server. I have successfully sent the GET request using NodeMCU v 1.0 (ESP 12E). The NodeMCU 1.0 (ESP 12E) Arduino ...
2
votes
1answer
2k views

How to receive and process a long string sent over serial?

I want to receive about 5kb of data in Base64 format. The following code does not work. Only a few characters are received, sometimes CPU crashes. String content = ""; char character; while (Serial....
2
votes
2answers
4k views

Duplicate libraries while compiling for ESP32 in the Arduino IDE

I have just added the ESP32 toolchain to the Arduino IDE (v1.8.0) on Windows 10. To get the IDE to allow me to select ESP32 chips I had to place the Espressif folder in "D:\Program Files(x86)\Arduino\...
0
votes
1answer
7k views

Using all ten capacitive touch inputs on the ESP32

I am using a Wemos Pro ESP32 development board and would like to be able to use all ten of the available capacitive touch inputs. I am able to get readings from nine of them but not T1. Here is the ...

1
4 5 6
7
8