Search found 13 matches

by Digital Larry
Fri Apr 17, 2020 1:45 pm
Forum: ESP-IDF
Topic: Loading firmware images from SD Card??
Replies: 2
Views: 4819

Re: Loading firmware images from SD Card??

That's interesting, though it seems really tightly bound into the M5 ecosystem. Maybe it can be pulled apart into something more general purpose.

Thanks!

DL
by Digital Larry
Wed Apr 15, 2020 2:44 pm
Forum: ESP-IDF
Topic: Loading firmware images from SD Card??
Replies: 2
Views: 4819

Loading firmware images from SD Card??

I see someone asked about the OTA process here https://esp32.com/viewtopic.php?f=13&t= ... ard#p57551 and I am also curious about using the SD Card to hold multiple firmware images which could be selected, say using an LCD menu with push buttons.
by Digital Larry
Sun Apr 12, 2020 3:24 pm
Forum: ESP-IDF
Topic: Any ready-to-go code for ESP32 GPIO button debouncing?
Replies: 5
Views: 10933

Re: Any ready-to-go code for ESP32 GPIO button debouncing? ESP32-A1S audio dev board

Some progress... I guess the onboard pullup through the R/2R ladder is actually not adequate. io_conf.mode = GPIO_MODE_INPUT; io_conf.pull_up_en = 1; io_conf.pull_down_en = 0; I added the last 2 lines to button_init() in button.c and no longer have the stuck buttons. Everything works as expected. Ke...
by Digital Larry
Sun Apr 12, 2020 8:28 am
Forum: ESP-IDF
Topic: Any ready-to-go code for ESP32 GPIO button debouncing?
Replies: 5
Views: 10933

Re: Any ready-to-go code for ESP32 GPIO button debouncing?

Here's another clue. (Note, I added IO36 to the list). If I hold down key 6, which is connected to IO5, and reboot, I get: I (1272) BUTTON: Registering button input: 5 I (1272) BUTTON: Registering button input: 13 I (1282) BUTTON: Registering button input: 18 I (1282) BUTTON: Registering button inpu...
by Digital Larry
Sun Apr 12, 2020 1:34 am
Forum: ESP-IDF
Topic: Any ready-to-go code for ESP32 GPIO button debouncing?
Replies: 5
Views: 10933

Re: Any ready-to-go code for ESP32 GPIO button debouncing?

OK here's where I am. I'm using the AiThinker A1S WiFi/BT/Audio board. The schematic is here: http://wiki.ai-thinker.com/_media/esp32/docs/esp32-audio-kit_v2.1-open_custom.pdf There are 6 buttons which route to IO5, IO13, IO18, IO19, IO23, IO36. They are pulled up via an R/2R ladder which eventually...
by Digital Larry
Thu Apr 09, 2020 3:14 pm
Forum: ESP-IDF
Topic: Any ready-to-go code for ESP32 GPIO button debouncing?
Replies: 5
Views: 10933

Re: Any ready-to-go code for ESP32 GPIO button debouncing?

I am using the ESP32-A1S AIThinker audio development board. The switch buttons are pulled up through on board resistors, value not marked in the schematic, in what looks to me like an R/2R ladder arrangement? I've never seen that for button input but I guess this would let you input a binary value. ...
by Digital Larry
Thu Apr 09, 2020 12:48 am
Forum: ESP-IDF
Topic: Any ready-to-go code for ESP32 GPIO button debouncing?
Replies: 5
Views: 10933

Any ready-to-go code for ESP32 GPIO button debouncing?

I found some articles talking about different ways to go about this, but it seems to me like it should be a basic function. I'm using ESP-IDF at the moment.

Thanks,

DL
by Digital Larry
Fri Mar 13, 2020 4:09 am
Forum: ESP-IDF
Topic: anyone using Ubuntu under Windows 10?
Replies: 7
Views: 9579

Re: anyone using Ubuntu under Windows 10?

Putting the baud rate on the cmd line works, thanks!
by Digital Larry
Thu Mar 12, 2020 7:56 pm
Forum: ESP-IDF
Topic: anyone using Ubuntu under Windows 10?
Replies: 7
Views: 9579

Re: anyone using Ubuntu under Windows 10?

I've tried setting different speeds in the menuconfig

Serial Flasher Config-> 'idf.py monitor' baud rate (921600 bps) --->

No matter what I set it to, when the program goes to flash the board, it still reports as 460800.

??

:?:
by Digital Larry
Wed Mar 11, 2020 4:01 pm
Forum: ESP-IDF
Topic: anyone using Ubuntu under Windows 10?
Replies: 7
Views: 9579

Re: anyone using Ubuntu under Windows 10?

OK, that's another approach I might try. So, you don't have any problems flashing the board over USB using Ubuntu in Virtualbox? Looks like from the error I got it had some problem adjusting the baud rate. And to be clear, this error does not happen when doing the same thing in the Windows native ES...