Updates from September, 2008 Toggle Comment Threads | Keyboard Shortcuts

  • Yury Gitman 3:31 pm on September 29, 2008 Permalink | Reply  

    03 Color Mixer updated 

    Color Mixer with IR sensor and Fullcolor Led in the same Gummy Bear Box.

    http://vimeo.com/moogaloop.swf?clip_id=1905269&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1
    FullColor+IR Sensor Color Mixer from Hsiang Ju Hung on Vimeo.
    Code is modified from the previous one.  Because the output voltage from IR sensor is about from 0 to 3 instead of regular range of 0 to 5. So I tried to justify it to make RGB reach full 255.
    Code is here:Download IRsensor_Fullcolor

    http://vimeo.com/moogaloop.swf?clip_id=1853222&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1

    Color Mixer from Hsiang Ju Hung on Vimeo.

    Dscf9940

    Dscf9938

    Material: Gummy Bear box, Led, Tissue, Arduino Board, Potentiometer, Resistors, 9V Battery, Wires.
    Code is modified from Arduino Example Code

    ———————————–

    // Input settings
    int analogPin = 3;   // potentiometer connected to analog pin 3
    int val = 0;         // variable to store the read value

    // Digital pin settings
    int aOut = 9;   // LEDs connected to digital pins 9, 10 and 11
    int bOut = 10;  //
    int cOut = 11;

    // Variables
    int aVal = 0;   // Variables to store the input from the potentiometers
    int bVal = 0; 
    int cVal = 0;

    int DEBUG = 1; // Set to 1 to turn on debugging output

    void setup()
    {
      pinMode(aOut, OUTPUT);   // sets the pin as output
      pinMode(bOut, OUTPUT);   // sets the pin as output
      pinMode(cOut, OUTPUT);   // sets the pin as output
     
      if (DEBUG) {
        Serial.begin(9600);  }    // Open serial communication for reporting
    }

    //Main program
    void loop(){
      val = analogRead(analogPin);   // read the input pin
     
      if(val < 341){         // first range = 0-340
        val = (val*3)/4;     // justify the range from 0-340 to 0-255;
        aVal = 256 – val;  // a changes from 255 to 1
        bVal = val;          // b changes from 0 to 255
        cVal = 1;            // c is 1
      }
      else if(val < 682){  //second range = 341-681
        val = ((val-341))*3/4;//justify the range from341-681 to 0-255;
        aVal = 1;           // a is 1
        bVal = 256 – val;   // b is from 255 to 1
        cVal = val;         // c is from 0 to 255
      }
      else{                 // third range = 682-1024
        val = ((val-683)*3)/4;//justify the range from341-681 to 0-255;
        aVal = val;           // a is from 0 to 255
        bVal = 1;             // b is 1
        cVal = 256 – val;     // c is from 255 to 1
      }
      if (DEBUG) {      // if we want to read the output
        DEBUG+=1;      
        if(DEBUG>100){  //print every hunderd loops
          DEBUG = 1;    // reset the counter
          Serial.print("val:");
          Serial.print(val);
          Serial.print(" A:");
          Serial.print(aVal);
          Serial.print(" B:");
          Serial.print(bVal);
          Serial.print(" C:");
          Serial.print(cVal);
          Serial.println(); }
      }
      analogWrite(aOut, aVal);
      analogWrite(bOut, bVal);
      analogWrite(cOut, cVal);  }

    ———————————–

    By the way, yesterday I ran into an street installation made by Ted Southern in Dumbo. It is a sidewalk-attached interactive music maker ontrolled easily via an interface by the public. Basically the interface is just a box installed different tuners and sensors controlling two rows of speakers that have different sound quality from each other.  So people passing by can play with it at ease without any instruction or guide.  But the inconvenience about this project is that the artist has to screw and open the box to replace batteries (there are two 9 V)every few hours.

    Dscn0105

    Dscn0106

    Dscn0107

     
  • Yury Gitman 3:57 pm on September 27, 2008 Permalink | Reply  

    Potentiometer with fading LEDs 

    http://vimeo.com/moogaloop.swf?clip_id=1826973&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1
    Potentiometer and fading LEDs from Jessica Floeh on Vimeo.

    Click below for the code:

    (More …)

     
  • Yury Gitman 1:07 pm on September 27, 2008 Permalink | Reply  

    Order the Chipcorder ISD 17240, and related parts. Bring to Next Class on Oct 7th. 

    Manufacturer’s Homepage
    http://www.nuvoton-usa.com/en/content/view/36/

    Digikey Page:  [look at in class]
    http://search.digikey.com/scripts/DkSearch/dksus.dll?Cat=2556441;keywords=1724028-DIP Pkg.

    The Circuit

    Img_5380_2


    Img_5382

     

    For example like this: 8 ohm, .25 Watt

    Also see the Digikey Page on Speakers Experiment a little with options..: Digikey Catalog Page


    Img_5383

    1/8th in. audio jack: Digikey Part Number CP-3536-ND

    Img_5381

    You also need:

    0.1 uF caps  x 12ish
    4.7 uF  x 2ish

    A few of each on hand:
    100K ohm resistor
    1K
    390
    4.7 K

     
    • Hsiang Ju 2:02 pm on October 12, 2008 Permalink | Reply

      what is oscillator resistor?
      I don’t know what kind of resistor should be put on pin20.

    • Order taking services 8:03 am on July 23, 2010 Permalink | Reply

      Thanks for the link, I’ve been searching for that resistor.
      Ben Cliff

  • Yury Gitman 3:47 pm on September 25, 2008 Permalink | Reply  

    Hacked Touch Lamp 

    http://vimeo.com/moogaloop.swf?clip_id=1813199&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1
    Hacked Touch Lamp from Mouse & the Billionaire on Vimeo.

    Here’s the code, y’all!

     

    int analogPin = 0;     // potentiometer wiper (middle terminal) connected to analog pin 3
                                         // outside leads to ground and +5V
    int yVal = 0;   
    int gVal = 0;
    int rVal = 0;

    int val = 0;
    int ledPin = 13;
    int yLed = 11;
    int gLed = 10;
    int rLed = 9;

    void setup() {
      Serial.begin(9600);          //  setup serial
      pinMode(yLed, OUTPUT);
    }

    void loop() {
      val = analogRead(analogPin);    // read the input pin
      yVal = min(val, 255);
      gVal = max(256, (min(val, 511)));
      rVal = max(512, (min(val, 756)));

      analogWrite(yLed, yVal);
      analogWrite(gLed, gVal);
      analogWrite(rLed, rVal);
       
    }

     
  • Yury Gitman 9:28 pm on September 23, 2008 Permalink | Reply  

    potentiometer light: Lynn 

    Here’s a little video and pics of my light going from green to red to yellow!
    simple and cute.

    http://vimeo.com/moogaloop.swf?clip_id=1799910&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1
    potentiometer LED light from Lynn WasHere on Vimeo.

    http://www.flickr.com/apps/slideshow/show.swf?v=59913

     
  • Yury Gitman 8:21 pm on September 23, 2008 Permalink | Reply  

    soft switches 

    hey guys~
    here’s some info on soft switches, yo.

    buy kits here (super cheap!):
    http://www.aniomagic.com/index.php

    or
    make your own:
    http://www.cs.colorado.edu/~buechley/diy/diy_e_sewing.html

    cheers!
    L

     
  • Yury Gitman 6:10 pm on September 23, 2008 Permalink | Reply  

    –about– 

    Photo_839

    Subalekha Udayasankar
    Fav. Childhood toy – pull string toys that wind n’ make music sometimes roll eyes n’ stick out their tongues. My sister had one on her crib when she was a baby.. I used to spend ridiculous amount of time on it. I m not really sure what caught my attention cos they keep pretty much repeating the same thing over n over again.
    189190450

    My background is in elec. engineering n’ programming but it has been a while since I dealt with circuits. I would like to use this class to dust the cobwebs in my head. Also, I see it as an opportunity to prototype for thesis.

     
  • Yury Gitman 6:07 pm on September 23, 2008 Permalink | Reply  

    Little horse 

    I took apart a toy – cowboy on a rocking horse. I was interested in finding out how the rocking movement was achieved. To take it apart, I had to remove many screws and the toy also played music along with multiple blinking LEDS. After removing all the plastic. I reached the gears which made the movement possible. A servomotor controlled the gears which made the horse Rock.
    http://picasaweb.google.com/s/c/bin/slideshow.swf

     
  • Yury Gitman 6:07 pm on September 23, 2008 Permalink | Reply  

    Color Mixer 

    http://picasaweb.google.com/s/c/bin/slideshow.swf

     
  • Yury Gitman 12:59 pm on September 23, 2008 Permalink | Reply  

    Infrared Proximity Sensor – Sharp GP2Y0A21YK 

    Infrared Proximity Sensor – Sharp GP2Y0A21YK 

    PDF

     
  • Yury Gitman 10:23 am on September 23, 2008 Permalink | Reply  

    Interesting Event, Related to Class, Opens Thursday 

    A sculpture garden of readymades

    September 25 – October 25, 2008
    Opening: Thurs., Sept. 25, 6PM
    540 W. 21st St.

    Untethered is a sculpture garden of everyday objects
    deprogrammed of their original function, embedded with new
    intelligence, and transformed into surrealist and surprising
    readymades, including a photocopier that reads the night sky; a PDA
    turned guitar; and a piano that plays the Internet. The exhibition
    features pieces by 15 artists working at the intersection of art and
    technology, including current and former Eyebeam residents and fellows,
    as well as leading international artists.

    http://eyebeam.org/engage/engage.php?page=exhibitions&id=190

     
  • Yury Gitman 2:48 pm on September 18, 2008 Permalink | Reply  

    BristleBot 

    Want to build a cool little mobile bot? Sure you do.

    For more information visit evilmadscientist.com.

     
  • Yury Gitman 8:24 pm on September 16, 2008 Permalink | Reply  

    Reading For Next Class 

    Analog Read
    http://arduino.cc/en/Reference/AnalogRead

    Analog Write (PWM)
    http://arduino.cc/en/Reference/AnalogWrite

    http://arduino.cc/en/Tutorial/HomePage

    Analog Input: use a potentiometer to control the blinking of an LED.

    Fading: uses an analog output (PWM pin) to fade an LED.

    “Coffee-cup” Color Mixer:
    http://arduino.cc/en/Tutorial/LEDColorMixerWith3Potentiometers

    Lesson 3
    http://www.ladyada.net/learn/arduino/lesson3.html

     
  • Yury Gitman 4:12 pm on September 16, 2008 Permalink | Reply  

    Unbreakable Fisher-Price Elephant 

    I got a simple Fisher-Price Elephant toy, which starts/stops playing a tune when the user bops its head.  As for dissecting the toy…Well, let’s just say "simple" is not synonymous with "easy."  Given that it’s a baby-toy, I expected it to be firmly built; but I didn’t think it would be impossible to break it apart with a few hits with a hammer…

    1. Original Form: What appears to be a innocent little elephant.

    Cimg1627

    2. Opening the Battery Cover: There were two screws that secured the battery cover.Cimg1629
    Cimg1635Cimg1638

    3. No Other Screws!  Go for the Leg!: The two screws for the battery cover were the only ones that were visible on the exterior of the toy.  I decided to snap off the front-right leg in hopes of revealing more screws.
    However, once it was snapped off, I was able to see only one other screw, which was the screw that secured that opposite leg. 
    Cimg1644_2
    Cimg1645_2
    Cimg1648Cimg1651

    4. Get the Saw Out: After many attempts to snap the toy open with a hammer and a minus-screwdriver, I decided to carefully "shave" open the elephant with a saw.  However, it was taking too long, and my arms were getting tired, so I reverted back to the screwdriver and hammer…  I wasn’t getting too far, so Yuri eventually helped me loosen the parts and take all the legs off.
    Cimg1653_2
    Cimg1655

    Cimg1656
    Cimg1657

    5. Saw2: Even with all the legs off, I still couldn’t see much of its interior, so I made a small cut in front of its body.  Cimg1662
    The speaker was revealed as a result. 

    6. Bye Saw! Hello Giant Scissors! (I think they’re called Shears?): The small opening made in step 5 helped me see the inside a little bit better, but I still couldn’t access the "brain" that operated the toy.  As I began sawing again, Yuri found a better tool for me: Giant Scissors!  I was able to easily cut open the entire side of its body to finally reveal the inside.
    Cimg1672
    Cimg1674

    7. Closer Look: The toy functions mainly by three parts: a button, speaker and a microchip.  The head, once it’s pushes, pushes the button and triggers the microchip to play the tune out of the speaker.
    Cimg1691
    Elephantbtn

    Intparts

     
  • Yury Gitman 12:51 pm on September 16, 2008 Permalink | Reply  

    LOLS 

    Speaking of toys, I thought you’d all appreciate this:

    via icanhascheezburger.com

     
  • Yury Gitman 8:10 pm on September 14, 2008 Permalink | Reply  

    hammer d:construction 

    http://vimeo.com/moogaloop.swf?clip_id=1733649&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1
    hammer d:construction from Lynn WasHere on Vimeo.

     
  • Yury Gitman 4:43 pm on September 13, 2008 Permalink | Reply  

    Shaking music maker, Elmo+Cookie Monster 

    Dscf9795

    Title: 2 of the super stars of Sesame Street
    Description: Just simply press Elmo’s nose then flip or shake the stick to make giggling and silly sounds of Elmo and Cookie Monster.

    Dscf9798

    Title: HA HA HA HA
    Description: Apparently this toy attempts to make people laugh. At least I was enjoying playing with it.

    Dscf9805

    Title: SESAME WORKSHOP
    Description: I just tried to record every text it has on its plastic shell. Everything looked good except the material of this sound maker is not recyclable. If they could use Eco-friendly materials, that would be great!

    Dscf9810

    Title: Dissection
    Description: Inside Elmo’s brain is the place of putting batteries. By looking at little holes on Cookie Monster’s head, we can infer that they put a speaker here.

    Dscf9812

    Title: Let’s see what’s in its body
    Description: Every components are placed stably and neatly in the stick-shaped plastic shell. The nose is bound with a mode switch which I’ll show later.

    Dscf9819_2

    Dscf9814

    Dscf9828 Dscf9827_2

    Title: Stay orderly
    Description: Sensors and switches are covered and fixed with plastic lids. In the right bottom picture, two of wires were soldered to connect the batteries.

    Dscf9822

    Title: Mode switch
    Description: By pressing this tiny button, I could change the mode of music.

    In mode 1 – giggling of Elmo and Cookie Monster
    In mode 2 – silly sounds
    In mode 3 – brisk music

    Dscf9831

    Title: Power switch
    Description: This little switch is used to control the state of power supply.

    0 – cut off the connection with batteries.
    1 – turn on!

    Dscf9838

    Title: Its heart
    Description: The front view of the circuit board. Wires are hidden behind the board.

    Dscf9855

    Title: Turn around
    Description: There are two capacitors on the back and wires are fastened with hot glue.

    Dscf9841

    Title: Time to make some music!
    Description: This is the sensor detecting the toy’s movement and triggering the chip to play music. There are total 2 sensors inside, one is used to trigger Elmo’s giggling while another one is to trigger Cookie Monster’s.

    Dscf9861

    Title: Done!
    Description: These are all the components of the toy include a narrow strip of tape to hold wires.

    After all the work, I put those electronic parts into a sock monkey that I sewed as a prototype of my final project toy. Monkey toy would make sounds when it is shook. And monkey’s nose is the mode switch. Basically, it does the same thing as the elmo music maker but with a soft "container".
    Dscf9865

    Dscf9881

    Picture_2

     
  • Yury Gitman 1:23 pm on September 13, 2008 Permalink | Reply  

    02 Disassemble A Giggle Ball 

    Click on each picture to enlarge it.

    Dscn9985
    Dscn9986Dscn9988
    Dscn9989

    01 PACKAGE DESIGN OF THE GIGGLE BALL
    It is designed for 18-month-old and beyond, so it is a pretty universal and simple toy.

    Dscn9991_2
    Dscn9990_3

    02 TWO SIDES OF THE TOY
    This is called double fun giggle ball. There are two characteristics  which are  Cookie Monster(BLUE) and Elmo(RED) installed with their two different sounds and appears. After you press on their faces, it will shake and giggle with their sounds.

    Dscn9993
    Dscn9992

    03 TAG ON TOY
    Material: Polyester Fibers, Polyurethane Foam
    Made in China, Fisher-Price, Inc., Surface washable only

    Dscn9994Dscn9995

    04 VELCRO AND COTTON THREAD
    It has a easy opened velcro seam. As pictures, inside is a plastic ball sewed to the surface by simple cotton thread.

    Dscn9996Dscn9997

    05 BATTERY NOTE
    So I cut off the thread and pulled the plastic ball out. The ball is heavy and solid with plain white cover, and it said 2 AA battery required on its bottom where batteries placed.

    Dscn0003Dscn0004

    06 COLOR CODED SENSOR
    There are two lines connected to sensors on each side of the fiber cover. One is blue linking to Cookie Monster’s face. Another is red attached to Elmo’s. The right picture shows where the speaker installed.

    Dscn0008Dscn0007

    07 SENSOR = BUTTON
    Going along the line, I found two small press-sensors sewed and covered by cotton and fabric. Then I cut some thread to took them out. They are two cute small buttons.

    Dscn0009Dscn0011

    08 OPEN THE BALL
    To avoid making it giggle while I was disassembling it, I took out two AA batteries. And I unscrewed four screws fixing the cover of the ball and  took it apart. There are two side of the internal. Upper side installed with a speaker, and the lower side installed a motor and a Printed circuit board. All of them are fixed by screws and connected with each other through colorful lines.


    Dscn0012Dscn0013

    09 SPEAKER
    I unscrewed the speaker. It was a thin, round, plastic-like chip.

    Dscn001610 PCB’s back
    There is a written XY and a transistor on the board’s back which faced upward.

    Dscn0018

    11 PCB’s front
    Printed circut and colorful lines connected to different parts.
    Red on the left upper- Elmo’s sensor.
    Blue on the left upper- Cookie Monster’s sensor.
    Yellow- speaker.
    Green and blue on the left bottom- motor
    Red and Black on the right- batteries

    Dscn0019
    Dscn0022

    12 MOTOR
    The motor uses gears to rotate a weighty metal to keep changing the center of gravity. That is why the ball can keep shacking while it is giggling. I have to hold it tight while I was tested it without fixed into the ball, because the rotating force is quite powerful. Besides, there are some grease on the gear though…which made my hand sticky.

    Dscn0024

    13 ALL PARTS
    In this picture, you can see all parts inside the ball, including batteries, fixers, screws, speaker, PCB, motor, buttons, electronic cords, and the hard cover.  I found the structure is not so complex as I thought, especially the motor part.  And I like the way the maker codes the cord by color, which is easy to understand and recognize. This toy is a simple design with a lot of fun with attractive look and feel.

     
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