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
2
votes
1answer
848 views

Using c_str() on String for IPAddress with NTPClient provides wrong values

Libraries NTPClient Board Olimex ESP32-POE board Behaviour I have written a code that connects the board to a local NTP Server (which is an embedded board). I tried assigning the IP Address of ...
0
votes
1answer
233 views

Stuck reading an XBM image from JSON (U8g2lib)

What I'm trying to achieve is very simple, I'm using ArduinoJson lib to load a JSON from SPIFFS and trying to inject the image values in an Array to feed the small Oled display of the ESP32: // This ...
0
votes
1answer
724 views

ESP32 reset loop when using wifi.h

I have a strange behavior, using ESP32 devkit v.1 boards. Everything works, I can upload blink sketch, serial works, led blinks. However, once I upload any sketch which is using the wifi.h (and ...
0
votes
1answer
3k views

Speed controller for Ceiling Fan 220V AC 100W

I would like to use ESP32 to speed control my AC ceiling fan which is 220V AC 100 W. Will the below AC dimmer work with ESP32 to speed control the ceiling fan which is 220V AC 100 W? If not, kindly ...
0
votes
1answer
748 views

ESP32 Dimmable LED Panel with MOSFET [closed]

I want to use ESP32 to control and use a dimmer for 6 LED panels in my bedroom. The specification of each panel is mentioned in the diagram. Although in the diagram it shows ONLY 1 MOSFET and 1 LED ...
0
votes
1answer
334 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
1answer
2k views

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> #...
1
vote
1answer
434 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
2answers
277 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
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
852 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
237 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
278 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
454 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
231 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
1k 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
3k 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
9k 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
5k 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
7k 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
978 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
392 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
12k 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
59 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
123 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
395 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
67 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
101 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
103 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 ?
1
vote
0answers
182 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
503 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
565 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
763 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
901 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 ...
2
votes
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 ...

1
5 6 7
8
9