WH1050 solar power with telemetry

Weather station out-door unit powered with (cheap) solar panel and retransmitting telemetry in jee-node compatible packets.

Similar projects worth following
Jee-node unit measures solar panel (loaded and idle) and battery voltage, controls charging of battery during daylight time to avoid overcharging, and if necessary stop retransmission until battery is recharged.

Power consumption of weather station's external unit is very small. Though in the case of WH1050 it would require a pair of AA every couple of months. I was fed up climbing my shed couple times a year, almost always in the most unfortunate times and the worst weather conditions. Further, each time the external unit is restarted it requires re-pairing with the in-door unit (transmission ID is incremented). I decided to power it permanently. Running wires along the wall inside the shed to a wall-mart style PSU was not a problem, but it's efficiency - it would lose 70% - 80% of energy just for self-heating.

A solar panel powered rechargeable battery power would solve this problem. I purchased the cheapest 3.7V LiPo battery - most of them are of a flat shape purposed for a GPS/navigation systems. I oversized the battery and solar panel just for sake of safety - it turned out that even in case of nuclear war or weather catastrophe, my weather station would still run for 2 weeks of complete darkness ;) thanks to the sleep mode. WH1050 transmits its packets in intervals, and there is no point to wait idle with radio on in between. Puting atmega and RFM12b into sleep mode saves a lot of battery power.

The atmega used for the project is eavesdropping proprietary transmissions, and right after retransmits its decoded contents with JeeNode protocol. Using a stock RF12demo retransmitted frames can be gathered by a another node in the house, logged for analysis, etc: The longer frames below holds the entire telemetry of weather: temperature, humidity, wind speed and rain. The shorter frames, were added by my firmware to transmit additional information regarding electrical conditions: battery voltage, solar panel idle voltage and solar panel loaded voltage (during battery charging).

OKX GB2 195EF06133050B196279
OKX GB2 1948A9D94A0C
OKX GB2 195EF06233050B196280
OKX GB2 1948ACD94A0C
OKX GB2 195EF06233050919620C
OKX GB2 1948AAD83A0C
OKX GB2 195EF06233070B196287
OKX GB2 195EF06333090E1962AA

A shell script translates binary encoded frames into understandable telemetry:

Thu Jan 28 15:26:04 CET 2016 Temp 9.7 rHum 51 Wvel 1.70 Wmax 3.74 Rain 1949.4
Thu Jan 28 15:26:04 CET 2016 Sol 5.834 Idle 9.148 Bat 4.092
Thu Jan 28 15:26:52 CET 2016 Temp 9.8 rHum 51 Wvel 1.70 Wmax 3.74 Rain 1949.4
Thu Jan 28 15:26:52 CET 2016 Sol 5.842 Idle 9.148 Bat 4.092
Thu Jan 28 15:28:28 CET 2016 Sol 5.845 Idle 9.124 Bat 4.092
Thu Jan 28 15:29:16 CET 2016 Temp 9.8 rHum 51 Wvel 1.70 Wmax 3.06 Rain 1949.4
Thu Jan 28 15:29:16 CET 2016 Sol 5.837 Idle 9.103 Bat 4.092
Thu Jan 28 15:30:04 CET 2016 Temp 9.8 rHum 51 Wvel 2.38 Wmax 3.74 Rain 1949.4
Thu Jan 28 15:30:04 CET 2016 Sol 5.842 Idle 9.127 Bat 4.092
Thu Jan 28 15:30:52 CET 2016 Temp 9.9 rHum 51 Wvel 3.06 Wmax 4.76 Rain 1949.4

The script requires that the node connected to a host is flashed with RF12demo.ino sketch from JeeLabs, and configured for HEX output, just like above.

parser script for reception node

x-shellscript - 5.25 kB - 01/28/2016 at 21:21



outdoor unit control sketch

x-arduino - 16.91 kB - 01/28/2016 at 21:11


  • not so dry after all

    sq7bti05/15/2020 at 21:11 0 comments

    Unit is still working, after so many years of operation in wind, snow, haze, and scorching sun.

    What failed first is humidity sensor, that was already showing signs of age with it's weird readings as it turned out after all. Here is a picture of the old one:

    Datasheet of such sensor HS1101 specifies minimum capacitance to be around 160pF for 0%. No wonder it was giving such erronous readings before. Outdoor unit is equipped with a module that holds also the calibration data (EEPROM with mcu), but fortunately for my unprofessional outdoor humidity measurement, changing just the component gave good enough reading. New one:

    After replacement outdoor unit gave a reasonable readings again.

  • dry sunday graph

    sq7bti05/13/2016 at 09:21 0 comments

    Last two weeks graph, with extreme humidity peaks:

  • Dry summer

    sq7bti05/10/2016 at 14:10 0 comments

    This weekend was a very dry weather over here:

    Indoor unit doubted humidity measurement sanity: hyphens shown instead.

View all 3 project logs

Enjoy this project?



david wrote 04/17/2019 at 16:44 point

Can you possibly advise please?

I have been led by Google to your

My WH1050 weather station has stopped showing the outside humidity and temperature

Everything else continues  to function

Where would I look to correct this?

Thank you

David Lewin

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates