CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Long range weather forecast

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
rougie



Joined: 14 Jun 2006
Posts: 31

View user's profile Send private message

Long range weather forecast
PostPosted: Wed Sep 03, 2008 9:28 pm     Reply with quote

Hello,

I am a Microchip MCU user and using CCS's compiler to create, debug and compile C code for Microchips micro-controller units.

I am looking to get the long range forecast informations from a weather station's website or a local airports website via my MCU. For example, I would need to know today's weather and the next 3 to 5 day's weather. I must find this information in terms of data such as the temperature, humidity, winds etc... respective to a date. It would then be my responsibility to display this information along with the desired graphics.

I know that CCS (CCSINFO.com) has a kit that shows you how to build an internet connection with a microchip micro-controller and I am debating on weather I should buy it. I have never done this and I have some preliminary questions about how I am going to do this.

1) Even if my MCU is able to connect to another website showing the long range forecats, how would I be able to download the data mentioned above?

2) Is this at all possible to do with a Microchip controller?

All informations related to this post is greatly appreciated!

Regards
Robert
crystal_lattice



Joined: 13 Jun 2006
Posts: 164

View user's profile Send private message

PostPosted: Thu Sep 04, 2008 4:34 am     Reply with quote

In a bid to alleviate your PIC from doing some hard work, you could have your own server based web page. Then have his page run a script to get the data from the weatherpage and let your PIC query this page.

I don't have much knowledge on this but a friend of mine used the "webpage script" approach for share prices from another stock exchange site. You might have to use ASP (Active Server Pages) to keep the data up to date, or it could update once the PIC sends a request.

This approach will also enable you to keep your hardware the same and only update your webpage if the site you are leaching from ever changes.

There might be a direct approach but this is what comes to mind...
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Thu Sep 04, 2008 8:02 am     Reply with quote

Maybe you should try doing this on a PC first. Then maybe adapt it to a PIC. On the PC you will have more and better tools for extracting data from web pages than you will ever have on a PIC. Also you can get PCs the size of a business card nowadays.
_________________
The search for better is endless. Instead simply find very good and get the job done.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group