Process
The first thing I did was to go to the list of sensors to review their functions and to brainstorm which can work for this project. I quickly realized I can give the photoresistor a shot since it detects the amount of sunlight and plants need sunlight to survive. Then, an idea popped up in my head naturally that I can also use the speaker and led lights to serve as warning when the sunlight is below a certain level. Next, I concluded this is a viable idea that solves an actual need and went straight to building. Below is the building process:
1)Make a complete circuit with only the speaker
2)Run simple codes on speaker to test it is working (positive)
3)Add one led light to the circuit and run simple code to test (positive)
4)Realize two lights flashing back and forth is more attractive
5)Rearrange the position of 1st led light and added 2nd one
6)Test two lights are working with simple code (positive)
7)add sensor to the circuit and run simple code to test it is working (positive)
8)rewrite the code to make it serve the purpose of its design by adding if statements
9)test the finished design (positive)