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
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 ...
1
vote
1answer
1k 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 ...
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& ...
0
votes
1answer
3k views

esp32 cam and PIR sensor

I have tried all the GPIO pins listed here:I am following this tutorial to save a picture using the ESP32 cam board. I am trying to add a PIR sensor. https://randomnerdtutorials.com/esp32-cam-take-...
2
votes
0answers
266 views

OTA updating the ESP32 from a separate server

I have an ESP32 project which I'd like to be able to update OTA. The trouble is that it is in deep sleep for approximately 15 minutes before waking up, connecting to WiFi sending an MQTT packet then ...
2
votes
1answer
68 views

Need help: Cast from 'char*' to 'uint8_t {aka unsigned char}' loses precision [-fpermissive]

I'm trying to convert the string that I receive from the Websocket to uint8_t that I can copy to the data bytes of CAN protocol frame. I'm using an ESP32 chip and programming it on an Arduino IDE. The ...
1
vote
1answer
154 views

Error in defining Ticker in ESP32 library

I'm using the exact piece of code in my ESP8266 library (which works OK ), but when used in a ESP32 library- I got an error: This is the relevant code snip: void myIOT32::_feedTheDog() { ...
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> #...
0
votes
1answer
94 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
1answer
164 views

Stuck with bad sketch

How can I get my programmer board/windows computer to recognize my board again. I am using the esp32 cam and have put two boards in a state where I am unable to flash them anymore. here is the error: ...
0
votes
2answers
318 views

Increasing ESP32 AP max connections

It has already been asked how many clients can connect to an ESP32 AP, but the answer is far from clear; the best one is from a year and half ago (ESP32 AP max connections: 4 or 10?) : The answer ...
0
votes
1answer
525 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 ...