BWSN Twitter Reader Demo

Video covering “Chapter 7 – Over the Borders” featuring a twitter reader and a mailbox web application:

The XIG Internet Gateway software is a very powerful tool.  With the help of the ConnectPort x2 it bridges the gap between the XBee nodes and the wider internet.  This allows items on the XBee network to upload data (using GET) and fetch from the internet.  Robert Faludi includes API info, arduino sketch and PHP examples on his website here.

Some comments on this project:

  • The twitter reader code has been updated from the book and the latest version (v1.06 seen in the video above) is available on the author’s website here.
  • The internet gateway software XIG python scripts loaded on the ConnectPort X2 can be downloaded from here.  I’m using the Ver1.5.1b19 beta software in the video demo.
  • The website demo I wrote uses two PHP files.  One is the main page where the user can submit a msg to be stored in the SQL database and another that the arduino fetches that pulls from the SQL database to be displayed on the LCD.
  • I didn’t find much information on how to connect the 10K trimpot but after some experimenting I realized that Pin 3 of the LCD should be attached to the middle pin and VCC to one outer pin and GND to the other outer pin.
Advertisements
This entry was posted in BWSN. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s