RSS feeds, RS232 comms to LED Display - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

RSS feeds, RS232 comms to LED Display

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 [link=http://www.photosbykev.com/fishcam/index.php?view=axis]Fish Cam site[/link]. 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

Comments

  • CyGuyCyGuy Posts: 312Member
  • ledtechledtech Posts: 7Member
    This post has been deleted.
  • Josh CodeJosh Code Posts: 675Member
    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.





  • inkrepidinkrepid Posts: 2Member
    This sounded like an awesome project!

    Did you ever get it going? I wanted to add something similar to a webcam for each office we work in. We're a startup and we thought it'd be a cool way to get things going. For example, our [link=http://www.insured101.com/car-insurance/north-carolina/car-insurance-in-charlotte/]Charlotte office[/link] would have a live stream of the workers in Charlotte etc...
Sign In or Register to comment.