Continuing on the line of arduino+rss hacks, here is some python code that parses Tweets. By changing the rss feed you can either follow one person’s tweets, or you can access your “follow” feed (i.e. everyone you follow on twitter.com) In order to do the second option you will have to supply your login credentials.
It is a simple script – select the number of tweets to display, your login and password (if you want to follow your “follows”) or a single userid to follow, enter in your serial port, and off it goes! Here is the arduino/twitter rss parser python code as a zip file.
On a related note – I would like to add a gui to this and I have no idea how. Does anyone have a suggestion as for how to create a gui that launches python scripts? I have been thinking applescript studio, but I’m not sure.
If you are wondering what is going on – this is in reference to my previous post where I set up an arduino based rss reader. That is a good place to start. Next you can check out the weather script, and you’re up to speed!
I have a regular display, ie no serial connection. How can I get this working?
Regards,
John
I had to download the serial.py and pywin32-212.win32-py2.6.exe (both available on SourceForge.net) to get this to work. These modules weren’t included in my regular install of Python v. 2.6
hi john, you can either use the parallel way of connecting it, or buy a serial lcd controller. The lcd 117 kit I used is from either paul anderson or modern device. The parallel way of connecting it is documented on the arduino playground. It uses a lot of wires, but it is cheaper. As far as i know the code i wrote would have to be modified if you go the parallell route. Good luck!
I have worked up a similar Twitter follower using python and the python twitter library (http://code.google.com/p/python-twitter/). The code I wrote also has some fun text tweaks like scrolling and paging (horizontal and vertical respectively). I’ve posted the details at: http://dawes.wordpress.com/2009/12/23/twitter-to-lcd/
When I run this I get the following error
1
twitter: Testing, testing
2
Traceback (most recent call last):
File “check_twitter.py”, line 52, in
TXT2SCROLL=(d.entries[i-1].title)
IndexError: list index out of range
Can anyone help?
Sorry to post again, but I’ve looked at this over and over – if I just run the code without anything attached I get this error
no device connected – printing to terminal only
1
doorsign: Testing, testing
Traceback (most recent call last):
File “check_twitter_tiny.py”, line 73, in
ser.write(“?f”) # clear lcd
NameError: name ‘ser’ is not defined
and I too, have (finally) built this
http://www.iknowthe.net/blog/arduino-twitter-lcd-doorsign.html
Thankyou for the inspiration!
Sorry, but it appears the download link is broken. Please change/re-upload. I really want to make this project. Thanks.
Hi, could you please update the download link for the twitter rss script or send the file via email? Thx
T0RiN and Alex: the code link has been fixed. Enjoy