Search found 12 matches

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

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

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

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

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

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

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

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: 6
Views: 2638

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

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...
by udmicpy
Fri Aug 25, 2017 8:10 pm
Forum: General Discussion and Questions
Topic: Problems with interrupt handler for TSL2561 on ESP8266
Replies: 8
Views: 1994

Problems with interrupt handler for TSL2561 on ESP8266

Dear all, I'm using the tsl2561.py module on an ESP8266-12E with 4 MByte. As docu I used this http://micropython-tsl2561.readthedocs.io/en/latest/tsl2561.html and this https://media.readthedocs.org/pdf/micropython-tsl2561/latest/micropython-tsl2561.pdf This is my code: import micropython import mach...