3,372 questions
-1
votes
1
answer
488
views
Arduino how to count external interrupts inside array of objects?
PROBLEM
I'm starting to play with Arduino IoT (ESP32). I read the GPIO configuration from a file on the SD card. I have a problem with external interrupts. I need to count the number of interrupts on ...
10
votes
2
answers
7k
views
ESP32 WPS reconnect on power-on
I am trying to develop an IoT device that should provide some functionality using a HTTP/REST API. I decided to use the ESP32 chip (on "ESP32 dev board").
Now I want to implement an easy-to-use WLAN ...
2
votes
1
answer
1k
views
How to access OLED on HTIT-WB32 with Micropython through I2C?
I have Micropython v1.9.2 on an HTIT-wb32 ESP32 board. I can run code, connect to my router, etc. I have not been able to access the built-in OLED display through I2C.
The OLED pin layout for the ...
1
vote
2
answers
596
views
Explain structure of ESP32 variable
I have a structure that I don't understand:
typedef struct {
uint8_t ssid[32]; /**< SSID of target AP*/
uint8_t password[64]; /**< password of target AP*/
wifi_scan_method_t scan_method; /...
3
votes
2
answers
11k
views
ESP32 pin output not working with Arduino IDE
I was trying to setup my first ESP32 board with Arduino IDE. It works fine with built-in LED but does not work with pins. Here is my code:
int LED_BUILTIN = 2; // works fine
int LED_OUT = 25; // not ...
7
votes
1
answer
13k
views
ESP32/ESP8266 connect to localhost server using WiFi
I have made a simple Node.js local server to receive POST requests from ESP32 and put it in a database. The server is working fine as I tested it using postman. The server is listening to port 127.0.0....
-1
votes
1
answer
2k
views
How to turn led ON when pushing the boot button on an esp32
I'm trying to turn the LED (pin 2) ON when I push the boot button on an esp32 ! Here is my code ! Any idea why this don't work ?
// constants won't change. They're used here to set pin numbers:
const ...
0
votes
0
answers
105
views
Unable to receive SNS Email notification Aamazon Web Services AWS
I am new to AWS and using this GitHub example to get email notification. Working on a Mac system, I have followed all the steps mentioned in the example and have everything setup as instructed.
...
2
votes
5
answers
12k
views
PlatformIO Fatal Build Error: LiquidCrystal.h "No such file or directory"
I'm fairly new to Atom / PlatformIO and tried using it for development with Arduino as an alternative to Arduino IDE.
~The Specs~
base code used: Arduino ESP sample code "WifiBlueToothSwitch.ino"
...
1
vote
2
answers
536
views
Arduino - Select header for DHT Sensor Based on Chip (ESP32 vs ESP8266)
I'll start by saying I'm not a C++/Arduino expert but I've played enough with this issue and googled enough where I can't figure it out.
I have some Arduino code that is calling a sensor library file ...
0
votes
1
answer
646
views
C++ pass class method as parameter
I'm working with the ESP32. Currently I am migrating my library from an ESP8266 codebase.
I'm currently doing the following:
m_pubSubClient.setCallback( std::bind(&CL::callbackHandler, this, ...
-1
votes
1
answer
178
views
Failed to build iotivity-constrained Zephyr port on Linux
I am trying to build iotivity-constrained Zephyr port on Linux for ESP32 but getting the following errors,
drivers/built-in.o: In function `esp32_uart_init':
/home/toolchains/zephyr/drivers/serial/...
0
votes
1
answer
966
views
C send struct over UART to Python
I'm trying to send a struct over UART (from an ESP32) to be processed by Python by using this guide.
// we send this to the host, to be processed by python script
struct package {
uint8_t modifier;...
1
vote
3
answers
4k
views
mbedtls_net_connect returned -0x52 when connecting to AWS IoT using ESP32 in Arduino IDE
I am trying to connect to AWS IoT using a basic pubsub example in my ESP32 board with the help of the Arduino IDE.
As a basic example it does connect to AWS IoT and publishes messages, but when I ...
8
votes
1
answer
25k
views
Web server on ESP32: How to update and display sensor values from the server automatically?
I have a web server on an ESP32 and a homepage on that server. I would like to update sensor values on the homepage every x seconds automatically (without user input). I cannot access the file system.
...
0
votes
0
answers
1k
views
ESP32 Webserver: HTML code in string incomplete
I'm desperately trying to write HTML code in a string since I can't use the filesystem on ESP32. (info: The server has no internet access (AP-mode) and I cannot load any files on ESP32. So I need a ...
3
votes
1
answer
7k
views
ESP32 - UDP broadcaster/ receiver with native LwIP library
I'm building a distributed application with the ESP32 (a great platform btw) where all participants should communicate over UDP in it's simplest form: sending messages via broadcast and listening to ...
0
votes
1
answer
1k
views
Status of NodeMCU for ESP32
I was looking at the docs for the dev-esp32 branch, no docs for net? But I see in the sources there's a code file that defines it? How likely is it my 8266 code will run on the latest ESP32 firmware?
...
2
votes
1
answer
1k
views
Compile libssh for ESP32
I am trying to use the libssh library on the ESP32. When I compile the program, I get lots of errors.
The first error is "fatal error: sys/select.h: No such file or directory." I commented it out ...
-1
votes
1
answer
529
views
Porting ESP8266 SDK to ESP32 [closed]
Does anyone have experience with porting the kaa-client SDK, which supports only ESP8266, to the newer ESP32?
I have started with adapting the TCP APIs.
0
votes
1
answer
723
views
Arduino, C, Linker error, ESP32 target
I use Arduino IDE to develop code for ESP8266 and ESP32 (that in fact doesn't matter, it's only the toolchain that's different than classic Arduino for Atmel AVRs).
I've had a code that worked, had ...
0
votes
2
answers
8k
views
Espressif ESP32 web server HTML example
I'm working on an embedded ESP32 design using one of the web server examples included in the esp-idf examples. I'm able to get the device into soft AP mode and display a simple web page. Now that I ...