Back to Parent

Intention:

While hosting house parties is no easy feat, one hassle that we constantly struggled with was changing bulbs in our living room according to the mood and overall environment. The living room also doubled as a sunroom for plants and a night study area, which are completely different setups and call for special lighting. In order to fix this, I build AmbiLight

Goal: 

To sense the outside weather and light to adapt the indoor environment to it. 

Process: 

For the preliminary section of this project, I interviewed my roommate and conducted a co-design session with him. We pointed out numerous avenues of home improvement but came up with three ideas that would make the most difference. Because of our busy schedules, the only fun time that we get to spend together indoors is when we host house parties. We realized this was a great opportunity to make the preparation easier by solving the lighting issue. I examined and tested multiple sensors but understood that using a temperature sensor and LDR would make the most sense. The following is the list of components employed in the project: 

  1. Particle ARGON 
  2. TMP36 Temperature sensor
  3. LEDs x2
  4. Light Detecting Diode (LDR)
  5. Capacitor (1uF)
  6. Resistor(1k ohm)
  7. Jumper Cables
  8. USB wire
  9. Breadboard
  10. Power Source (5V, PC)

After testing out the sensors individually, I was able to receive celsius and fahrenheit values of temperature, and sense if LDR is letting current pass through it or not. 

Through code, I first detected if it's getting dark via LDR, taking a digital input at D1. If this condition holds true, either of the blue or red LED may light up, depending upon the temperature condition in the loop. The relation is:

  • If the temperature is greater than 55F but less than 65F, Blue 
  • If the temperature is greater than 65F, Red

Code:


Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0