Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

SNTP clock / RSS news reader


  • Please log in to reply
4 replies to this topic

#1 G0HJQ

G0HJQ

    New Member

  • Members
  • Pip
  • 2 posts

Posted 20 August 2011 - 05:50 PM

Here's my first project with a Netduino Plus. It's now nailed(!) to my office computer desk, and tells me the time and weather forecast.

Posted Image

It gets the time from an SNTP time server, adjusts it for Summer / Winter times, reads the 3-day weather forecast from the an RSS news feed on the BBC website, and displays it on a Itron GU126x64 Vacuum Flourescent Display module.

To save memory, the RSS reader uses the Windows Sockets library, rather than the HTTP library, and processes the XML data itself, one character at a time.

I've attached the code below. It's my first Netduino project, so don't expect perfection! If you want to reuse the SNTP code, and are not in the UK, you will need to change the calculation for the start and end of British Summer Time, and also the summer/winter time offset. The RSS feed is currently set to display the 3 day forecast for Manchester, UK, but it can be changed to display your own weather, news, or any other RSS feed.

There is a Youtube video of it in action Here. The flickering is an artifact of the camera, and cannot be seen normally.

Posted Image

Attached Files



#2 Omar (OZ)

Omar (OZ)

    Advanced Member

  • Members
  • PipPipPip
  • 564 posts

Posted 20 August 2011 - 06:19 PM

wow very nice!

#3 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 20 August 2011 - 06:38 PM

Wow, that is a cool first project! Great job, G0HJQ. Any plans to have it toggle between other content? Chris P.S. Interestingly, this reminds me of the original SPOT Watch concept. But you just built it from scratch yourself using the Internet instead of FM subcarrier signals. And using the SPOT programming runtime :)

#4 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 20 August 2011 - 06:55 PM

Neat

To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter


#5 bulletprooffool

bulletprooffool

    Member

  • Members
  • PipPip
  • 12 posts

Posted 15 November 2011 - 03:30 PM

Nice first project! where did you get the display screen from? Was it easy to figure out the mappings?
  • hexoner likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.