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:
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:
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=17240
The Circuit
For example like this: 8 ohm, .25 Watt
Also see the Digikey Page on Speakers Experiment a little with options..: Digikey Catalog Page
1/8th in. audio jack: Digikey Part Number CP-3536-ND
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


what is oscillator resistor?
I don’t know what kind of resistor should be put on pin20.
Thanks for the link, I’ve been searching for that resistor.
Ben Cliff
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);
}
Thanks for the code, I’ll try this experiment later!
Ben Cliff
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.
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

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.
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.
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
Infrared Proximity Sensor – Sharp GP2Y0A21YK 
PDF
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
Want to build a cool little mobile bot? Sure you do.
For more information visit evilmadscientist.com.
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
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.
2. Opening the Battery Cover: There were two screws that secured the battery cover.


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. 



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.



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. 
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.
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.



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.
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.
Title: HA HA HA HA
Description: Apparently this toy attempts to make people laugh. At least I was enjoying playing with it.
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!
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.
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.
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.
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
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!
Title: Its heart
Description: The front view of the circuit board. Wires are hidden behind the board.
Title: Turn around
Description: There are two capacitors on the back and wires are fastened with hot glue.
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.
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".
Click on each picture to enlarge it.
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.
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.
03 TAG ON TOY
Material: Polyester Fibers, Polyurethane Foam
Made in China, Fisher-Price, Inc., Surface washable only
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.
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.
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.
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.
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.
09 SPEAKER
I unscrewed the speaker. It was a thin, round, plastic-like chip.
10 PCB’s back
There is a written XY and a transistor on the board’s back which faced upward.
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
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.
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.
+ name
Hsiang Ju Hung 洪湘茹
+ A photo of self

+ favorite childhood toy.
A stuffed hippo, called YY. It is grey and soft. I talked with her a lot when I was little. But I don’t have any picture of it now. It is at my hometown, Taipei.
+ background and interests.
Fine arts, graphic design.
Photography, printmaking, mix-material, animation, interaction design, hand-made craft, contemporary art, music, and movies.
+ Why decided to take this class.
I would like to learn more interaction design between physical objects and people.
+ What would you’d like get out of this class, if you have an idea.
I would like to combine my thesis idea of ‘distance’ with my final project of this class.
And last semester, I planed to do a distance sensing duck that always keeps certain distance with people. If it makes sense, I would like to make it real.
Reply