-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qingping Temp & RH M batery level #180
Comments
Clean the battery and contacts. |
I don't think this is a problem. Sensors are brand new, batteries to. I've found out the issue after firmware flash. Sensors with original firmware don't report battery status at all. Hardware issue? |
I don't understand your problem. The battery voltage is different and depends on the load. The load at work is different and the voltage is different. In advertising mode, there is active and passive scanning - with active, there is an additional transmission and more consumption. The battery voltage is lower for a while after this event. |
It is possible to oxidize the GPIO_PB5 pin on the SoC TLSR8253F512ET32 (CGG1)? |
CGG1 one of all has internal capacitors for power supply and additional switches for power input from the battery. This may have an effect.
In the previous version, the voltage power value was digitized from the GPIO going to additional elements... |
That's only under 0.1V difference, which is actually quite excellent for this device in my opinion. ADC in ESP32 isn't "state of the art", you know. Good, stable ADC's are pretty expensive. ADC inside ESP32 is definitely only of average quality. It relies on internal voltage refefence, which can fluctuate with chip consumption and so you get varying ADC result. Then any external noise can be the "bad" factor... etc... |
This is the effect of capacitors and diodes in the power supply circuit. Capacitors are sufficient for some charge cycles, but not for others. The internal resistance of the battery is quite high and from any load there is a voltage drop with subsequent recovery after the load is turned off. The CGG1 has a power protection IC based on its dual transistors. PS: For the new CR2032, the voltage drop during a transmit pulse is about 0.2V (LYWSD03MMC). |
I don't speak English and it's hard for me to explain to you. Launch https://pvvx.github.io/ATC_MiThermometer/TelinkMiFlasher.html |
CGG1 in the barn. GraphMemo.html |
CGG1 https://pvvx.github.io/ATC_MiThermometer/TelinkMiFlasher.html : |
This is not an ESP8266/ESP32. |
The load on the battery for CGG1 and all with E-Ink is greater. It takes a lot of energy to redraw E-Ink. Many times more than LCD. On the graph, the supply voltage drop reaches 0.2 Volts. Replace the battery with a better one with lower internal resistance. |
Esp32 was just an example… |
The supply voltage has very high noise - the built-in DC-DC in the TLSR825x works, but this does not affect the ADC. |
Viktor, many thanks for the very good explanation. Because it's a hardware issue there's not so much to do left :( |
Can be bypassed by measurements when there is no E-Ink update: Implemented in CGG1_v35c_bat.bin @mmkrysiak If this option is better, write consent - I will insert changes into the general version for CGG1. |
@pvvx it's a very good idea. Battery level results are much more reliable for typical user now. I'm just wondering:
|
Not possible in principle due to the type of battery.
But this is reality. |
Thanks @pvvx. Mine results are not that stable than yours but much better than before. Please insert changes into the general version for CGG1. |
It is possible that such a result was obtained due to the bit depth limitation in the format of advertising transmission you have chosen. |
There is big difference between neighbour reports of battery level.
Is it any chance to fix it?
Please take a look at the report below
[20:32:45][D][pvvx_mithermometer:118]: Got PVVX MiThermometer (5A:58:2D:34:11:88):
[20:32:45][D][pvvx_mithermometer:121]: Temperature: 19.92 °C
[20:32:45][D][pvvx_mithermometer:124]: Humidity: 39.03 %
[20:32:45][D][pvvx_mithermometer:127]: Battery Level: 82 %
[20:32:45][D][pvvx_mithermometer:130]: Battery Voltage: 2.946 V
[20:32:57][D][pvvx_mithermometer:118]: Got PVVX MiThermometer (5A:58:2D:34:11:88):
[20:32:57][D][pvvx_mithermometer:121]: Temperature: 19.89 °C
[20:32:57][D][pvvx_mithermometer:124]: Humidity: 39.04 %
[20:32:57][D][pvvx_mithermometer:127]: Battery Level: 75 %
[20:32:57][D][pvvx_mithermometer:130]: Battery Voltage: 2.879 V
[20:33:02][D][pvvx_mithermometer:118]: Got PVVX MiThermometer (5A:58:2D:34:11:88):
[20:33:02][D][pvvx_mithermometer:121]: Temperature: 19.89 °C
[20:33:02][D][pvvx_mithermometer:124]: Humidity: 39.04 %
[20:33:02][D][pvvx_mithermometer:127]: Battery Level: 75 %
[20:33:02][D][pvvx_mithermometer:130]: Battery Voltage: 2.879 V
[20:33:17][D][pvvx_mithermometer:118]: Got PVVX MiThermometer (5A:58:2D:34:11:88):
[20:33:17][D][pvvx_mithermometer:121]: Temperature: 19.90 °C
[20:33:17][D][pvvx_mithermometer:124]: Humidity: 39.05 %
[20:33:17][D][pvvx_mithermometer:127]: Battery Level: 83 %
[20:33:17][D][pvvx_mithermometer:130]: Battery Voltage: 2.947 V
[20:33:22][D][pvvx_mithermometer:118]: Got PVVX MiThermometer (5A:58:2D:34:11:88):
[20:33:22][D][pvvx_mithermometer:121]: Temperature: 19.90 °C
[20:33:22][D][pvvx_mithermometer:124]: Humidity: 39.05 %
[20:33:22][D][pvvx_mithermometer:127]: Battery Level: 83 %
[20:33:22][D][pvvx_mithermometer:130]: Battery Voltage: 2.947 V
[20:33:38][D][pvvx_mithermometer:118]: Got PVVX MiThermometer (5A:58:2D:34:11:88):
[20:33:38][D][pvvx_mithermometer:121]: Temperature: 19.93 °C
[20:33:38][D][pvvx_mithermometer:124]: Humidity: 39.05 %
[20:33:38][D][pvvx_mithermometer:127]: Battery Level: 75 %
[20:33:38][D][pvvx_mithermometer:130]: Battery Voltage: 2.879 V
The text was updated successfully, but these errors were encountered: