Illuminating Container
Material | Arduino UNO, potentiometer, photo resistor, RGB LED, LED
Tool | Container, Plastic drill
Team | Jiya Seo . Chiching Tsai
Challenge - Make a more complex toy
Try to use lots of LEDs, not just one. Use multiple switches, not just one. Try to use a variable resistor too.
Process
Resisters | So for this week, we decided to try different resistors. As the right video shows, the photo resisters will activate the LED.
Read more testing on Jiya’s blog.
Coding | For the programming, we tried to understand the function of if(), else(), and set variables to make different output. Also, serial monitor helped us to adjust the threshold of sensor.

For the container, we used the plastic drill to make 2 proper holes to fit potentiometer and LED. We also covered the potentiometer with a metal-coated cover.
We soldered the wires to expand the length of LED and potentiometer and pin to the breadboard.

Outcome
Eventually, we use RGB LED to change color regards to the analog output for potentiometer, and link one LED to blink, then use the photo resister to be the master switch!
Code for Blink + Potentiometer for controlling RGB LED + Photo resistor