In order to make this draw bot functional, I’m going to have to put these two different codes together. Upon a successful run-through I’ll update the code with the final format. Motor Code int motorPin = 3; // define the pin the motor is connected to …
Category: Uncategorized
Shining Legging
I have to combine these two code together. microphone to LED value code: #include <inttypes.h> #include <avr/io.h> #include <util/delay.h> #define LED_BIT PD4 /* * get_adc * Return the 10bit value of the selected adc channel. */ uint16_t get_adc() { uint16_t value; // warm up the ADC, discard the first conversion ADCSRA |= (1 << ADSC);…
Blinking Bracelets Code
/* Flex Sensor and LEDs created by ScottC on 23rd May 2011 updated on 16/05/2012. —————————————————–*/ //Flex Sensor Pin (flexPin) //the analog pin the Flex Sensor is connected to int flexPin = 0; void setup() { for (int i=4; i<14; i++){ pinMode(i, OUTPUT); //sets the led pins 4 to 13 to output } } void…
“Iron Man’s Chest Piece” Light Up
//Force Sensor to Light Fade //turn on the serial statements to DEBUG //add in mapping statements to make for a better response int ForceSensePin = A2; int ledPin = 9; int ForceSensorValue; int ForceSensePin2 = A0; int ledPin2 = 8; int ForceSensorValue2; int buzzerPin = 4; // Connect Buzzer to Pin 4 long buzzerFreq; //…
Heart LED Code
For this project, I’ll be using the basic photoresistor code! /* * A simple programme that will change the intensity of * an LED based * on the amount of light incident on * the photo resistor. * */ //PhotoResistor Pin int lightPin = 0; //the analog pin the photoresistor is …
Coding for Metal Head
Basically we are taking the sweeper code and formating it to a button with an additional three other vibrating pager sensors. I need these to activate when the toggle switch is flipped on. So basically seeing if I can take this sweep code with the servo: // Sweep // by BARRAGAN <http://barraganstudio.com> // This example…
Drawing Device Pastel Circles Code
This is what I have for the code. Basically for my sketch I have 3 motors running these pastels in a circular motion that create a circular pattern of colors on a piece of paper. I would like 3 flex sensors to control their own individual motor. Whenever a cake stamp is pressed with the…
The Future of Technology
The future Jesse Schell describes is completely plausible. Everything we do online is already tracked. Already, one wrong move by public figures is forever recorded and “there” in the Internet abyss. For example, teachers’ lives are more public than ever. It seems that if they have a picture of themselves with a shot of tequila,…
Wearable purse!
The idea for my wearable project is having a purse filled with LED lights. I will have the Arduino stored in one of the pockets inside the purse. In order not to have the wire in the purse interfering with any objets, I will need to take out the material that protects the inside of…
Drawing Device
by Carlos Cuevas For this next assignment, I really wanted to recreate this drawing device, Floppy Drawbot, from one of the examples on the syllabus. I would use a DC Motor the control the speed of the disc and attach some sort of arm onto the servo sensor. The servo would move the arm across…
Assignment 3
My idea is adding LED lights and a embroidered fabric speaker which I saw on the example links on legging. I think it is interesting that having your own speaking on the pants so that you can dance when ever you want, and with LED lights make the legging more visually compelling. I plan to use…
Heart LED
So, I want to make a heart shirt that lights up with LEDs! I’d put a photoresistor above the heart, so it would react to the light conditions around you. I also like using a photoresister because if someone were to walk closer and closer to you, the light would get brighter. If someone hugs…
