HTML & WEB-Design

Moderators: Jonathan
Number of threads: 1249
Number of posts: 3348

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
RSS feeds, RS232 comms to LED Display Posted by Photosbykev on 26 Apr 2009 at 1:39 AM
Hi folks, I thought I would come to the experts as my limited knowledge of coding and design has reached it's limits.

I have a website with webcams viewing a fishtank Fish Cam site. The site is interactive using hardware directly connected to my router so the viewer can turn lights on/off, move the cameras and burp a frog.

I've recently added a LED scrolling display to the tank and would like to take a feed from Twitter and 'send' the data to the scrolling display via RS-232. My first question is; is this possible? Ideally I would like to do it from my website server rather than have a computer in the loop as currently I don't need to use a computer at all.

The website system using hardware from iobridge.com and I can send data to the LED screen via rs232 using the iobridge API, what I can't figure out is how to grab the Twitter feed and direct it to the scrolling display.

I'm sorry if the explaination is a bit woolly but I can visualise what I want to do but struggle to explain it well.

regards
Kev Lewis
Report
Re: RSS feeds, RS232 comms to LED Display Posted by CyGuy on 11 May 2009 at 11:55 PM
WOW this is %
Report
This post has been deleted. Posted by ledtech on 8 Sept 2010 at 2:07 AM
This post has been deleted.
Report
Re: RSS feeds, RS232 comms to LED Display Posted by Josh Code on 13 Sept 2010 at 10:22 AM
First, I'd like to say that the project sounds really neat. Anything that mixes some motor control with software is appealing to me lately because I just used RS-232 for controlling some remote control car motors in a robotics competition.

It would be easier to understand if you could remove the unneeded information about things you can do on your own.

This is my understanding of what you want:
To put it in just a few words, you want to build a bridge between an RSS feed off Twitter and the iobridge api.

You want this work to be performed on the web server's computer.

If the server supports PHP, it can be used to download an RSS feed. It will likely support some XML parsing and processing functions too which can be used to extract the information you need.

Since you eventually want to use this iobridge api and twitter RSS feeds, I wouldn't do anything with the web server software, ie. Apache HTTP Server. Instead, I'd make a separate compiled program that runs on the same computer as the web server and continually downloads RSS feeds, parses them, and calls on the iobridge api as needed.

If you want users on the site to remotely control the devices in the tank, I would let the users send their commands from forms in the website and let the website's database temporarily store the commands. This way, the site acts as producer of tasks to be done. The compiled iobridge api program would then frequently ask for new jobs to execute like a producer-consumer pattern. The consumer would ask by downloading an XML or text based document frequently(every few seconds) and executing any jobs in them by calling on the iobridge api.








 

Recent Jobs