Category Archives: MSC2010

FrontlineSMS – Saving to a database

For our Major Studio Red Cross project, I continued with setting up the FrontlineSMS system, and we are now successfully saving the received messages to our database using HTTP commands calling to a PHP file on our server.

I put together a quick tutorial on how to set-up FrontlineSMS to save the information you receive to a database, so here we go:

1. Set-up your database and table.
I created a mySQL database, and then made the following table using phpMyAdmin:

`id` int(50) NOT NULL AUTO_INCREMENT, PRIMARY KEY
`name` varchar(50) DEFAULT NULL
`number` varchar(20) DEFAULT NULL
`keyword` varchar(20) DEFAULT NULL
`content` varchar(100) DEFAULT NULL
`date` varchar(20) DEFAULT NULL
`cur_timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP

These table values all relate back to information that FrontlineSMS can send. For instance, ‘name’ will be the name of the contact you receive a message from. If you don’t have the particular person in your contacts, Frontline will send the phone number associated with the message received. The ‘content’ element is the message content Frontline receives, and it stores this information without the ‘Keyword’ included in the message content.

2. Place your PHP files on a server where you can access it via a URL.
I created two sample files (click here) that you can use and load with your own information. One, called index.php, is the PHP file that you’re going to call within FrontlineSMS, and the other, called results.php, is a simple HTML page that displays your table information.

The index.php file sets up a few variables which allows the file to access your database table, so you’ll need to update phrases like “your_db_name” with your actual info. This index file will access your database and then save the information it receives from Frontline. The results.php will also need to be updated with your information.

3. Within Frontline, create a Keyword and then set-up the External HTTP command within the “Advanced Settings”.
For my example, I used the word “Test”, but you can use any word that you wish to be the trigger to send information to your database. Frontline provides a few reference buttons that will automatically drop in the appropriate code for the information you would like, but the important part is that you first provide the location of your PHP file, and then set up the matching variables that are in your PHP file.


For this example, I am including a generic website address, so my HTTP command will look a little something like this:

I included this text in a comment at the top of the index.php file.

And that’s basically it. There is a lot more that you can do, but as a general overview of how we setup Frontline to save to our database, this is the basic functionality.

A special thanks to Gayatri at Eureka Child (India) for all of the posts on the FrontlineSMS Forum. I wouldn’t have been able to set this up without your insightful posts.

Also posted in 2010 Spring | Tagged , , , , | 4 Comments

FrontlineSMS and Sierra 885 – Successful setup

For the Red Cross project that 6 of us from my Major Studio is tackling, I asked to be assigned to the SMS receiving and database management portion of the project.

Based on other NGO’s success with FrontlineSMS in similar types of projects in different areas in Africa, I began working on setting that up first (a special thanks to Andrea Bradshaw for bringing the program to the attention of the class). Through a good amount of research on forums, etc, I selected an unlocked Sierra Wireless 885 Aircard (also called Sierra Wireless USBConnect Mercury) as my modem of choice. I also purchased an AT&T “Pay-as-you-go” data plan SIM card (unlimited text and data, $0.25/minute calls) since I will only be using it for text messages.

When setting this up make sure you follow the directions included in the FrontlineSMS download. There are some files that need to get copied over and some Terminal information that needs to be executed. Do that first, and follow their directions carefully.

I spent a number of days troubleshooting why my Mac (running Snow Leopard, Mac OS X 10.6.3) was not able to connect to the Sierra 885. There are a lot of forum posts and write-ups out there about the best way to get the device to work that I found to be incorrect, so here are the steps that I took to get my Sierra 885 to be recognized by the system. Please note the name listed on the back of your device because there is a difference on the Sierra website between the 885 and USBMercury Connect:

  1. Go to System/Library/Extensions and erase the 4 files that exist in that drive that start with the word “Sierra”.
  2. Download this Firmware updater.
  3. Download this Native Driver installer. **UPDATE (June 6, 2011)**
  4. Download this 3G watcher.
  5. Plug in your Sierra 885. Ignore the default true-install that pops up from the device (just eject it).
  6. Run the Driver installer that you just downloaded. Don’t restart yet. Just leave the window there asking if you want to restart.
  7. Run the Firmware Updater you just downloaded. Install the new firmware if it shows you need an update. If not, you’re good to proceed to the next step.
  8. Run the 3G Watcher installer you just downloaded. Don’t restart yet. Just leave the window there asking if you want to restart.
  9. Remove the Sierra 885 from you computer.
  10. Restart your machine.
  11. Most likely the 3G watcher will start up when the computer gets running. If not, just go to your applications and run the program.
  12. Insert your Sierra 885.
  13. Wait a few seconds, and you should see it initialized by the 3G Watcher.
  14. Turn on Frontline SMS and wait a minute or two while it connects for the first time.

If you ever need to check to see if more up-to-date software is available for your device, check the Sierra Wireless download support section for you device. Another key point is if your Mac does not recognize your Sierra 885 when trying to update the firmware, try updating the firmware on a PC first. I was successful getting this setup on Windows XP using these same steps.

Thanks to Ken, Tom, and Morgan for their responses to my post on the FrontlineSMS forum. You guys were a big help.

Also posted in 2010 Spring | Tagged , , , , | 7 Comments

Marina Abramović – The Artist is Present


Marina Abramović’s exhibit “The Artist is Present” at the MOMA is a clear and resounding statement for performance art, and the pieces/performances on display are shocking, disturbing, and will leave you with an understanding of the power and the possibilities of performance.

With written descriptions, videos, and images of performances, such as Rhythm 10, Rest Energy, Expanding Space, and AAA-AAA and live performers reenacting peices such as Imponderabilia, the number and volume of work (totaling over 50) is almost too much, leaving the audience in a state of wandering awe or stumbling grins.

In the main atrium, Abramović is performing in the exhibition with a 3 month long solo piece which includes audience participation.


The MOMA provided a number of interviews with Abramović online (link), and below are two different interviews discussing “The Body as Medium” and “Documenting Performance”:

A statement that stood out for me from the interviews was Marina’s comment about how some artists only left “documentation and not any kind of solution, how this actually can be turned into some kind of life process”. The work on display here is not just documentation but represents a visceral mastery of performer/audience experience and human interaction.

Abramović said that her hope was that before she dies, she leaves a good idea. I would say that she has left many.

Also posted in 2010 Spring, Check it out | Tagged , , , | Leave a comment

Red Cross Measuring Device – Research

While I was in Taiwan, I did a bit of research in regards to outdoor solar devices that are built to withstand extreme weather conditions. Taiwan experiences significant rainfall, as well as typhoons, floods, and earthquakes, and since we are designing for heavy flood areas in Africa, I felt this was a good area to do research.

Below is a device that controls the power supply for the surrounding shops. The solar panels on top of the housing powers the back-up battery if there is a power grid failure.


Also posted in 2010 Spring | Tagged , , | 1 Comment

Artist Statement

By Ryan |

With a focus on the experiential, my work is concerned with providing situations based in sound. In my work, I address the modern phenomena of ubiquitous information, human interaction, differing environments, the shrinking of physical public space that has become unavailable and less visible, and the consequences of people’s actions becoming more and more severe. My work also is concerned with sound creation as process that enlightens, heals, and informs the environment of its own condition. These themes are applied to an array of different experience-based research projects, musical works, and physical objects.

Early projects, such as Hindsight 2012, a modern sound collage based in rhythm, Asleep All Day, an exercise in repetition and editing, and Ravel Day EP Artwork, an experiment in visual public displays and packaging, are examples of work that address my approach to collaboration, the affect urban environments have on its inhabitants, and a process that allows for new themes to emerge.

The work Max/MSP Controller is the first in a sequence of open-source prototypes that use physical objects to illustrate the relationship of sound and movement. The on-going project Urban Drifts is a series of research–driven bicycle rides through urban spaces that make use of the Situationist International concept of the dérive and tracks the course of the rides using GPS technology. The project uses the series of dérives as an information gathering technique to create a set of photographic works and psychogeographic sound maps of cities I explore. Viewing each location as a chord or intersection of experiences, I’m interested in pursuing the connection between space, environment, experience, and sound. The most recent set was done in New York City, and I am currently making plans to do additional rides in other cities in the future.

For a pdf version, click here.

Also posted in 2010 Spring | Tagged | Leave a comment

Computing Neubauten

By Ryan |

One of my favorites when it comes to physical computing and it’s application to music, Einsturzende Neubauten changed the way I thought about music. Here is a portion of 1/2 Mensch (1986), a film made by Japanese director Sogo Ishii during Neubauten’s tour of Japan.

Here is a great interview on their approach and methods:

Also posted in 2010 Spring | Tagged , | Leave a comment