I have recently been asked several times about the code details for my Arduino RSS Reader.
I have been freely handing this out, so it is now posted here for everybody to download:
This zip archive contains the Arduino sketch and a few custom libraries (including the RSS parser).
The amount of data we can store is limited (fundamentally by the memory space in the AVR), so only a limited number of characters is extracted from the feed. It should be fairly obvious (a couple of constants) how to fine tune this to retrieve a fuller title, at the expense of the description or vice-versa.
It should be noted that naively increasing the array sizes will cause the program to break – I remember one instance when a string was terminated precisely over the return address of the function (as the stack and heap collided) causing the AVR to restart itself. In situations like this debugging is rather hard.
I have also received some indication that the RTOS library (Timer) does not play nice with Arduino 017 (I have used it with 015).








04/11/2009 at 2:21 am Permalink
This is great! It helped me a lot. Thank you very much.
08/05/2010 at 7:54 am Permalink
you don’t need the “nasty hack” if you remove the >>#include “WConstants.h”<< in Reader.h
08/05/2010 at 7:56 am Permalink
Thank you very much for the code. It’s very useful.
The state-constants are missing – but i’ve simply added and numbered them consecutively.
10/05/2010 at 11:38 am Permalink
Respect!
This is great solution and actually quite simple