Search found 182 matches
- Wed Jun 05, 2019 7:14 am
- Forum: General Discussion
- Topic: What is the best practice for push-button event tracking/handling without any hardware debouncing circuit
- Replies: 7
- Views: 21715
Re: What is the best practice for push-button event tracking/handling without any hardware debouncing circuit
Sorry, I missed the dual functionality for long pressing the button. How about: - Checking for interrupts on rising and falling edge - onButtonPress => save esp_log_timestamp to uint32_t pressTimestamp; - onButtonRelease => save esp_log_timestamp to uint32_t releaseTimestamp; uint32_t pressMs = rel...
- Sat Jun 01, 2019 4:46 am
- Forum: General Discussion
- Topic: What is the best practice for push-button event tracking/handling without any hardware debouncing circuit
- Replies: 7
- Views: 21715
Re: What is the best practice for push-button event tracking/handling without any hardware debouncing circuit
You don't need to wait for a long button press to debounce it. Just save the esp_log_timestamp of when the button is released and ignore any new button press for the next say 100ms This should still be responsive enough and very simple to implement Also, use gpio interrupt to check for the button p...
- Thu May 30, 2019 2:37 pm
- Forum: General Discussion
- Topic: What is the best practice for push-button event tracking/handling without any hardware debouncing circuit
- Replies: 7
- Views: 21715
What is the best practice for push-button event tracking/handling without any hardware debouncing circuit
Hi ESP32: I think ESP32 is really cool & powerful. Thanks to its dual-core hardware & RTOS(much important then the previous one) I successfully made really something I've been pround of and would like to use. (And may be later I print the circuit and sells it, because my project is really awesome & ...
- Sun May 12, 2019 8:15 am
- Forum: General Discussion
- Topic: How to make SD card (in SPI Mode) working with other SPI Devices
- Replies: 7
- Views: 16693
Re: How to make SD card (in SPI Mode) working with other SPI Devices
Hi ESP32, Today I bring out this Gear to test its functionality in real. It's really a nice peace of gear! But I suddenly discovered/figured out, that some times when I try to write things to SD Card, the SD Card seems still no ready for that. I got such a log when I go back to my bench & try to rep...
- Sun May 12, 2019 5:31 am
- Forum: General Discussion
- Topic: esp32 idf errosrs while compiling the opc-ua files
- Replies: 17
- Views: 20069
Re: esp32 idf errosrs while compiling the opc-ua files
In my Human opinion all devices can run opc ua, even arduino uno can run opc at least. The Problem here is only, if you can "bake" a proper opc ua implementation into target device. Perhapse you'd like to read more about opc ua in open62541 project.
- Wed May 08, 2019 7:56 pm
- Forum: General Discussion
- Topic: How to make SD card (in SPI Mode) working with other SPI Devices
- Replies: 7
- Views: 16693
- Wed May 08, 2019 6:55 am
- Forum: General Discussion
- Topic: How to make SD card (in SPI Mode) working with other SPI Devices
- Replies: 7
- Views: 16693
Re: How to make SD card (in SPI Mode) working with other SPI Devices
Hello ESP32, I'm still fight for stopping & restarting SPI Bus "HSPI_HOST" again. Now I believe I can stop HSPI_HOST and do the SD Card I/O job as I wished. But I get no luck to reinitialize the SPI for the Nokia 5510 Display again. The Error Log: I (12920) MAIN: long btn press get triggered I (1292...
- Sat Apr 20, 2019 6:54 am
- Forum: General Discussion
- Topic: How to make SD card (in SPI Mode) working with other SPI Devices
- Replies: 7
- Views: 16693
Re: How to make SD card (in SPI Mode) working with other SPI Devices
Jo, I got this working. There is really no trick or change in esp-idf itself. The solution right now is just unplug the display from SPI bus & deinitialize the SPI bus, reinitialize the same SPI bus for SD Card accessing, mount/plug this card (the two job would be done by those automagic functions i...
- Sat Apr 13, 2019 4:05 pm
- Forum: General Discussion
- Topic: How to make SD card (in SPI Mode) working with other SPI Devices
- Replies: 7
- Views: 16693
Re: How to make SD card (in SPI Mode) working with other SPI Devices
Hi WiFive,
Thank you very much for the Quick reply. I will checkout the possible solution for my setup and may be post a nice little video if both of them works properly.
Cheers
Gfast2
Thank you very much for the Quick reply. I will checkout the possible solution for my setup and may be post a nice little video if both of them works properly.
Cheers
Gfast2
- Sat Apr 13, 2019 6:15 am
- Forum: General Discussion
- Topic: How to make SD card (in SPI Mode) working with other SPI Devices
- Replies: 7
- Views: 16693
How to make SD card (in SPI Mode) working with other SPI Devices
Hello ESP-IDF, Recently I decide to make a "gps camera" for myself. It has many parts. but its core is simple: I read GPS Sentence from UART, If I push that button, I write this info into SD card. But the problem is, I would like to use a Nokia 5510 Display for some information display. It would sha...