Aregram
Posts: 2
Joined: Thu Nov 28, 2013 6:35 pm

Using the raspberry pi as a weather station?

Thu Nov 28, 2013 6:54 pm

Hello,
is it able to use the raspberry pi as a weather staion, which sends every 6 hours (or so) data through wlan to my pc. And is it also doable to charge it with solar energy directly, or do I have to charge a power bank first and then the raspberry pi? Will it also be able to hold up the night with only this energy?

Hope to find some answers in the forum, sincerly yours Aregram

bubbl
Posts: 85
Joined: Sun Jul 14, 2013 9:15 pm
Location: United Kingdom
Contact: Website

Re: Using the raspberry pi as a weather station?

Thu Nov 28, 2013 7:07 pm

there is a useful tool out there on the internet called search engine. here's an example https://www.google.co.uk/search?q=raspb ... er+station
We're not here because we are free. We're here because we are not free. There is no escaping reason. No denying purpose. Because we both know without purpose, we would not exist.
http://www.bartbania.com/

xvzf
Posts: 9
Joined: Sun Nov 04, 2012 11:12 am

Re: Using the raspberry pi as a weather station?

Thu Nov 28, 2013 7:17 pm

Well, but that doesn't solve his second problem!

bubbl
Posts: 85
Joined: Sun Jul 14, 2013 9:15 pm
Location: United Kingdom
Contact: Website

Re: Using the raspberry pi as a weather station?

Thu Nov 28, 2013 7:20 pm

https://www.google.co.uk/search?q=solar ... spberry+pi
First post. Sufficient to search the forum here.
We're not here because we are free. We're here because we are not free. There is no escaping reason. No denying purpose. Because we both know without purpose, we would not exist.
http://www.bartbania.com/

Aregram
Posts: 2
Joined: Thu Nov 28, 2013 6:35 pm

Re: Using the raspberry pi as a weather station?

Thu Nov 28, 2013 7:25 pm

well, thank you ..

bubbl
Posts: 85
Joined: Sun Jul 14, 2013 9:15 pm
Location: United Kingdom
Contact: Website

Re: Using the raspberry pi as a weather station?

Thu Nov 28, 2013 7:30 pm

sorry if I sounded mean, but it's good to explore the topic by yourself and ask in case of problems. It's also very useful skill to learn to search for answers. There are plenty of similar topics and projects on the vast, vast Net, waiting to be discovered :)
We're not here because we are free. We're here because we are not free. There is no escaping reason. No denying purpose. Because we both know without purpose, we would not exist.
http://www.bartbania.com/

gstreeter
Posts: 106
Joined: Sun Sep 02, 2012 11:11 am
Location: UK

Re: Using the raspberry pi as a weather station?

Thu Nov 28, 2013 7:54 pm

bubbl wrote:sorry if I sounded mean, but it's good to explore the topic by yourself and ask in case of problems. It's also very useful skill to learn to search for answers. There are plenty of similar topics and projects on the vast, vast Net, waiting to be discovered :)
Not mean but perhaps unnecessarily blunt given this is the Beginners forum and it's the users first post!

bubbl
Posts: 85
Joined: Sun Jul 14, 2013 9:15 pm
Location: United Kingdom
Contact: Website

Re: Using the raspberry pi as a weather station?

Thu Nov 28, 2013 8:42 pm

gstreeter wrote:
bubbl wrote:sorry if I sounded mean, but it's good to explore the topic by yourself and ask in case of problems. It's also very useful skill to learn to search for answers. There are plenty of similar topics and projects on the vast, vast Net, waiting to be discovered :)
Not mean but perhaps unnecessarily blunt given this is the Beginners forum and it's the users first post!
right, but that doesn't give them absolution from using search engines and asking questions.
We're not here because we are free. We're here because we are not free. There is no escaping reason. No denying purpose. Because we both know without purpose, we would not exist.
http://www.bartbania.com/

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Using the raspberry pi as a weather station?

Thu Nov 28, 2013 8:45 pm

Aregram wrote: is it able to use the raspberry pi as a weather station, which sends every 6 hours (or so) data through wlan to my pc.
That's very doable.
http://www.raspberrypi.org/phpBB3/viewt ... 37&t=60251
http://www.weather.dragontail.co.uk/

There's some folks using the MQTT pub/sub protocol to send data from a weather station to a consumer.
http://metaclaws.com/2013/04/29/publica ... sing_mqtt/
I'm a big fan of MQTT because it's just easy as a transport layer (it's a lot easier than http).

http://www.rainmanweather.com/site/cont ... ion-Online
Should give some hints on the hardware side of your project.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Using the raspberry pi as a weather station?

Thu Nov 28, 2013 8:48 pm

bubbl wrote:
gstreeter wrote:
Not mean but perhaps unnecessarily blunt given this is the Beginners forum and it's the users first post!
right, but that doesn't give them absolution from using search engines and asking questions.
I think you have to give a bit a latitude to the beginners. It could be seen as a little blunt to post a LMGTFY or RTFM. I'm guilty as charged but we should try to avoid scaring off the folks who are just getting started.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

henkg
Posts: 10
Joined: Sat Nov 24, 2012 7:42 pm
Location: Netherlands

Re: Using the raspberry pi as a weather station?

Fri Nov 29, 2013 7:35 am

For using an rpi with a weather station I do not see the need of solar energy or a power bank. The weatherstation transmitter outside transmits data wirelessly to the base station inside. The basestation is usb connected to the rpi. The rpi is connected to the router and can get its power from mains.
Of course the weatherstation basestation must be able to commicate with a computer (pc; rpi). So check out brands and models.
About software: pywws (see dragontail link above) is only compatible with most Fine Offset models, weewx is compatible with more brands.
My RPI+PYWWS weather site: http://henkg.dyndns.org:82/

gmc
Posts: 123
Joined: Fri Mar 09, 2012 11:31 am
Location: Cheshire, UK
Contact: Website

Re: Using the raspberry pi as a weather station?

Fri Nov 29, 2013 8:08 am

I'v put together a weather station that has temp, pressure, light, humidity, wind speed, uvi, rainfall, rel humidity and initial I uploaded the data to Cosm, then changed it to thingspeak. I've now just changed it to log to a internal MySQL database as I wasn't happy with thingpseak either. Data is uploaded every 5 mins, and from the above the heat index, chill factor, wind gust is calculated.

Its still very much a work in progress and have just added in a webcam

All the above sites are usefull, also have a look at http://airpi.es/

I pretty much used all of them and gathered code from all over the place - eventually putting all the modules together in C.

Fell free to look around my code:
https://github.com/StormTrooper/Raspber ... herStation

I'm not a programmer so it's probably not efficient code and there might be lots of better ways to do things, but it seems to work :)

I also need to update GitHub again but most of the modules are there.

I also looked at using a solar panel for charging a battery, but
1) The solar panels still are not that cheap
2) I'm in the UK where there is no sun for most of the day now - so solar will never work.

Return to “Beginners”