Search found 32 matches

by gamename
Fri Oct 25, 2024 11:03 pm
Forum: ESP-IDF
Topic: Problems with OTA from Amazon S3
Replies: 0
Views: 546

Problems with OTA from Amazon S3

Hi,

Does anyone here have experience with OTA firmware updates from S3? I constantly get an HTTPS "sock=54" timeout when attempting to download.

I've opened an issue with the details here: https://github.com/espressif/esp-idf/issues/14780

Any input is welcome.

Thanks,
-T
by gamename
Fri Aug 23, 2024 9:57 pm
Forum: Hardware
Topic: Cellular Modem Recommendations?
Replies: 1
Views: 1604

Cellular Modem Recommendations?

Hi,

What cellular modems work well with the ESP32? Most of them are designed for the Raspberry Pi. Very few even mention the ESP32.

Which ones have worked with the ESP32 and can be recommended?

Thanks,
-T
by gamename
Sun Jul 28, 2024 10:37 pm
Forum: ESP-IDF
Topic: Propagating Values from Project Kconfig to Component Kconfig
Replies: 1
Views: 762

Propagating Values from Project Kconfig to Component Kconfig

Hi, What is the best way, or is there a way, to set a value in a parent Kconfig menu and have it available in a subordinate component Kconfig? In other words, how can I set a variable in the parent Kconfig and have it available in the component Kconfig? For example, I want the WIFI_HOSTNAME "Foo" to...
by gamename
Tue Jul 23, 2024 7:15 pm
Forum: ESP-IDF
Topic: `idf.py reconfigure` Not Updating Git-Only Components
Replies: 3
Views: 1529

`idf.py reconfigure` Not Updating Git-Only Components

Hi, I am having trouble getting git-only components to update in my projects. ### Background: I have several private components on git that I add to my projects by editing my project `idf_components.yml` file. After running `idf.py reconfigure`, a new component is added to my `managed_components` di...
by gamename
Tue Jul 23, 2024 1:29 am
Forum: ESP-IDF
Topic: Common SHA256 Checksum for Files?
Replies: 0
Views: 777

Common SHA256 Checksum for Files?

Hi, I'm having problems with OTA firmware verification prior to reboot. Here's the process I'm following: 1. GitHub builds the firmware image and calculates a SHA-256 checksum. 2. The file is then saved to an AWS S3 bucket. 3. During OTA, the firmware is copied from S3 to the ESP32. 4. On the ESP32,...
by gamename
Sat Jul 20, 2024 12:52 am
Forum: Hardware
Topic: AM312 PIR Sensor?
Replies: 6
Views: 3139

Re: AM312 PIR Sensor?

The am312 obviously works in C because MicroPython works (which is written in C). So, wtf? You could try disabling the ESP's pull-up resistor. Datasheets seem to imply that the sensor doesn't need it. Tried the disable. The behavior is better, but not yet fixed. There are still random "motion detec...
by gamename
Fri Jul 19, 2024 8:58 pm
Forum: Hardware
Topic: AM312 PIR Sensor?
Replies: 6
Views: 3139

Re: AM312 PIR Sensor?

MicroController wrote:
Fri Jul 19, 2024 7:43 pm
gamename wrote:
Fri Jul 19, 2024 4:14 pm
The am312 obviously works in C because MicroPython works (which is written in C). So, wtf?
You could try disabling the ESP's pull-up resistor. Datasheets seem to imply that the sensor doesn't need it.
Great point! I'll try that.

Thanks!
by gamename
Fri Jul 19, 2024 4:14 pm
Forum: Hardware
Topic: AM312 PIR Sensor?
Replies: 6
Views: 3139

Re: AM312 PIR Sensor?

Apart from the overflow of FreeRTOS's tick count after a long time running which isn't really handled in the debounce logic, and the use of ESP_LOGx inside an ISR which should be avoided, the code looks all right to me. Could you be having an issue with wiring/an unreliable connection (breadboard?)...
by gamename
Fri Jul 19, 2024 12:36 am
Forum: Hardware
Topic: AM312 PIR Sensor?
Replies: 6
Views: 3139

AM312 PIR Sensor?

Hi, Does anyone have a code example of the am312 PIR sensor? I've found them to be very reliable in MicroPython, but I can't get them to work in an ESP-IDF/FreeRTOS app written in C. Keep getting random motion detection for no reason (even when the sensor is completely covered). Since this PIR senso...
by gamename
Fri Jul 19, 2024 12:23 am
Forum: ESP RainMaker
Topic: AWS?
Replies: 1
Views: 3805

AWS?

Hi,

Does anyone run RainMaker on AWS? Is it expensive? Would you recommend it?

Thanks,
-T