Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 03:52 26 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Maximite Web Weather Station

Author Message
mookster1
Regular Member

Joined: 10/06/2011
Location: New Zealand
Posts: 81
Posted: 11:54am 16 Jul 2012
Copy link to clipboard 
Print this post

Hi all

Recently I set up a weather station connected to my Maximite. So far it only has a temperature sensor but I have set it up so it uploads data to my website, psychicflea.tk once every 60 seconds. My setup consists of the Maximite connected to a DS18B20 in a yoghurt container. The Maximite is connected via USB to a computer running Ubuntu Linux, which then uses a couple of scripts to pull the data from the serial port, format it into a pseudo-HTML file, then upload the file to a remote web server via FTP. The website then scrapes the data out of the temperature file and displays it. I'm still experiencing a few bugs but (at the moment at least) it appears to be working :)
Capacitance is futile - roll on 2012!
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2914
Posted: 11:58am 16 Jul 2012
Copy link to clipboard 
Print this post

  mookster1 said   Hi all

Recently I set up a weather station connected to my Maximite. So far it only has a temperature sensor but I have set it up so it uploads data to my website,




Good Job,

I have been playing around with the DS18B20 as well, so cheap and so easy to use..

Mick

Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
mookster1
Regular Member

Joined: 10/06/2011
Location: New Zealand
Posts: 81
Posted: 03:12pm 19 Jul 2012
Copy link to clipboard 
Print this post

I'm currently investigating other options of getting data to the internet, as not only is my current system too large to be practical (hey it works but I'm using a good 200W of power at least to get this data to the Internet!) but I'm unable to boot up my computer (it was quite an old machine so I'm not going to bother trying to sort it out.)

Currently I'm thinking of having it work more as a datalogger more than anything, with it logging to the SD card every minute. However to get the data to the Internet you just unplug the SD card while the program's running. It will divert any new temperature records to RAM until the SD card is replaced, and assuming 25kB is assigned to array space and I give the date and time numbers, that should be 3x4=12 bytes per record, meaning about 1 and a half days of data logging! I'm also investigating having a subroutine that predicts weather called once every hour that uses the data already logged to determine some sort of trend for a short range (i.e. probably a few hours!) forecast. So yeah. Once I get it back online again I'll let you know.
Capacitance is futile - roll on 2012!
 
crackerjack

Senior Member

Joined: 11/07/2011
Location: Australia
Posts: 164
Posted: 05:19pm 19 Jul 2012
Copy link to clipboard 
Print this post

Mookster - you have simple solution to get the data to the internet (pull out the SD card, insert it somewhere else and then upload).

To automate this you *could* (if you had the inclination, time, money, <insert other variable in short supply here>), use a PIC18F67J60 Serial to Ethernet chip and send UDP packets with the data to somewhere. There are articles here and here and no doubt elsewhere...

Of course, you could also look out the window and see what the weather is like and simply jot down the observations with a pencil on a scrap of paper, or look it up on your smartphone, or use the old classic piece of string method (if the string is wet, it's raining), etc.

So many ways to skin a cat (and tell the weather)...



Cheers..
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024