esp8266 data logger stand alone

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: esp8266 data logger stand alone

Post by Roberthh » Tue Nov 02, 2021 8:56 pm

Sure. That's what I asked initially. The deep sleep time does not count. So if your device is active for only 1 minute in a 15 minute cycle, the total energy needed is 15 times less, only 2400 mAh. That was my initial assumption. If the wake time is even shorter, the better.

moetaz
Posts: 39
Joined: Sun Oct 31, 2021 11:33 am

Re: esp8266 data logger stand alone

Post by moetaz » Tue Nov 02, 2021 8:58 pm

davef wrote:
Tue Nov 02, 2021 8:54 pm
Do you really need the access point running 24/7? Could you cope with being able to get the data off the remote say every hour or ?
the point of the access point working

as in any time you can access the device to check the current temperature

without any processing for final report

as every read taken by the device is recorded and update the access point web page

moetaz
Posts: 39
Joined: Sun Oct 31, 2021 11:33 am

Re: esp8266 data logger stand alone

Post by moetaz » Tue Nov 02, 2021 8:59 pm

Roberthh wrote:
Tue Nov 02, 2021 8:56 pm
Sure. That's what I asked initially. The deep sleep time does not count. So if your device is active for only 1 minute in a 15 minute cycle, the total energy needed is 15 times less, only 2400 mAh. That was my initial assumption. If the wake time is even shorter, the better.
the wake time will be 1 second as max

the device just wake up take new reading and update all system file

and go sleeping again

davef
Posts: 811
Joined: Thu Apr 30, 2020 1:03 am
Location: Christchurch, NZ

Re: esp8266 data logger stand alone

Post by davef » Tue Nov 02, 2021 9:09 pm

So, every 15 minutes you take a new temperature reading, send it to the local end, go into esp.sleep_type(SLEEP_LIGHT), log it and display at the local end. And you can just use a socket connection, both in sta-mode.

moetaz
Posts: 39
Joined: Sun Oct 31, 2021 11:33 am

Re: esp8266 data logger stand alone

Post by moetaz » Tue Nov 02, 2021 9:16 pm

davef wrote:
Tue Nov 02, 2021 9:09 pm
So, every 15 minutes you take a new temperature reading, send it to the local end, go into esp.sleep_type(SLEEP_LIGHT), log it and display at the local end. And you can just use a socket connection, both in sta-mode.
almost what you say is correct
the local end is saved in the device it self

so that the access point will be required to access this index.html
and my server is build based on scoket connection

davef
Posts: 811
Joined: Thu Apr 30, 2020 1:03 am
Location: Christchurch, NZ

Re: esp8266 data logger stand alone

Post by davef » Tue Nov 02, 2021 10:15 pm

You can try esp.deepsleep() time in us? 15 minutes is a lot of microseconds!

OK you want to serve up a webpage. What are you going to display that on?

moetaz
Posts: 39
Joined: Sun Oct 31, 2021 11:33 am

Re: esp8266 data logger stand alone

Post by moetaz » Tue Nov 02, 2021 11:03 pm

davef wrote:
Tue Nov 02, 2021 10:15 pm
You can try esp.deepsleep() time in us? 15 minutes is a lot of microseconds!

OK you want to serve up a webpage. What are you going to display that on?
i display the recorded temperature

davef
Posts: 811
Joined: Thu Apr 30, 2020 1:03 am
Location: Christchurch, NZ

Re: esp8266 data logger stand alone

Post by davef » Tue Nov 02, 2021 11:12 pm

A PC or ?

moetaz
Posts: 39
Joined: Sun Oct 31, 2021 11:33 am

Re: esp8266 data logger stand alone

Post by moetaz » Tue Nov 02, 2021 11:25 pm

any device have wifi
pc , mobile , tablet ....

davef
Posts: 811
Joined: Thu Apr 30, 2020 1:03 am
Location: Christchurch, NZ

Re: esp8266 data logger stand alone

Post by davef » Tue Nov 02, 2021 11:31 pm

An ESP8266 with a SSD1306 display?

Post Reply