During this recitation, My partner and I want to assemble a circuit with a Photoresistor, light-dependent resistor (LDR), or “light sensor”, which is a type of variable resistor that has a resistive value which changes based on the amount of light shone onto it. This time we complete the circuit very quickly and make it work by ourselves. We use the file ” Analogreadserial” as we used in the lecture. We both tried “digitalWrite” and “analogeWrite”. It shows we can control the light on and off easily but we didn’t manage to make the light fade through the sensor. Maybe it is the range that we didn’t choose correctly that we failed to make the light change gradually. Here is our work:
Question1:
The light sensor can be used to adjust the light on our room. the light sensor adjusts the level of light in our room according to the sunlight. This set can help those who aren’t able to control the light turn-off easily such as the disabled, the old people, etc. It can also be combined with other devices, for example, reading device. Kindle can adjust it’s brightness according to sunlight to provide a comfortable reading experience. So, I believe this assembly can be used and combined with others wildly.
Question2:
Code can be considered the recipe and tutorial for the computer. we write code to let computer understand our intention to make the computer execute for us.
Question3:
First, just as coding, we can interact and cooperate with the computer more. Combing AI and human intelligence, we can create things with technique and art.
second, computer can vary the way we create. We can transfer our idea into the computer’s language to communicate with it and let the computer to accomplish what we want.
Hi Cathy,
it would be good to see your code, in that way I can understand what you did and help you. You can copy and paste your code here or you can post a link to your code on github if you have an account there: https://github.com/
Please always post the code for the next posts.