Inspiration for the projects!
the instructable can be find here.
the instructable can be find here.
I had to post this……it cracks me up.
Maybe I can use this as a precedent. This fits in with my zipper time, mood music/lighting pants….only a bit more practical, but just slightly.
where exactly is the space bar? just checking. 🙂
I changed my LEDs to super brights and corrected the jitter that my code had by using the technique that Matt was using so the code is very similar to his.
Movie
—-
Currently, it plays three songs and forwards every time it detects a presence
Images
http://picasaweb.google.com/s/c/bin/slideshow.swf
—
Code
I started off with Matt’s code for the range finder–
#define NUMREADINGS 10
int readings[NUMREADINGS]; // the readings from the analog input
int index = 0; // the index of the current reading
int total = 0; // the running total
int average = 0; // the average
int play = 9; // which light connected to digital pin 9
// int stop = 10;
int fwd = 11;
int pValue = 0; // variable to keep the actual value
// int sValue = 1; // variable to keep the actual value
int fValue = 1; // variable to keep the actual value
int rangeFinder = 5;
int closeValue = 0;
void setup()
{
Serial.begin(9600); // setup serial
for (int i = 0; i < NUMREADINGS; i++)
readings[i] = 0; // initialize all the readings to 0
}
void loop() {
/* total -= readings[index]; // subtract the last reading
readings[index] =analogRead(rangeFinder) ; // read from the sensor
total += readings[index]; // add the reading to the total
index = (index + 1); // advance to the next index
if (index >= NUMREADINGS) // if we’re at the end of the array…
index = 0; // …wrap around to the beginning
average = total / NUMREADINGS; // calculate the average
// send it to the computer (as ASCII digits)
closeValue = average;
*/
Serial.println(analogRead(rangeFinder));
if(analogRead(rangeFinder) > 300) {
// pValue = 1;
// sValue = 1;
fValue = 0;
pValue = 1;
}
else{
fValue = 1;
pValue = 0;
}
analogWrite(play, pValue);
// analogWrite(stop, sValue);
analogWrite(fwd, fValue);
/* Serial.println("—-");
Serial.println(pValue);
Serial.println(sValue);
Serial.println(fValue);
Serial.println("—-");*/
}
1)
Upload your videos or flash animations before class starts on to Vimeo, YouTube, or etc.. Then embed them into your post.
Save into category of your name and category "Concept Sketch".
2)
Video can take a long time and have any technical challenges.
Make sure you spend most of your time on/in the video showing user interaction. Show your smart object in action and iteration, including color and distinct recorded dialogue if your object has it.
DO NOT spend most of your time on styling and background music. At this stage use minimal video production skills. Think more in the lines of "video sketch" and video prototyping. Do the best you can in a week time frame, but Finish the assignment.
Your object and your user should have a complete interaction. In video.
3)
Blog Categories. This blog has a readership outside the immediate class. This is generally a good thing, for all parties. To help this categorize your posts correctly.
I’ve added two more categorizes. Concept Sketch and Hardware Photos. Please go through your posts to reto-actively categorize them if they included Code and/or also Hardware photos. Have posts in as many categories as is appropriate and needed [including your name].
Keep up the grad level work.
thanks,
Yury
Finally I got the winbond chip to work. The problem was that I was not grounding FT 😦
Here is the video and some images
http://picasaweb.google.com/s/c/bin/slideshow.swf
http://a.parsons.edu/~udays709/movies/makingtoy.mov
the user scenario
My idea is to make an antisocial plush toy which is different from toys on the market.
It won’t say "I love you! I love you!," won’t giggle or play music either.
You will never be able to talk with it face to face, because the toy hates you!
Basically the toy hates to talk so it wears headphone to isolate itself!
http://vimeo.com/moogaloop.swf?clip_id=2155762&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1
IR sensor + Arduino + Winbond from maze on Vimeo.
I did not change the code I used in my last mini project(IR sensor+ 3 color LEDs) and simply integrated that project with my recorder project(recorder-volume control+fwd). So when the red LED lights up, the "play" function would be triggered at the same time. The chip would execute "forward" when blue LED is on. In the same way, volume changes when the green LED is on. I also keep the switches on the breadboard of the recorder project, so I can control those functions by pressing the buttons, too.
My circuit:
Here’s my LED pumkin man. The led eyes blink with fright when an unsuspecting kid steps on a nearby mat that triggers scary sounds and brings the pumpkin to life! OOOOooooooo! Scary!
Hello, I’m from germany and me english is not good at all, but I’m building a Halloweensite and I like pumpkins and their scarving and your site was very informative and a great help for myself. I hope I’ll get as far as you’ll get with your site. Best wishes for the future.
Yes. Halloween-Flo!
If you own a new automobile with an extended warranty, it is better to employ a local car.
So I have some pretty silly ideas, just bare with me.
1: RUSTLING GRASS
This is a simulation of natural grasses rustling as someone walks past a vase.
how it works:
3 vases filled with "natural" grasses with IR sensor in the bottom of the vase, detects when the beam is broken by a passer – by and triggers a buzzer motor to rustle the grass for a short period.
Each vase is wired separate. The illusion is of something walking thru the grass along side the person.
2: THE UNTANDEM TANDEM BIKE
This idea was developed with Erik Burke as a way to determine how close or far two bikes are from eachother.
how it works:
Erik and his girlfriend, Taelor, ride their bikes together, yet Erik doesn’t know if he is riding too fast or slow. We decided that the UNTANDEM TANDEM is the solution he needs.
Bike 1 has an IR reciever and bike 2 has an IR emmitter. Bike 1 will then alert the rider (Erik) if bike 2 (Taelor) is too far behind or too close. Bike 1 rider will then know to slow down or speed up.
Bike 1 will emitt either a verbal or visual, light, que to let Erik know how far behind Taelor is from him.
3. Zipper Time
Inspired by JooYoun Paek’s "Zipper Orchestra" I thought it would be funny to change the zipper to trigger "do it" music and dim the lighting. I know, I know……This is 12 year old humor, but hey….it makes me giggle. I guess that means I’m 12. I can handle that.
how it works:
1 pair of jeans with a metal zipper that when unzipped dims the lighting and plays Barry White songs.
http://vimeo.com/moogaloop.swf?clip_id=2137610&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1
Winbond + Arduino from Jennifer Dopazo on Vimeo.
The first attempt…
Sweet, I still need to mess with the code a bit. Got me thinking about integrating it into a chair that will say things like ‘DON’T SIT ON ME’ or ‘WHY AREN’T YOU SITTING’ or ‘TAKE A SEAT.’ Making inanimate objects communicate. Maybe an egg slicer that says ‘NOOOO DON’T KILL ME!’ when the slicer gets through the egg.
http://vimeo.com/moogaloop.swf?clip_id=2148514&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1
IR sensor + Winbond from Jessica Floeh on Vimeo.
See following link for code (slightly altered from Katrina’s 3-leds code):
Sorry this took so long!
WAHOO
http://vimeo.com/moogaloop.swf?clip_id=2148367&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1
Winbond Chip Corder from Jessica Floeh on Vimeo.
http://vimeo.com/moogaloop.swf?clip_id=2148270&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1
3 LEDs + IR sensor from Jessica Floeh on Vimeo.
Code in following link:
This light bulb floats in mid-air and is powered by wireless energy transfer…Let’s make one!
Been done before.
That’s so 1890’s
http://www.teslasociety.com/famousfriends.htm
Reply