LIFsCode / ELOC-3.0

Firmware for ELOC 3.0 Hardware
MIT License
3 stars 3 forks source link

Adding voltage and temperature readings to log during record #38

Closed EDsteve closed 8 months ago

EDsteve commented 10 months ago

Small job :) It logs voltage and temp in stand by. But it would be helpful if we can also log the voltages and temperatures during recording.

For now it only writes this during recording: I (720719) main: record in second loop--voltage check

Possible?

Cheers ED

OOHehir commented 10 months ago

I should be able to incorporate this in the 'main' loop. How often should it be recorded while inference or recording is occurring?

On Wed 15 Nov 2023, 09:41 EDsteve, @.***> wrote:

Small job :) It logs voltage and temp in stand by. But it would be helpful if we can also log the voltages and temperatures during recording.

For now it only writes this during recording: I (720719) main: record in second loop--voltage check

Possible?

Cheers ED

— Reply to this email directly, view it on GitHub https://github.com/LIFsCode/ELOC-3.0/issues/38, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJSSOW23SX6QGZVIEGCOYCLYESE3VAVCNFSM6AAAAAA7MGBWYCVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4TINBQG42DKMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

EDsteve commented 10 months ago

@OOHehir It should write it during every status to the log besides in sleep mode. Not sure if you have seen the changes in the master branch. @LIFsCode added the option to store the logs on the SD card. Temperature and voltages are interesting for us every 10 or 30 minutes. But more often doesn't hurt much :)

So we can get an idea how well the solar panel is charging (For example if something grows over the panel or if the batteries are getting old/bad).

LIFsCode commented 10 months ago

I the long run I plan to add a status task for handling all this small stuff ( battery, temperature, click detection, later GPS, buzzer, led, etc) in a centralized way.

LIFsCode commented 8 months ago

this should be done with this commit