Search found 31 matches

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

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: 445

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: 0
Views: 518

`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: 431

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: 2049

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: 2049

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: 2049

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: 2049

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: 2579

AWS?

Hi,

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

Thanks,
-T
by gamename
Sun Jul 14, 2024 7:06 pm
Forum: ESP-IDF
Topic: Private (or "3rd party") Component Registry?
Replies: 0
Views: 710

Private (or "3rd party") Component Registry?

Hi, Has anyone succeeded in creating their own registry? If so, how? I've been going over the docs and it isn't clear if that's possible. Basically, I want to have my own collection of components to pull with `idf.py add-submodule`. Or, should I just create component repos and add them as submodules...