Dec. 21st Ju Hee Noh Final Project

My project was to create a sound visualizer that shows the sound difference with lights. I wanted to create a lamp that detects sound and light up different colors. To do this, I used led neo-pixels inside the lamp shade. I wanted the lights to be distributed equally throughout the lamp, so I removed the original lightbulb the lamp had and implanted a pvc pipe that is coiled with neo-pixels.

 

 

I wanted to choose a lamp shade that was a bit see through so the light changes would show easily. I found a lamp that had malleable lamp shade and found pvc pipe. I have used to pvc pipe to stand in the middle of the lamp and coiled about 150 neo-pixels on it. The lamp shade was a good choice in that it was open at top and bottom, which made it easier to detect any sound or music. I am pretty happy with the overall material, but it would have been easier if I could find a more sensitive microphone or sound detector.

To create the project, I had to learn how to use neo-pixels. I have not used them before, and wanted to find a way to individually control them. I went to adafruit website and watched several videos to learn how to code.

The overall electronic part consists of:

  • Arduino
  • Arduino microphone
  • Arduino shield
  • Neo-pixels
  • Powersource

Software part was harder for me, and I have created my code based on a tutorial: https://learn.sparkfun.com/tutorials/addressable-rgb-led-music-and-sound-visualizer

This is the code:

 

When I was coding, I wanted to use both processing and Arduino to have processing detect the sound and the Arduino to light up the leds, but the new code was faster in catching the pitches and showing up the lights.

 

Three most difficult parts were coding, prototyping, and making the project sturdy.

Prototyping was hard, because I only had a vague idea of what I wanted to do. However, I believe prototyping has actually helped me develop my project, and it was a good place to start instead of starting with something big. Coding was the hardest part for me, because this class was the first time I ever coded, and also because I never used neo-pixels before. It was also because the Arduino microphone was not as sensitive as I wanted it to be. Lastly, as I built the lamp, I wished it would have been a bit more sturdier.

I think if I had chance to improve my project, I would like to work more on the code and figure out a new code that works the lamp better. Moreover, I would like to make sure the pvc pipe is strongly attached to the lamp.

Dec. 4th

Description: I am planning to make a lamp that reacts to sounds such as human voices and music. I will have a speaker next to the lamp and when the audience turns on music that they want to listen to, the lamp would be showing various colors.

 

I would like to use Arduino Nano, if possible, to make the board as small as possible that it can fit within the lamp. For the lights I will be using RGB LED Strip to show different color arrays.

 

Things I need:

  • Arduino Nano
  • Breakout Board for Microphone
  • RGB LED Strip
  • PVC Pipe for the inner layer of the lamp
  • Cover for the lamp
  • Battery Power/ Usb power?

 

Things I need to learn:

  • How to code in order for the lamp to detect different sound range area
  • Learn to use RGB LED Strip
  • Learn to use Arduino Nano

 

Technical Difficulties

–     Coding

–     Fitting the lamp inside a lamp cover

 

Schematics and Design Sketch: 

Nov. 27th Homework

November 6th: The Snake Game

I have created the snake game, a game which consists of a snake and apples that the snake has to eat. To create the game I watched KTByte’s video on youtube as a reference. There were several features about the game that i focused on. The snake had to get longer in length every time it ate an apple, and the game had to be over when the snake hits the wall. I was able to have the game but because it took such a long time, I could not connect it to Arduino. Instead, the game is controlled with a,s,d,w keys. When the snake dies, the player can press space to replay the game. 

Nov. 1st Homework

Motor :

 

LED (Arduino) :

 

Servo (Arduino) :

 

 

 

 

October 30th Homework

I was inspired by the cover photo of Computer Graphics and Art Vol. 2 No. 2 that was issued in May 1977. It reminded me of an old microsoft screensaver, so i decided to create an art piece that resembles the screensaver. I wanted to focus on the movement of lines and the curves. I did not know where to start, so I have got the idea from Alexander Miller’s video. 

Code: 

 

Video: 

Oct 16th, 2017 : Self Portrait

  1. Self-Portrait 

The assignment was to make a self portrait out of Processing. I was first wondering about what kind of portrait I was supposed to make. I wanted to make a typical portrait that shows the upper torso of a person. I wanted to focus on details such as colors of eye, hair, and skin. It was a fun way to explore Processing. 

This is the code for my self-portrait:

This is a picture of my portrait: 

2. Five Rectangles 

code: 

picture: 

October 11th

I made a hand that would wave with my motor. I wanted to mimic the hand wave of saying hi when people meet each other. 

Code: 

 

Schematic: 

 

Video: 

Monday, 9th October : Whimsical Project _ The Sorting Hat

My whimsical project was to make the sorting hat from Harry Potter. When one pushes down the button the Harry Potter original sound track plays and as the music ends different colored led, that represents each Harry Potter Houses such as Slytherin, Gryffindor, Ravenclaw, and Hufflepuff. The project is in the shape of the sorting hat. Every Harry Potter fan always wishes to be sorted into their own house, and that was what inspired me to make this project.  The project itself used simple codes and basic things we learned in the class. Only trouble was that some of the wires did not work and it was tough figuring out which one was working and which weren’t. 

Code: 

 

The Schematic: 

 

The Video of how the project worked: 

 

Peer Review: 

JiJi had a cute project where it showed every countries she lived in. When she pressed the button the led light lighted up and the buzzer was playing the national anthem of each country. I thought the idea of expressing herself was very fun. The whimsical project was a way she showed who she is and I would like to again praise the effort she put into the project to get all the national anthems playing. 

October 2nd : Assignment 8

I have made a piano for my musical instrument. The instrument consists of 8 different notes — C, D, E, F, G, A, B, C2. In order to make it easier for the user to understand how to play the instrument, the instrument looks like a piano. The keyboard is drawn on the cardboard box, and the user may press the each key to make the sound. The outer box that covers the circuit board and red board is also made to look like a grand piano by making a top cover that could be raised. 

This is the code I used : 

This is the schematic for my instrument :