Posts

Showing posts from March, 2023

Kinetic Object

Image
  I made this out of dollar store foam board, rubber bands, and hot glue. The original idea was a pair of wings that could fold up, but as I was designing the base, I realized that it looked similar to a body and the crank on the back could potentially be a tail.

Input/Output: Interactive Object Final

Image
For this project, Alice and I decided to work together. Our workload ended up being split up something like this: I soldered all of the LED's and worked on all of the coding while Alice did all of the drawing, worked on the frame, and stripped most of the wires linking the LED's together. Overall, I tended to work on the more technical side of things while Alice handled the creative side of the project. Circuit diagram: When wiring up our circuit, we had to bring in an external power source to make sure I wouldn't fry the Arduino and to make sure I have enough power going to the LED strip. Arduino Code: (This is when it was initially tested, so the values for the microphone are subject to change) // LED VARIABLES ======================================================= #include <Adafruit_NeoPixel.h> #ifdef __AVR__ #include <avr/power.h> #endif #define PIN 9 #define NUMPIXELS 113 Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS,

Input/Output: Proof of concept

Image
Circuit diagram: I used Fritzing to create the circuit diagram. The green chip on the left represents the LED strips while the green chip on the right is our mic sensor (we used a MEMS microphone [ ICS-40180 ], which is actually red but this was the closest thing I could find in the program). We plan to use a different mic (preferably a condenser mic) for the actual crit, but as we are testing it was more worthwhile just to use a small mic sensor. Arduino Code (so far) : #include <Adafruit_NeoPixel.h> #ifdef __AVR__ #include <avr/power.h> #endif #define PIN 9 #define NUMPIXELS 96 //if i change this to 114 (this is how many I have), it won't load the sketch Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800); int mic = A0; int micMapped, micMapped2; float delta; //range converted to 0-1023 rather than jumping above and below baseline) float smoothed; // more "averaged" value int brightness = 20; int fadeAm