Last Updated on 23 November 2021 by Suffocation
Das Board KY-018 ist mit einem Licht abhängiger Widerstand und dem entsprechenden Vorwiderstand bestückt.
Data
Voltage: 3V-5V (other voltages are conceivable)
Output: analogue voltage value
I suspect that a GL5528 has been installed here.
Facts
| Annexation | Designation |
|---|---|
| – | Mass |
| + | V+ (3V-5V) |
| S | Signal |
View

KY-018 – Front 
KY- 018 – Rückseite
Areas of application
- Brightness measurement
- As a sensor for aligning solar cells
- Lichtschranke als Gegenstelle für den Laser
- Optocoupler as counterpart
How it works
Verändert sich die Lichtstärke die auf den Sensor trifft, verändert dieser sein Widerstand. Dies ist am Signalausgang als analoge Größe messbar.
Experimental setup

Programming
Libraries
Test programme
A small test program reads analogue port 0. It should be noted that the output is inverted (low light, high value).
void setup() {
Serial.begin(115200);
pinMode(A0, INPUT);
}
void loop() {
int LDR = analogRead(A0);
Serial.println(LDR);
}
Output

Conclusion
A useful sensor ;).
Sources
http://sensorkit.joy-it.net/index.php?title=KY-018_Fotowiderstand_Modul
https://github.com/rdiot/rdiot-s002
http://home.roboticlab.eu/de/examples/sensor/photoresistor
Gut erklärte Lux berechnung (eng)
| Date | Change | Author |
|---|---|---|
| 22.08.2018 | Post created | Suffocation |
The subjects to be taken for university admission depend on the chosen field of study or speciality.
Wow, this blog is brilliant, I love reading your posts.
Keep up the good work! You understand, many people are looking
Round for this info, you can aid them greatly.