Vysielac k meteostanici funguje len so slabymi bateriami
Moderátor: Moderátoři
Proč mi nemůže všechno chodit hned ?!!
rnbw píše:To planujem skusit, ak sa mi podari vyriesit ten zvysesny odber. Inak to leti do odpadu.
Divné je, že se takto čidlo začalo chovat až po mnoha letech, protože toto téma je tady už od roku 2014 a tehdy jste problémy s výdrží baterií v čidle nezmiňoval z čehož usuzuji že se tento problém začal projevovat až letos.
Napadá mne jestli to vnější čidlo nezačalo mít třeba nějaké problémy s příjmem signálu DCF77 a jestli se tedy odběr nezvýšil kvůli tomu. Zkuste na hlavní jednotce dočasně vypnout příjem seřizování času a zkontrolujte jestli se poté odběr čidla sníží. V dotazu z poradny viz tento odkaz majitel meteostanice IROX EBR606 zmiňuje "Mám zapnutý příjem seřízení času-ON", z čehož usuzuji, že by to pravděpodobně mělo jít vypnout a pokud hlavní jednotka nebude od čidla požadovat synchronizaci času a problém se zvýšením odběru čidla s tím souvisí tak by se mohl odběr čidla po tom vypnutí snížit.
Předpoklad ohledně snížení odběru čidla při zmíněném vypnutí synchronizace na straně hlavní stanice samozřejmě platí jen pokud je komunikace mezi hlavní stanicí a čidlem obousměrná. Pokud je komunikace jen jednosměrná tj. že hlavní stanice jen přijímá data, ale žádné do čidla neposílá a v případě vypnutí synchronizace jen ignoruje čas posílaný z čidla tak to zmíněné vypnutí asi odběr na straně čidla neovlivní.
DCF-77 prijimac som odstranil, zvyseny odber trva. Pokus o prijem DCF-77 sa da zistit stavom signalu PON (Power ON). Akurat neviem, ci je aktivny v nule alebo v jednotke (pozeral som datasheety viacerych DCF-77 prijimacov a kazdy to ma inak).
Kazdopadne by to po niekolkych minutach malo pokusy vzdat a odber by mal padnut na (takmer) nulu, s obcasnym prebudenim na zmeranie a odoslanie teploty.
Otazne je, co sposobuje ten zvyseny odber. Skusal som odspajkovat keramiky, ale nepomohlo to (su tam nejake male a jedna vacsia vo zvysujucom menici). Aj som odpojil vysielaciu cast od napajania (je tam nulovy odpor).
Po vymene (2M som vo vrakoch nenasiel - dal som dva 1M do serie) to funguje spravne. Zerie 0,01-0,02mA (bez DCF-77 modulu), slabe baterie indikuje pod 2,7V.
Vratil som DCF-77 modul - zerie to s nim 0,03-0,04mA. Po dvoch minutach od zapnutia napajania sa zapne DCF-77 prijimac uzemnenim pinu PON, spotreba narastie na 0,74mA. Ked sa synchronizacia nedari, po 10 minut to vzda a klesne to naspat na 0,03mA.
Kód: Vybrat vše
$ rtl_433 -A
rtl_433 version 22.11 (2022-11-19) inputs file rtl_tcp RTL-SDR SoapySDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/xxx/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...
Registered 191 out of 223 device decoding protocols [ 1-4 8 11-12 15-17 19-23 25-26 29-36 38-60 63 67-71 73-100 102-105 108-116 119 121 124-128 130-149 151-161 163-168 170-175 177-197 199 201-215 217-223 ]
Detached kernel driver
Found Fitipower FC0012 tuner
Exact sample rate is: 250000.000414 Hz
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
baseband_demod_FM: low pass filter for 250000 Hz at cutoff 25000 Hz, 40.0 us
Detected OOK package 2023-06-15 23:22:02
Analyzing pulses...
Total count: 369, width: 441.68 ms (110420 S)
Pulse width distribution:
[ 0] count: 294, width: 592 us [576;612] ( 148 S)
[ 1] count: 75, width: 1172 us [1156;1188] ( 293 S)
Gap width distribution:
[ 0] count: 284, width: 380 us [364;400] ( 95 S)
[ 1] count: 8, width: 1380 us [1376;1392] ( 345 S)
[ 2] count: 76, width: 776 us [764;796] ( 194 S)
Pulse period distribution:
[ 0] count: 247, width: 976 us [952;992] ( 244 S)
[ 1] count: 83, width: 1780 us [1544;1992] ( 445 S)
[ 2] count: 38, width: 1372 us [1360;1388] ( 343 S)
Pulse timing distribution:
[ 0] count: 294, width: 592 us [576;612] ( 148 S)
[ 1] count: 83, width: 1192 us [1156;1392] ( 298 S)
[ 2] count: 284, width: 380 us [364;400] ( 95 S)
[ 3] count: 76, width: 776 us [764;796] ( 194 S)
[ 4] count: 1, width: 11884 us [11884;11884] (2971 S)
Level estimates [high, low]: 15890, 879
RSSI: -0.1 dB SNR: 12.6 dB Noise: -12.7 dB
Frequency offsets [F1, F2]: 9003, 0 (+34.3 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with multiple packets
view at https://triq.org/pdv/#AAB01D0501025004A8017C03082E6C828282828282828282828282828282828155+AAB03A0501025004A8017C03082E6C8382938293828292828393828282828282828282828282828282828292828393928382828282828282928282828155+AAB0380501025004A8017C03082E6C838293829393928283938282828282828282828282829382828292828393928382828282828282928282828155+AAB0390501025004A8017C03082E6C83829382928382928283938282828282828282828282938282828292828393928382828282828282928282828155+AAB0390501025004A8017C03082E6C83829382928283928283938282828282828282828282928382828292828393928382828282828282928282828155+AAB0390501025004A8017C03082E6C83829393828282928283938282828282828282828293828282828292828393928382828282828282928282828155+AAB0370501025004A8017C03082E6C8382939382939282839382828282828282828282939382828292828393928382828282828282928282828155+AAB0380501025004A8017C03082E6C838293939382928283938282828282828282828292838282828292828393928382828282828282928282828155+AAB0340501025004A8017C03082E6C8382939392839282839382828282828282828282928283828282928283939283828282828282828455
Attempting demodulation... short_width: 592, long_width: 1172, reset_limit: 1396, sync_width: 0
Use a flex decoder with -X 'n=name,m=OOK_PWM,s=592,l=1172,r=1396,g=800,t=232,y=0'
pulse_slicer_pwm(): Analyzer Device
bitbuffer:: Number of rows: 9
[00] {17} ff ff 80 : 11111111 11111111 1
[01] {46} d6 df ff f6 7f bc : 11010110 11011111 11111111 11110110 01111111 101111
[02] {44} d1 bf fd d9 fe f0 : 11010001 10111111 11111101 11011001 11111110 1111
[03] {45} d6 df fd ec ff 78 : 11010110 11011111 11111101 11101100 11111111 01111
[04] {45} d6 df fd ec ff 78 : 11010110 11011111 11111101 11101100 11111111 01111
[05] {45} ce df fb ec ff 78 : 11001110 11011111 11111011 11101100 11111111 01111
[06] {43} c9 bf f3 b3 fd e0 : 11001001 10111111 11110011 10110011 11111101 111
[07] {44} c5 bf f7 d9 fe f0 : 11000101 10111111 11110111 11011001 11111110 1111
[08] {40} c5 bf f7 d9 ff : 11000101 10111111 11110111 11011001 11111111
Detected OOK package 2023-06-15 23:23:03
Analyzing pulses...
Total count: 370, width: 441.67 ms (110417 S)
Pulse width distribution:
[ 0] count: 296, width: 592 us [568;616] ( 148 S)
[ 1] count: 74, width: 1172 us [1152;1192] ( 293 S)
Gap width distribution:
[ 0] count: 286, width: 380 us [364;404] ( 95 S)
[ 1] count: 8, width: 1380 us [1380;1392] ( 345 S)
[ 2] count: 75, width: 776 us [756;800] ( 194 S)
Pulse period distribution:
[ 0] count: 257, width: 976 us [956;992] ( 244 S)
[ 1] count: 82, width: 1816 us [1540;2000] ( 454 S)
[ 2] count: 30, width: 1368 us [1352;1396] ( 342 S)
Pulse timing distribution:
[ 0] count: 296, width: 592 us [568;616] ( 148 S)
[ 1] count: 82, width: 1192 us [1152;1392] ( 298 S)
[ 2] count: 286, width: 380 us [364;404] ( 95 S)
[ 3] count: 75, width: 776 us [756;800] ( 194 S)
[ 4] count: 1, width: 11924 us [11924;11924] (2981 S)
Level estimates [high, low]: 15978, 959
RSSI: -0.1 dB SNR: 12.2 dB Noise: -12.3 dB
Frequency offsets [F1, F2]: 10686, 0 (+40.8 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with multiple packets
view at https://triq.org/pdv/#AAB01D0501025004A8017C03082E94828282828282828282828282828282828155+AAB03A0501025004A8017C03082E948382938282928392828393828282828282828282828282828282828292828393938282828282828282928282828155+AAB0390501025004A8017C03082E9483829382938282928283938282828282828282828282829382828292828393938282828282828282928282828155+AAB0380501025004A8017C03082E94838293829393928283938282828282828282828282938282828292828393938282828282828282928282828155+AAB0390501025004A8017C03082E9483829382928382928283938282828282828282828282928382828292828393938282828282828282928282828155+AAB0390501025004A8017C03082E9483829382928283928283938282828282828282828293828282828292828393938282828282828282928282828155+AAB0380501025004A8017C03082E94838293938282829282839382828282828282828282939382828292828393938282828282828282928282828155+AAB0380501025004A8017C03082E94838293938293928283938282828282828282828292838282828292828393938282828282828282928282828155+AAB0340501025004A8017C03082E948382939393829282839382828282828282828282928283828282928283939382828282828282828455
Attempting demodulation... short_width: 592, long_width: 1172, reset_limit: 1396, sync_width: 0
Use a flex decoder with -X 'n=name,m=OOK_PWM,s=592,l=1172,r=1396,g=804,t=232,y=0'
pulse_slicer_pwm(): Analyzer Device
bitbuffer:: Number of rows: 9
[00] {17} ff ff 80 : 11111111 11111111 1
[01] {46} da df ff f6 7f bc : 11011010 11011111 11111111 11110110 01111111 101111
[02] {45} d6 df fe ec ff 78 : 11010110 11011111 11111110 11101100 11111111 01111
[03] {44} d1 bf fb d9 fe f0 : 11010001 10111111 11111011 11011001 11111110 1111
[04] {45} d6 df fd ec ff 78 : 11010110 11011111 11111101 11101100 11111111 01111
[05] {45} d6 df fb ec ff 78 : 11010110 11011111 11111011 11101100 11111111 01111
[06] {44} ce df f9 d9 fe f0 : 11001110 11011111 11111001 11011001 11111110 1111
[07] {44} c9 bf f7 d9 fe f0 : 11001001 10111111 11110111 11011001 11111110 1111
[08] {40} c5 bf f7 d9 ff : 11000101 10111111 11110111 11011001 11111111
Detected OOK package 2023-06-15 23:24:04
Analyzing pulses...
Total count: 370, width: 441.68 ms (110419 S)
Pulse width distribution:
[ 0] count: 296, width: 592 us [576;612] ( 148 S)
[ 1] count: 74, width: 1172 us [1160;1188] ( 293 S)
Gap width distribution:
[ 0] count: 286, width: 380 us [364;400] ( 95 S)
[ 1] count: 8, width: 1380 us [1376;1400] ( 345 S)
[ 2] count: 75, width: 780 us [768;800] ( 195 S)
Pulse period distribution:
[ 0] count: 257, width: 976 us [956;996] ( 244 S)
[ 1] count: 82, width: 1812 us [1540;1992] ( 453 S)
[ 2] count: 30, width: 1372 us [1360;1388] ( 343 S)
Pulse timing distribution:
[ 0] count: 296, width: 592 us [576;612] ( 148 S)
[ 1] count: 82, width: 1192 us [1160;1400] ( 298 S)
[ 2] count: 286, width: 380 us [364;400] ( 95 S)
[ 3] count: 75, width: 780 us [768;800] ( 195 S)
[ 4] count: 1, width: 11884 us [11884;11884] (2971 S)
Level estimates [high, low]: 16025, 906
RSSI: -0.1 dB SNR: 12.5 dB Noise: -12.6 dB
Frequency offsets [F1, F2]: 10700, 0 (+40.8 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with multiple packets
view at https://triq.org/pdv/#AAB01D0501025004A8017C030C2E6C828282828282828282828282828282828155+AAB03A0501025004A8017C030C2E6C8382938282928392828393828282828282828282828282828282828292828393938282828282828282928282828155+AAB0390501025004A8017C030C2E6C83829382938282928283938282828282828282828282829382828292828393938282828282828282928282828155+AAB0380501025004A8017C030C2E6C838293829393928283938282828282828282828282938282828292828393938282828282828282928282828155+AAB0390501025004A8017C030C2E6C83829382928382928283938282828282828282828282928382828292828393938282828282828282928282828155+AAB0390501025004A8017C030C2E6C83829382928283928283938282828282828282828293828282828292828393938282828282828282928282828155+AAB0380501025004A8017C030C2E6C838293938282829282839382828282828282828282939382828292828393938282828282828282928282828155+AAB0380501025004A8017C030C2E6C838293938293928283938282828282828282828292838282828292828393938282828282828282928282828155+AAB0340501025004A8017C030C2E6C8382939393829282839382828282828282828282928283828282928283939382828282828282828455
Attempting demodulation... short_width: 592, long_width: 1172, reset_limit: 1404, sync_width: 0
Use a flex decoder with -X 'n=name,m=OOK_PWM,s=592,l=1172,r=1404,g=804,t=232,y=0'
pulse_slicer_pwm(): Analyzer Device
bitbuffer:: Number of rows: 9
[00] {17} ff ff 80 : 11111111 11111111 1
[01] {46} da df ff f6 7f bc : 11011010 11011111 11111111 11110110 01111111 101111
[02] {45} d6 df fe ec ff 78 : 11010110 11011111 11111110 11101100 11111111 01111
[03] {44} d1 bf fb d9 fe f0 : 11010001 10111111 11111011 11011001 11111110 1111
[04] {45} d6 df fd ec ff 78 : 11010110 11011111 11111101 11101100 11111111 01111
[05] {45} d6 df fb ec ff 78 : 11010110 11011111 11111011 11101100 11111111 01111
[06] {44} ce df f9 d9 fe f0 : 11001110 11011111 11111001 11011001 11111110 1111
[07] {44} c9 bf f7 d9 fe f0 : 11001001 10111111 11110111 11011001 11111110 1111
[08] {40} c5 bf f7 d9 ff : 11000101 10111111 11110111 11011001 11111111Normalne vysiela kazdych 61 sekund teplotu. Ked ma cidlo hodiny nastavene, tak kazdu celu hodinu namiesto teploty vysle cas (ked odpojim stanicu od napajania, tak cas sa nastavi pri nasledujucej celej hodine; ak stanicu odpojim v poslednej minute, tak sa nastavi len cas). Interval vysielania sa nemeni a hodiny sa nastavia presne na sekundu, takze sa musia vysielat aj sekundy. Datum sa vysielat nemusi, pretoze ho stanica nezobrazuje.
Kodovanie som zatial nerozluskol.
Pri vysielani casu sa paket jednoducho 8-krat zopakuje (zda sa, ze obsahuje aj datum). Pri teplote je kazdy paket iny, akoby boli ocislovane.
Stacilo teda upravit prijem teploty a rozlusknut format casu. Pri tom velmi pomohol program timegen z https://bastianborn.de/radio-clock-hack - zobral som zvukovku M-Audio Audiophile 192, do vystupu pripojil sluchadla a ich kabel omotal okolo cidla. Synchronizuje to spolahlivo na cas vygenerovany timegenom.
Kod: https://github.com/merbanan/rtl_433/pull/2547
[edit]
Ukazka vystupu:
Kód: Vybrat vše
time : 2023-06-28 22:59:05
model : Emos-TTX201 House Code: 112
Channel : 1 Battery : 1 Temperature: 23.0 C Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time : 2023-06-28 23:00:06
model : Emos-TTX201 Radio Clock: 2023-06-28T23:00:00 CEST Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time : 2023-06-28 23:01:07
model : Emos-TTX201 House Code: 112
Channel : 1 Battery : 1 Temperature: 23.1 C Integrity : CHECKSUMNa meranie je tam modry termistor, nameral som mu odpor 40K. Ma hnile nohy, ale pokym neuhniju, tak to asi nevadi. Z neho vedu cesty do 4 SMD odporov: 51K, 910K, 200K a 1K. Ked som tieto odpory prespajkoval, zacalo to ukazovat presne na 0,1°C rovnako ako vnutorna cast.
Asi tam boli zvody a bude to chciet odpory vybrat a vycisit aj plosak po nimi.