Serial.println(photoresistor); //print the value of photoresistor in the serial monitor on the computer Serial.println(value); //In giá trị của sensor lên màn hình terminal monitor
A Musical Instrument with a Photoresistor - Scratch for Arduino (S4A) project + Giới thiệu về Scratch for Arduino (S4A)
The photoresistor I used has about 10 kΩ when it’s light and 1 MΩ when it’s dark. Máy phát quang tôi sử dụng có khoảng 10 kΩ khi trời sáng và 1 MΩ khi trời tối.
A potential divider circuit is formed between the photoresistor, LDR and the resistor R1. Một mạch chia tiềm năng được hình thành giữa điện trở quang, LDR và điện trở R1 .
There are also other types of source-sensor combinations which include LED-photodiode, LED-LASCR, and lamp-photoresistor pairs. Các loại kết hợp nguồn cảm biến bao gồm LED-photodiode, LED-LASCR, và cặp đèn photoresistor.