Comments (8)
A dirt cheap supported BMP180 or SHT temp i2c sensor can be added for little cost and effort. Trying to use problematic CPU temperatures isn't something that seems like a fruitful effort in the face of relatively easy alternatives.
from firmware.
"The ESP32-S2 has a built-in sensor used to measure the chip's internal temperature."
"it can measure the die temperature over the temperature range of the device. Linearity compensation can be implemented if required by the application."
"The temperature sensor works by measuring the voltage of a diode in the chip itself, so straight off the bat we aren’t really measuring the ambient room temperature. We are measuring the temperature of the chip itself instead."
You'll get a temperature that's (much) higher than the actual ambient temperature, and it's unknown how to compensate for it. I'm not sure how useful this really is.
from firmware.
You'll get a temperature that's (much) higher than the actual ambient temperature, and it's unknown how to compensate for it. I'm not sure how useful this really is.
It depends ... I have already used the RTC temperature sensor in projects. With a correction value you can adjust the measurement temperature to the little heating of the chip.
But with pure sensors, the MCU is almost always in sleep mode anyway and there is de facto no heating. The values are then +/-1°C and a good indicator of heat.
Btw you can also use LEDs as light sensors for certain circuits.
from firmware.
any measurement close to the MCU board will have to be compensated, and the formula is non-linear, because the components produce constant heat. A sensor inside the MCU is even less useful. If you want to measure ambient temperature the sensors need to be put in a special ventillated enclosure away from the processing unit.
I know about these quirks because i have 2 DECT repeater plugs in my home router system that include an ambient sensor. the readings are pretty useless, even with offset configured.
from firmware.
@caveman99 This is about the possibility of enabling a temperature sensor WITHOUT additional hardware. I would leave it up to the user to decide exactly what this is and for what purposes it can be used.
Have you had any practical experience with the temperature sensors from RTC? What were your deviations from reality?
There is the sensor device type, which hopefully does not permanently heat the MCU and where the RTC temperature should be close to or equal to the ambient temperature.
from firmware.
@thebentern Everything is correct, more precise measurements could be determined with an external sensor. This makes less sense for permanently radioing routers in permanent TX. And of course any experienced hobbyist can solder on a few components and developers can program them into the firmware themselves.
What I particularly like about Meshtastic is that it's not just made for nerds. Without IT knowledge, users can buy one of the inexpensive devices and simply flash it via the web UI.
I have the feeling that I am being misunderstood here. RTC is an posible option e.g. for Heltec V3, the most used device in the wild.
from firmware.
What I particularly like about Meshtastic is that it's not just made for nerds. Without IT knowledge, users can buy one of the inexpensive devices and simply flash it via the web UI.
That's indeed nice. However, if a temperature sensor is included by default, those people expect it to be accurate. You can’t really say that you shouldn’t rely on it when it’s -20 degrees outside, but if it’s +20 degrees it might be accurate, depending on how busy your mesh and thus processor and radio is, etc.
from firmware.
As caveman99 says, the real temperature and the RTC temperature are not directly identical.
Instead of a simple correction value, you could also determine how the RTC temperature behaves depending on the proportion of deep / light sleep. The deviation depends on how much energy the MCU consumes in heat.
For the device type sensor or as an indicator for the temperature, this should be negligible. Btw, the battery voltage and the percentage of charge are also only approximated.
from firmware.
Related Issues (20)
- [Bug]: GPIO output gpio_num error HOT 5
- [Bug]: RAK18001 buzzer causes RAK19003 boot failure HOT 2
- [Feature Request]: Anemometer support HOT 9
- [Feature Request]: Keyboard shortcuts documentation for t-deck. HOT 4
- [Feature Request]: Input lock for t-deck
- [Feature Request]: Add Scan thresholds to libpax for range control
- [Bug]: No PSRAM reported for RAK11200 (ESP32-WROVER) HOT 2
- [Bug] [V3 fix] slotTimeMsec is constant but should be recalculated on startup based on spreading factor and bandwidth
- since 15.05.2024 midnight (CEST) 500kbit/s MQTT traffic HOT 2
- [Bug]: GPS on Portduino works on first application start, subsequent GPS checks fail indefinately. HOT 52
- [Feature Request]: Battery Chemistry Type Selection
- [Feature Request]: Option to swap between channels with navigation switch or rotary encoder
- [Bug]: MQTT JSON message are not encrypted if Encrpyted is on HOT 1
- [Bug]: Unable to build firmware for lora_isp4520
- [Feature Request]: Include firmware version in node telemetry HOT 1
- [Bug]: Fixed position values get cleared upon nodedb reset HOT 2
- [Bug]: Pico W-based node crashes when rebroadcasting received floodmsg HOT 28
- [Feature Request]: Android client share feature. HOT 2
- [Bug]: BME680 fails with BSEC Library version 2.5.0.2 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firmware.