Showing posts with label Arduino. Show all posts
Showing posts with label Arduino. Show all posts

Tuesday, June 5, 2012

Rainbow Arduino: Part 2

So after making the LED light up in rainbow colors, I decided to make it more interactive. I combined my code with this one from the Arduino site. 


I'm using this photoresistor to adjust the colors of the RGB LED with the same wiring from the last code. 




I had to sketch a little graph in my planner to figure this out since I am not a programming genius.

as you can see, finals ended on the 15th

If you are interested in the code: 

Rainbow Aardvark: Part 1

I've been fiddling around some more with Arduino. Using some of their tutorials for ideas, I programmed an RGB LED to flash rainbow colors! An RGB LED is like a freak of nature. It's like an LED, but with FOUR legs instead of two and you can adjust the RGB values that go into each leg to make it a certain color. 

Also, since the LED was so bright, you can see the color more clearly reflected on the visitor's badge of my high school. See my face turning weird colors! 


Here's the code if anyone's interested: 

Sunday, June 3, 2012

Arduino the Aardvark

I've been playing around with Arduino with a friend recently. It's similar to that basic stamp/ microcontroller stuff we played around with in Tech class in high school. I was really horrible at it and never thought I'd be interested in it.. ever again! SO glad to be done with it! But then recently, I signed up for this course called Making Things Interactive because I was craving some technical skills. Oh the irony. Throughout high school, I was looking for a creative outlet and now in college, I am looking for technical ones! 


Here's one of the things my friend and I made: 




When the button on the left is pressed, the LEDs light up one by one from the left side. When the button on the right is pressed, the LEDs light up starting from the right. 

This is the code we wrote for it if anyone is interested: