Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5804

General • Reading the internal temperature on a Pico using a solar panel

$
0
0
I have a Raspberry Pi Pico running an NB-IOT modem, which is powered by a battery and maintained using a solar panel. It sleeps for 6 hours, wakes up and reports the voltage read from the modem, and the internal temperature of the Pico. I am finding that the temperature is low. I read this post viewtopic.php?p=2117993&sid=ceaa6b95334 ... 383b8d6cd8 and see that the internal temperature is calculated using ADC_VREF, which is different each time. How do I change the equation for different voltages? Here are some results

Code:

Message-> device/state b'{"volts": "3369", "timestamp": "24/07/21,02:32:46-16", "alarm": false, "ccid": null, "temperature": "15.3408"}'Message-> device/state b'{"volts": "3385", "timestamp": "24/07/21,08:33:15-16", "alarm": false, "ccid": null, "temperature": "14.40451"}'Message-> device/state b'{"volts": "3374", "timestamp": "24/07/21,14:33:28-16", "alarm": false, "ccid": null, "temperature": "20.02224"}'

Statistics: Posted by CrabbyPete — Sun Jul 21, 2024 7:28 pm



Viewing all articles
Browse latest Browse all 5804

Trending Articles