Back in the summer of 2013 I was looking for a replacement for my laptop that was sending weather updates from my Peet Bros U2100 to the CWOP network. My laptop died, and I thought this would be the perfect application for my Raspberry Pi. I found a script the the U800 (see post below for more) and got it working for the U2100, but it needed a few tweaks to work properly with the U2100. Specifically, the changes I made were:
- Changed time to localtime() – be sure your rasperry pi is set to the correct timezone.
- Changed humidity as the U2100 reports 3 digits.
- Changed wind reporting as U2100 reports in kph, not mph.
- Changed temp reporting to handle negative numbers.
This code has been working for my U2100 for over 6 months with few problems, such as
the negative temps not being handled correctly being the last thing fixed. I wasn’t
aware of the issue till it got cold enough! See the original post for more on how to use it with the RPi, many thanks to CloudHopper who provided it.
My weather station’s data can be seen HERE. Every once and a while I see the local news show my stations data on the air – cool!
Do you have any info on how to hook up. This is exactly what I wanted to do, but am not well schooled in the mechanics. Have the Pi with wireless card and the 2100 .
I have it hooked up using a USB – RS232 cable on the Raspberry Pi – don’t remember which one, but if you google it I am sure you’ll find a list of supported adapters. That hooks up to the 2100’s RS232 port which can be found on the breakout box (that breaks out the temp, humidity, wind and rain sensors as well as an RS232 port), or it can be attached to the 2100 display as well I believe.
Thanks for the info. Simpler than I thought.
This is perfect have it running on my raspberry pi and can see the aprs string on the screen. Unfortunately I do not see my data on the cwop site. Any idea as to why it is not sending via the internet. I have a dongle and can access the internet with the pi. I also had a visual basic program the I wrote years ago and it have the rain last hour and rain since midnight I believe I will try to find that and add it to your code to give the complete record out to APRS. Thank for the help I just got my account with cwop re-activated as I had not been on the air for several years your code encouraged me to get back up thank you.
Really hard to tell why it’s not showing up. There is a website that shows rejected packets to CWOP – look at this: http://www.wxqa.com/servers2use.html
Thank You for the reply. I will do some more research to figure this out. I really need to get my APRS station back up and I know that works fine.