Search found 13 matches

by udmicpy
Fri Sep 04, 2020 7:51 am
Forum: ESP32 boards
Topic: GPIO wakeup enable
Replies: 6
Views: 3651

Re: GPIO wakeup enable

Hi all, I have an additional question to this topic. On this page https://randomnerdtutorials.com/esp32-external-wake-up-deep-sleep/ we can find C-code like this void print_GPIO_wake_up(){ int GPIO_reason = esp_sleep_get_ext1_wakeup_status(); Serial.print("GPIO that triggered the wake up: GPIO "); S...
by udmicpy
Fri Feb 01, 2019 2:38 pm
Forum: General Discussion and Questions
Topic: Can i store arbitrary data in RTC_DATA_ATTR for ESP32
Replies: 3
Views: 3840

Re: Can i store arbitrary data in RTC_DATA_ATTR for ESP32

Thanks for your answers.
I like the JSON solution.

Bye, Uwe
by udmicpy
Thu Jan 31, 2019 2:12 pm
Forum: General Discussion and Questions
Topic: ESP32: IRQ with TSL2561 is working but wakeup via IRQ from deepsleep does not
Replies: 0
Views: 2293

ESP32: IRQ with TSL2561 is working but wakeup via IRQ from deepsleep does not

Hi all, I wrote some code for version 1.10 of micropython for ESP32 and the light sensor TSL2561. In the first code-snippet I get ISR calls in an endless loop. This example 1 works. The seconds code-snippet is trying to wake up the ESP32 from deepsleep with such an interrupt. But it will not wake up...
by udmicpy
Sun Dec 23, 2018 7:02 pm
Forum: General Discussion and Questions
Topic: Can i store arbitrary data in RTC_DATA_ATTR for ESP32
Replies: 3
Views: 3840

Can i store arbitrary data in RTC_DATA_ATTR for ESP32

Hi all,

in a video from the guy with the swiss accent, I found an hint that it is possible to save data in the ESP32 which will not get lost when the ESP32 is going into deepsleep.

Is this already possible with micropython? If yes, some lines of code would be great.

Best regards, Uwe
by udmicpy
Sun Dec 23, 2018 6:58 pm
Forum: General Discussion and Questions
Topic: Can I wake up the ESP32 from deepsleep via touch pin?
Replies: 1
Views: 1604

Can I wake up the ESP32 from deepsleep via touch pin?

Hi all,

is this feature still not yet implemented?
If it is implemented, some lines of code would be appreciated.
Thanks a lot in advance.

Thanks, Uwe
by udmicpy
Fri Sep 22, 2017 11:31 am
Forum: General Discussion and Questions
Topic: Problems with interrupt handler for TSL2561 on ESP8266
Replies: 8
Views: 6437

Re: Problems with interrupt handler for TSL2561 on ESP8266

Hello Peter, thank you very much for you hints concerning ISR debugging. But I really do not understand why after the first received interrupt the PIN state can't be set to it's old value by using the function which is intended to do this. And the value of the threshold should be OK for testing caus...
by udmicpy
Fri Sep 08, 2017 5:54 am
Forum: General Discussion and Questions
Topic: Problems with interrupt handler for TSL2561 on ESP8266
Replies: 8
Views: 6437

Re: Problems with interrupt handler for TSL2561 on ESP8266

Hello again,

could anybody again try to help me.
For me the problem isn't already solved.

Help is appreciated.

Thanks a lot in advance.

Best regards, Uwe
by udmicpy
Sat Aug 26, 2017 3:03 pm
Forum: General Discussion and Questions
Topic: Problems with interrupt handler for TSL2561 on ESP8266
Replies: 8
Views: 6437

Re: Problems with interrupt handler for TLS2561 on ESP8266

Hello Radomir, thanks for your immediate response. I'm now using another cycle value for the threshold --> sensor.threshold(2,20,50) But all what I tried did not work. My IRQ Pin has initially the value 1. After the first interrupt occured it has value 0. But when I call sensor.interrupt(False) it s...
by udmicpy
Sat Aug 26, 2017 1:48 pm
Forum: ESP8266 boards
Topic: help,can't init the RTC!
Replies: 7
Views: 8741

Re: help,can't init the RTC!

Hello all together, I had today (one year later) the same problem. Wouldn't it be fine if the MicroPython documentation could be hold more up to date? And in which source code should we take a look? In the c source of the github project? https://github.com/micropython/micropython/blob/master/esp8266...
by udmicpy
Sat Aug 26, 2017 9:27 am
Forum: General Discussion and Questions
Topic: Problems with interrupt handler for TSL2561 on ESP8266
Replies: 8
Views: 6437

Q

Hello Radomir, thanks for your immediate response. The problem is, that I get an interrupt only once. After I got an interrupt I try to reset interrupt by calling sensor.threshold(-1,0,0,). Then the pin has the value 1 again. But in the moment when I set threshold to 0,10,20 the pin value changes di...