Search found 31 matches

by eyaleb
Mon Jun 19, 2017 3:05 am
Forum: ESP-IDF
Topic: gettimeofday() still useless across a deep sleep
Replies: 10
Views: 20205

Re: gettimeofday() still useless across a deep sleep

I am at the early stages of collecting data. I do not even know how truly linear the relationship is.
This morning I used a hair dryer to keep the esp around 40dC for 10 minutes in order to get a high temp data point. Leaving it outside for the night should take care of the other side :-)
by eyaleb
Fri Jun 16, 2017 2:23 pm
Forum: ESP-IDF
Topic: gettimeofday() still useless across a deep sleep
Replies: 10
Views: 20205

Re: gettimeofday() still useless across a deep sleep

Thanks ESP_igrr, I added the code and it reads a value of 111 (room temp is 18dC). Holding a finger to it takes it to 113 and it quickly returns to 111. All the doco says about this sensor is that it has a linear temperature response, units not mentioned. I guess I will need to test and see if it ha...
by eyaleb
Fri Jun 16, 2017 8:28 am
Forum: ESP-IDF
Topic: gettimeofday() still useless across a deep sleep
Replies: 10
Views: 20205

Re: gettimeofday() still useless across a deep sleep

I was looking at it. I am now evaluating it. It has a very tight relationship to temperature. I have a ds18b20 on the board adjacent the module and this is what I see: esp-32c.jpg The red line (right scale) is the temperature and the green (left scale) is the ratio of tick count to wall time during ...
by eyaleb
Tue Jun 13, 2017 5:16 am
Forum: ESP-IDF
Topic: gettimeofday() still useless across a deep sleep
Replies: 10
Views: 20205

Re: gettimeofday() still useless across a deep sleep

This time I also asked
I understand that the RTC has a timer that keeps running even in deep sleep, how can it be accessed?
Can this be done? Even if this clock is inaccurate.

TIA
by eyaleb
Mon Jun 12, 2017 5:14 am
Forum: ESP-IDF
Topic: gettimeofday() still useless across a deep sleep
Replies: 10
Views: 20205

gettimeofday() still useless across a deep sleep

This was raised before but I see no change. I save gettimeofday() befoer a deep sleep (5s in my test) and then subtract it from gettimeofday after the wakeup. The result goes wild very soon, often over 15s and even negative at times. Does the API provide a time that is monotonic, regular (even if no...
by eyaleb
Fri Jun 09, 2017 12:01 am
Forum: ESP-IDF
Topic: Core board OK, naked wroom-32 bad - what am I missing?
Replies: 8
Views: 12953

Re: Core board OK, naked wroom-32 bad - what am I missing?

This is what I thought but found it to not reduce the power usage, so it has been disabled in my project ( https://github.com/makehackvoid/ESP8266Lib/blob/master/examples/eyal/esp32/idf/udp/main/udp.c ). I hoped that there is a way, as on the esp8266, to select calibration mode for the next wakeup. ...
by eyaleb
Wed Jun 07, 2017 9:12 am
Forum: ESP-IDF
Topic: Core board OK, naked wroom-32 bad - what am I missing?
Replies: 8
Views: 12953

Re: Core board OK, naked wroom-32 bad - what am I missing?

Does anyone know how I tell the esp32 to not do calibration?

TIA
by eyaleb
Wed Jun 07, 2017 6:55 am
Forum: ESP-IDF
Topic: Core board OK, naked wroom-32 bad - what am I missing?
Replies: 8
Views: 12953

Re: Core board OK, naked wroom-32 bad - what am I missing?

The doco ( https://www.espressif.com/sites/default/files/documentation/esp_wroom_32_datasheet_en.pdf ,version 1.8, page 8) suggests power usage with WiFi should be "160 ~ 260 mA". This is not what I see. [img] power-usage.png [/img] 472mA is what I typically see. The circuit is trivial, using a LiFe...
by eyaleb
Wed Jun 07, 2017 12:37 am
Forum: ESP-IDF
Topic: Core board OK, naked wroom-32 bad - what am I missing?
Replies: 8
Views: 12953

[resolved - bad power] Re: Core board OK, naked wroom-32 bad - what am I missing?

It is fed directly by a USB<->TTL module that never had an issue. [later] Nevertheless, now attached to a proper power supply it works. Also works with a LiFePO4 battery (no LDO). I will now measure the power usage... I feel stupid for not testing this first... [later] It peaks at around 480mA, whic...
by eyaleb
Tue Jun 06, 2017 2:48 pm
Forum: ESP-IDF
Topic: Core board OK, naked wroom-32 bad - what am I missing?
Replies: 8
Views: 12953

Core board OK, naked wroom-32 bad - what am I missing?

I am using a core board which works OK. I now received a few ESP-32S modules and tried the same app. I connected only 4 pins (vcc, gnd, tx, rx) and had no issue programming it and running the hello_world example. I then flashed my app and it is dying at the 'esp_wifi_connect()'. Two modules have the...