Skip to content

Instantly share code, notes, and snippets.

@tomtor
Last active August 19, 2020 08:53
Show Gist options
  • Save tomtor/99e2a33bfa404ff99454aa94fc0df804 to your computer and use it in GitHub Desktop.
Save tomtor/99e2a33bfa404ff99454aa94fc0df804 to your computer and use it in GitHub Desktop.
ESP32: ULP LED Hart beat and read DHT22 sensor
@gdampf
Copy link

gdampf commented Feb 13, 2020

@mahesh2000, following the description in the link from my last post, I got it working without WiFi by disabling the I_END(), but this may not be satisfying in all cases. I decided, to do it without ULP, but deep sleep between the measures, so I managed to have my Sensor sending in 10 min. intervals powered by a small rechargeable battery for about 2 months, which is fine. But, of course, I get only 6 samples per hour this way. For temperature and humidity, this nevertheless is exact enough in most cases.

@mahesh2000
Copy link

mahesh2000 commented Feb 13, 2020

hi @gdampf, do you mean that you kept the ULP running in sleep/wake cycles forever without restarting it? that would work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment