Search found 70 matches

by lbernstone
Fri Aug 07, 2020 2:45 am
Forum: ESP32 Arduino
Topic: ESP32-DevKitS Arduino IDE: Timed out waiting for packet header
Replies: 2
Views: 221

Re: ESP32-DevKitS Arduino IDE: Timed out waiting for packet header

Instructions for the devkits are at https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/user-guide-devkits-r-v1.1.html#how-to-flash-a-board. Using the default "esp32 dev module" in Arduino IDE is just fine. There are many articles here and on the github repo about these ti...
by lbernstone
Wed Jul 29, 2020 3:37 pm
Forum: ESP32 Arduino
Topic: ESP32 strange issue with using SPI device
Replies: 2
Views: 195

Re: ESP32 strange issue with using SPI device

You say your esp and spi have separate power sources. They must have common grounds. Honestly, having multiple 3v3 domains in a project like this is just asking for a small fire.
by lbernstone
Wed Jul 22, 2020 9:24 pm
Forum: ESP32 Arduino
Topic: Many ESP32 modules on single wifi access point?
Replies: 3
Views: 358

Re: Many ESP32 modules on single wifi access point?

It will be dependent on the capability of the router. There should be no issue from the esp side with 50 independent nodes. You could also use wifi mesh https://docs.espressif.com/projects/esp-idf/en/v3.3.2/api-guides/mesh.html, which should work with minor tweaking up to 100 nodes, and the mdf clai...
by lbernstone
Sat Jul 18, 2020 3:42 am
Forum: ESP32 Arduino
Topic: ESP32-Time
Replies: 1
Views: 368

Re: ESP32-Time

The toolchain includes a lot of stdlib time functions, including gettimeofday:

Code: Select all

  struct timeval tv;
  gettimeofday(&tv, NULL);  
  Serial.printf("microseconds: %d\n", tv.tv_usec);
The second parameter for getLocalTime is the length of time to wait for a valid result, so not relevant here.
by lbernstone
Mon Jul 13, 2020 2:30 pm
Forum: ESP32 Arduino
Topic: ESP32 - Timestamps
Replies: 1
Views: 246

Re: ESP32 - Timestamps

You can use a real time clock run off a battery.
https://www.aliexpress.com/item/32798201168.html
by lbernstone
Sat Jul 11, 2020 2:37 am
Forum: ESP32 Arduino
Topic: Heltec ESP32 battery (what and where to buy)
Replies: 1
Views: 196

Re: Heltec ESP32 battery (what and where to buy)

Unless your board includes charging equipment, it is probably dangerous to use the battery connector. 3.7V lipo batteries can be easily found on almost any online marketplace- amazon, aliexpress, gearbest, banggood.
by lbernstone
Sat Jul 11, 2020 1:46 am
Forum: ESP32 Arduino
Topic: ledcWrite and Serial.println Conflict?
Replies: 2
Views: 288

Re: ledcWrite and Serial.println Conflict?

pin 10 is not available on either board. Please consult a pinmap https://github.com/espressif/arduino-es ... ard-pinmap
by lbernstone
Wed Jul 08, 2020 6:16 pm
Forum: ESP32 Arduino
Topic: unstable WIFI connection
Replies: 3
Views: 457

Re: unstable WIFI connection

esp32 uses power management features for WiFi, so it turns off the radio in between beacon adverts. TCP packets get held by the access point until the device checks in. Datagrams will be dropped. Turn off modem sleep with `WiFi.setSleep(false);`

Go to advanced search