Posts

Week 3

Image
I found about a dozen links when I was researching the use of a mic input. One link  I found was something that wasn't useful for this particular project, but could be useful in the future. It is a tutorial that describes how to take a song that turn it into a digital artwork by mapping the audio information (most likely the amplitude) as shapes spaced out by song duration. In regards to the actual progress so far, I've somehow managed to map the mic to the LEDs, but something I found was that they were pretty jerky. I'm somewhere between wanting to fix this immediately and seeing whether this can be used to our advantage. The updated code is seen below: #include #ifdef __AVR__ #include #endif // what pin are the neopixels on? #define PIN 9 // how many pixels? #define NUMPIXELS 10 //declare a neopixel (software) object Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800); //int to store the "current" neo pixel //i...

Week 2

The first set of code is my progress with the LEDs, specifically the color and gradients. At the bottom, I recorded notes about things that I thought I may have needed to include to make the project a success. #include #ifdef __AVR__ #include #endif // what pin are the neopixels on? #define PIN 9 // how many pixels? #define NUMPIXELS 10 //declare a neopixel (software) object Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800); //int to store the "current" neo pixel //int currentPixel; //(current pixel) void setup() { pixels.begin(); // This initializes the NeoPixel library. pixels.show(); // start with all pixels off } void loop() { for (int i = 0; i   Two lines commented out were describing the lights we were planning to use for the peace bridge. [ //make LED strip a light red  //pixels.setPixelColor(i, pixels.Color(255, 25, 25)); ] This is basically assigning a color to this set of lights, and it's not yet too ...

Week 1

Image
Alice and I (Becca) decided to team up for the self-directed programming project. So far we managed to come up with a tentative idea for our project. I wanted to do something that incorporates LED's and Alice wanted to do interactive by using sound, particularly with the audience speaking or yelling. I suggested we use the Arduino so we can incorporate both into the project. By this, I mean we're planning on using programmable RGB LED's and a mic sensor.  We ended up briefly discussing a few ideas that we ended up scrapping such as: - a heartbeat that lights up when sound is introduced (ex, it is made of LEDS and it beats faster the more sound there is) - A scream bar (kind of like the scream canisters from Monsters Inc , where it fills up higher the more sound there is) - something comedic (this line of thinking didn't really go anywhere) An artist we found inspiration from was Jie Qi, particularly her work Dandelion Painting . It's an interactive piece that create...