Updates from February, 2009 Toggle Comment Threads | Keyboard Shortcuts

  • Yury Gitman 10:30 pm on February 24, 2009 Permalink | Reply  

    time gesture iteration – new prototype 

    I've shelved the cocoon prototype for the time being, in favor of a model which better accommodates the requirement for various buttons and switches. In creating this latest iteration, I dug back into a past life in which I played with molecular biology. Following cellular interactions within a biological system is an infinite source of visually intriguing time-course data, and I thought it would be an excellent point of exploration into gestures of the passage of time. A general theme in the analysis of movements and interactions in biological systems is the application of a color or fluorescent tag to the molecule in question, and then using the appropriate visualization technique to track the molecule's movements over time, say every two hours. The following is one such example of a time course examining the effect of a PPOX mutation on fluorescence distribution in the cell, showing that the mutation prevents cDNA import into the mitochondria. (RR Morgan, Identification of sequences required for the import of human protoporphyrinogen oxidase to mitochondria, Biochem. J. (2004) 377
    (281–287)
    )
    Timecourse
    I was interested in employing this type of image and time gesture in this iteration, and I began afresh with a different type of encasement, thinking that I might be able to create the effect of an old fashioned slide, such as the type used in old slide projection. I the immediate absence of such, I printed some like images on vellum paper to create a temporary prototyping tool for a similar light-diffusion effect. I also used a piece of crumpled gauze behind each image to further diffuse the quite penetrating light of the superbright LEDs.  
    IMG_4120

    This is the latest iteration, with some contrived images, including some prints of old negatives.
    IMG_4119

     
  • Yury Gitman 5:21 pm on February 24, 2009 Permalink | Reply  

    :::Reading from Code::: 

    :::Reading from CODE:::

    What
    were the specific technical issues (referring to wire and resistance)
    that prevented the early telegraph to be wired directly coast to coast?
    What solution finally worked? Illustrate how that works, allowing coast
    to coast telegraph communication.

    We
    know that the thicker the wire the more conductivity it posses.
    However, as the length of a wire increases so does the resistance. If
    follows then, that a long enough wire to go from coast to coast would
    have had too much resistance to be able to send a current to make the
    mechanism work on the other side.

    The first solution was to divide this long wire into segments and have
    a person in between the segments receiving the message and sending it
    right away to the next segment in line. Eventually the process was
    simplify and automated by the use of electrical relays. Relays are
    switches that get turn on or off by a current. In order to understand
    how relays were integrated in the telegram process we must frst
    describe how the telegram worked up to that point. When the handle was
    tapped in one side, current was sent through a wire. On the other side,
    this same wire was rapped around a piece of iron metal. When current
    runned through the coil. The coiled was electromagnetized and it pulled
    down on one side of a bar. As one side when down the other moved up and
    produced a long or short sound. A relay was connected to the incoming
    wire and everytime there was a tap on the other side, current would be
    send to the relay making the bar act as switch. This switch was
    connected to a battery and an outgoing wire. The current
    was amplify by this process and sent to the next segement of the telegram chain.

     
  • Yury Gitman 3:21 pm on February 24, 2009 Permalink | Reply  

    Student Lecture 3 

    Steve, Thai, Bruce – AnalogWrite, PWM, Fading LED’s, Multiple LED’s via PWM, Tri-Color LEDs, Cases, Switch Case, goto 

    Student Lecture 3http://static.slideshare.net/swf/ssplayer2.swf?doc=studentlecture3-090224142008-phpapp02&stripped_title=student-lecture-3

    View more presentations from bruzed.

    Multiple LED’s with PWM
    Photo 77Photo 78

    int value = 0; // variable to keep the actual value
    int pins[] = {9, 10, 11}; // light connected to digital pin 9
    int numPins = 3;
    void setup()
    {
    // nothing for setup
    }
    void loop()
    {
    int i;
    for (i=0; i < numPins; i++)
    {
    for(value = 0 ; value = 0; j–)
    {
    for(value = 255; value >=0; value-=5) // fade out (from max to min)
    {
    analogWrite(pins[j], value);
    delay(30);
    }
    }
    }



























    Tri-Color LED’s
    Photo 74Photo 75

    // light connected to digital pin 9, 10, 11
    int pins[] = {9, 10, 11};
    void setup()
    {
    // nothing for setup
    }
    void loop()
    {
    // variable to keep the actual value
    int value = 0;
    //variables to check if fade in for a color is complete
    int fadedIn1 = 0;
    int fadedIn2 = 0;
    int fadedIn3 = 0;
    //variables to check if fade out for a color is complete
    int fadedOut1 = 0;
    int fadedOut2 = 0;
    int fadedOut3 = 0;
    //fade in blue
    if (fadedIn1 != 1){
    for(value = 255; value >=0; value-=5)
    {
    analogWrite(pins[1], value);
    delay(60);
    fadedIn1 = 1;
    }
    }
    //fade in green
    if (fadedIn2 != 1){
    for(value = 255; value >=0; value-=5)
    {
    analogWrite(pins[0], value);
    delay(60);
    fadedIn2 = 1;
    }
    }
    //fade in red
    if (fadedIn3 != 1){
    for(value = 255; value >=0; value-=5)
    {
    analogWrite(pins[2], value);
    delay(60);
    fadedIn3 = 1;
    }
    }
    //fade out red
    if (fadedOut1 != 1){
    for(value = 0; value <=255; value+=5)
    {
    analogWrite(pins[2], value);
    delay(60);
    fadedOut1 = 1;
    }
    }
    //fade out green
    if (fadedOut2 != 1){
    for(value = 0; value <=255; value+=5)
    {
    analogWrite(pins[0], value);
    delay(60);
    fadedOut2 = 1;
    }
    }
    //fade out blue
    if (fadedOut3 != 1){
    for(value = 0; value <=255; value+=5)
    {
    analogWrite(pins[1], value);
    delay(60);
    fadedOut3 = 1;
    }
    }
    }

    Here is a short video of the Switch/Case circuit that was presented in class:

    http://vimeo.com/moogaloop.swf?clip_id=3391872&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1
    Switch/Case with RGB LEDs from Steve Varga on Vimeo.

    And here is the code:

    int rLED=11;
    int gLED=9;
    int bLED=10;
    int but1=4;
    int but2=3;
    int but3=2;
    void setup() {
    pinMode(rLED, OUTPUT);
    pinMode(gLED, OUTPUT);
    pinMode(bLED, OUTPUT);
    pinMode(but1, INPUT);
    pinMode(but2, INPUT);
    pinMode(but3, INPUT);
    resetLEDs();
    }
    void loop() {
    int numPressed=0;
    if(digitalRead(but1)==LOW) {
    numPressed+=1;
    }
    if(digitalRead(but2)==LOW) {
    numPressed+=1;
    }
    if(digitalRead(but3)==LOW) {
    numPressed+=1;
    }
    Serial.println(numPressed);
    switch(numPressed) {
    case 1:
    resetLEDs();
    analogWrite(rLED,0);
    break;
    case 2:
    resetLEDs();
    analogWrite(gLED,0);
    break;
    case 3:
    resetLEDs();
    analogWrite(bLED,0);
    break;
    default:
    resetLEDs();
    }
    }
    void resetLEDs() {
    analogWrite(rLED,255);
    analogWrite(gLED,255);
    analogWrite(bLED,255);
    }

     
  • Yury Gitman 2:50 pm on February 24, 2009 Permalink | Reply  

    Student Lecture Sections 

    _1_____Yury___________________________2/13/09_
    Structure:  Void Setup, Void Loop,
    Functions:  pinMode, digitalWrite, digitalRead, analogRead, analogWrite,
    Syntax:   (semicolon),{} (curly braces),// (single line comment)
    /* */ (multi-line)

    Constants:
      HIGH/LOW, INPUT/OUTPUT, true/false,

    Arithmetic Operator:
      =, +, -, *, /, %
    _2
    _____Kristen, Cecilia,___________________2/17/09_
    Toggle Switches and Momentary Buttons [Types, Places, Installing]
    Control Structure:  Debounce,  If, If…else, For, While, Do While, Break, Continue, Return.
    Comparison Operators:  ==,!=, <,>,<=,=>
    _3_____Steve, Thai, Bruce_________________2/24/09_
    AnalogWrite, PWM, Fading LED's, 

    Multiple LED's via PWM, Tri-Color LEDs


    Cases, Switch Case, goto

    _4_____Ira, Paola, _______________________3/24/09_
    Analog I/O
    Potentiometers. Faders-From Sparkfun.
    Analog Input, Calibration, Fading, Smoothing
    POT Control of LED's
    _5_____Kristen, Cecila, Joe ________________3/27/09_
    IR Sensors,
    Calibration, Smoothing,  Control LED and Speaker via IR Sensor

    _6____Paola, Ira________________________3/20/09_
    Speakers
    Control Speaker via IR sensor, Play Melody

    _5.5___Katherine, Myriam ________________3/17/09_
    Ultra-Sound Sensors
    Calibration, Smoothing
    Control LED and Speaker via IR Sensor

    _7____Kathrine, Nick, Bruce_______________4/3/09_
    Alcohol Sensors
    Hardware, Inputting Values, Inputting Values, Control Lights

    _8____Steve, Nick, Joe__________________4/10/09_
    Capacitance Sensing Library Via Arduino
    Code, Reading Values, Controlling LED's and Speakers.

     
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