Updates from March, 2011 Toggle Comment Threads | Keyboard Shortcuts

  • breegeek 11:40 pm on March 21, 2011 Permalink | Reply  

    to GOOGLE! 

    Here are the two guides I used ๐Ÿ˜€
    http://blog.blprnt.com/blog/blprnt/open-science-h1n1-processing-and-the-google-spreadsheet-api

    http://blog.makezine.com/archive/2010/12/save-sensor-data-to-google-spreadsh.html

     
  • scottpeterman 10:52 pm on March 21, 2011 Permalink | Reply  

    MIDI Room Tones 

    So my whole PHP Xbee thing ended up crashing my computer, again! So square one (Well, also tried the ethernet shield but couldn’t get it running either, server side).

    I tried something very different! I’d been reading a John Cage biography over break and it inspired me to create a MIDI instrument that makes music in response to what is going on in the room. It uses a temperature sensor, an electret microphone, and a photoresistor. It passes the values to the arduino, which then maps them to MIDI values between 0 and 127 setting tone and velocity of notes played, as well as turning notes on and off. Temperature sets velocity. Light sets tone. Audio interrupts the light tone with a louder note of its own, with tone being set by volume – louder being higher. Right now this is all going in as one MIDI instrument, but it should be possible to run two versions of the processing sketch that is interpolating between the serial values and the MIDI input on the computer (and this is also only being used to make the USB serial port a MIDI in – putting a MIDI output on the arduino would make this unnecessary, as would running off a MIDI breakout box). I’ve been playing around with MIDI a lot and have found this to be a pretty good work flow for using the arduino as a midi controller.


    (More …)

     
    • makingtoys 1:21 pm on March 23, 2011 Permalink | Reply

      You made your apartment an installation work. Very nice, I did not see this complexity in class during presentation. You are showing many valuable concepts here functioning for the first confusing time.

  • catherine 10:17 pm on March 21, 2011 Permalink | Reply  

    Spring Break Data Viz 

    This graph is of averages of photocell readings over time. I wrote the data to a text file then called the text file to create this graph.

    I experienced a lot of trouble getting my XBees to communicate with each other and every time i plugged them into my PC, it would freeze. After wasting a lot of time yelling at my XBees, I decided to ditch them and just keep an Arduino plugged into my computer for a few hours a day and obtain some readings. The data is not 100% accurate because my house has a lot of windows and sun shines through and reflects off objects in my room and at night I have a lot of things that glow in the dark.

    In the future, I would like to get my XBees to work and research more into how to visualize things nicely. This was a very nice learning experience but needs to be explored more in depth.

     
  • Alvaro Soto 9:45 pm on March 21, 2011 Permalink | Reply  

    Temperature data during one day 

    So my Xbees had trouble for a change, and after long hours trying to troubleshoot I decided it was time to move on and record data wired to an arduino. Not as efficient but I wanted to spend some time learning how to access this data in Open Frameworks and visualizing it.

    You can access the OF code here

     
  • thisisvictorkim 8:52 pm on March 21, 2011 Permalink | Reply  

    blobs 

    Watch video:

    http://vimeo.com/21315783

    got some weird spikes in readings that caused some odd (fun) effects

     
  • Oylum 8:21 pm on March 21, 2011 Permalink | Reply  

    My poor little visualization 

    Detailed documentation will come soon.

    I used Pachube to collect data but the API killed me when I tried to pull data. I couldn’t used the EEML library they offer for Processing, there might be a problem about API version and library. Anyway, I pulled the data to a txt file and visualized that info.


    (More …)

     
    • makingtoys 1:26 pm on March 23, 2011 Permalink | Reply

      Oylum,
      It blows my mind how much work you did for this assignment. Your documentation here needs a little help. Consider it a first draft. Please make another pass at it.

      For example, the Pachube work you did alone is amazing. Please provide links to your nodes, or where your nodes were, and/or [well cropped] screen grabs of what it looks like. [Please edit current screen grabs.] Include a photo(s) of your “look and feel” planter prototype. Place 3 of your best (and representative) images Before the “read more” tag. Each image can have 2-4 sentences.
      Your work is amazing. Make sure it’s documented correctly, this creates great value for you. Please update this post..

      Y.

  • hilalkoyuncu 8:15 pm on March 21, 2011 Permalink | Reply  

    Emotion Catcher+ Bathroom Electricity Minder 

    Originally I wanted to make a GSR sensor and connect data from my self. I was just going to wirewrap the sensor to the XBee and use a lithium coin battery and wear it. I tried it in many different ways but the connections were not secure.

    So I had to go with the bulkiest possible(most durable) version(below):

    It was pretty heavy but I spent 10 hours in it, mostly sleeping.

    The data I collected was fluctuating a lot so for the sake of accuracy, aesthetics and time, I had to put this project in the back burner.

    Instead I collected data from our bathroom. By using my towel spy from the previous bathroom project, I collected data that was triggered by a light sensor, indicating wether the bathroom was occupied.

    I calculated how much “time=money ” we spend merely by being in the bathroom based on our ConEd Bill.

    ( 0.0003 cents/sec lighting a 100watts bulb). I saved the data as string on a text file and visualized it realtime:

    I have used three 9V batteries and finally got a wall charger and added my arduino in the box via which I supplied the device with power cause I didn’t have another XBee USB cable.

    For me this visualization was ย very effective based on the reactions of my roommates. Seeing numbers directly seems to have an impact on the user.

    I had many many disconnections over the course of three days.

    The reasons were:

    -battery died.

    -someone dropped the towel.

    -my computer shut down.

    -my coordinator Xbee got disconnected.

    -overwrote the collected data by rerunning the Processing sketch.

    Things I have learned:

    -Don’t rely on a computer, use an ethernet shield or a data logger via arduino to collect the data.

    -Power up the device with a wall charger (have an extra XBee cable to attach the device to it!)

    -Secure the device firmly so it wont get disconnected in anyway.

    Here is a demo video of the process:

    and Here is the code:

    (More …)

     
  • breegeek 7:50 pm on March 21, 2011 Permalink | Reply
    Tags: , data visualization, processing, sensors, sound   

    The story of an Hour 

    Sooooooooooooooo….

    Since I was using a microphone as my input and was sampling every 100 microseconds, then updating to a googledocs spreadsheet every two seconds… one day’s worth of data maxed out 200,000 cells in my sheet. Which led me to taking data for one hour only.

    I hooked up my mic as the input to the arduino and took an average every 5 miliseconds, wrote the arduino input to serial in single bytes, then wrote the information from processing to google spreadsheets.

    It worked…kind of? I am not sure if the arduino and the processing talked together accurately, and I should rework that. Another thing I should try to do is use the Xbee directly (without arduino), as a few people have suggested.

    Anyway, here is the sound scape visualized over an hour.

    And the code (there are three main pieces)

    (More …)

     
  • minho 6:29 pm on March 21, 2011 Permalink | Reply  

    visualizing temperature 

    (More …)

     
    • Yury Gitman 7:45 pm on March 21, 2011 Permalink | Reply

      Beautiful visualization.

  • lpercifield 3:48 pm on March 21, 2011 Permalink | Reply  

    Temperature Visualization 

    After collecting LOTS of sensor data I realized that I wanted to create a visualization that would allow each data point to be represented individually. In the thought process I said to my self “Self, its raining data”. This is how I came up with the idea to visualize the data as rain. Each rain drop represents one temperature reading from my arduino. The rain drops decrease in size and opacity with temperature.

    Since this blog is eating my html tags here is the link.

     
  • Lee 3:44 pm on March 21, 2011 Permalink | Reply  

    Data logging and visualizing temperature 

    Second iteration. Now the data is logged and saved to text files for visualizing later and I’ve experimented with a circular graph. Temperature is sample and averaged over half hour periods, so each day has 48 samples. Unfortunately over the past week I haven’t been in one place for too terribly long, so I’ve only been able to successfully log one 24 hour period.


    This Friday March 18th I was in Martinsville VA and it was unseasonably warm, I managed to log data from around 11:30 AM through the rest of the day.


    I was still in VA on the 19th, but left in the early afternoon driving back to Jersey City NJ. I managed to log data from around midnight to noon. Once back at home in JC I setup the sensors around 10PM.


    Finally on the 20th I was able to capture a full 24 hour cycle and the weather was a lot colder than previous days.

    I would still like to add more to this program, like rollovers for each section so times and temps aren’t always displayed. I would also like to add time of day cycle icon/animation sunrise/sunset/moon rise/moon set etc. I’d like to revise the look and function of this circular style chart more as well.

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel