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 : MaxiWeather
Author | Message | ||||
mookster1 Regular Member Joined: 10/06/2011 Location: New ZealandPosts: 81 |
Hey guys Over the past 2 weeks I've been working on a bigger, better weather station software which I call MaxiWeather. It's nowhere near complete yet but it will be friendlier to use than my previous attempt that just sent raw data to a Linux computer, which then uploaded the data to the Internet. It takes logs of the data and stores them on the SD card. A feature I've added which may be very useful is the ability to log to RAM while the SD card is unplugged. You don't need to tell the Maximite the card's unplugged, it will detect this by itself when it's time to take a reading. Two files are generated, a 5-minute log file (data is sent here every 5 minutes) and a 1-minute log file (every sample taken is stored here.) In future it will be able to make limited predictions of the weather, and it will also be able to talk to a wide array of sensors. Presently the code's about 900 lines long so it's a bit of a behemoth, but I'm hopefully going to shrink this down some in future. Settings are stored in a config.dat file, and the settings can be changed and then saved through a menu. The temperature sensor in my setup for instance is connected to Pin 17 but it may be different in other setups so you may want to change this setting before using. I'm also going to write a full-blown help file as well, but in the meantime you can download the code here: http://dl.dropbox.com/u/19035432/MaxiWeather%20Current%20Rel ease.zip. You'll want to create a folder named "Weather" in the root of the SD card and extract the files there. Enjoy! EDIT: I think the CWD$ command is buggy in MMBASIC v3.2c so if you quit the program with the SD card removed, and you use the CWD$ command to display the current path at the prompt, MMBASIC may crash and you'll have to power-reset the 'Mite. Capacitance is futile - roll on 2012! |
||||
mookster1 Regular Member Joined: 10/06/2011 Location: New ZealandPosts: 81 |
Hey guys A progress report: - In the near future I hope to not only be able to sample multiple sensors but sample multiple types of sensors - I currently have some semblence of a GUI - one that you can use with a terminal and one which looks fairly flash and incorporates lines etc. There is no way to switch between GUIs at this stage but there'll be an option in the menu for this. - There are a couple of notifications in a bar at the bottom letting you know such things as if the card is plugged in, when RAM/SD is being read or written, current temperature and if the sensor is working, etc. - In the very near future I hope to have a graph filling most of the window space showing previous data over a specified period There's a lot of things I'm working on and will implement when I have time but there's a link below to the latest version I've written... no help file yet but I'm hoping on creating a document format for the Maximite based on XML, to not only base a help file on but any document written for the Maximite. So without further ado, here's the link to download MaxiWeather: http://db.tt/AJs8DXkg Please note you may have issues using this under MMBASIC v3.2c due to the bug with CWD$ which has been fixed in MMBASIC v4.0. Capacitance is futile - roll on 2012! |
||||
Print this page |