KY-018 |
Part Number | KY-018 |
Manufacturer | Joy-IT |
Description | ..... 1 3 Pinout ...... |
Features |
creases its resistance at brighter surrounding.
You can determine the resistance of the resistor by using a voltage divider, where a known voltage will be divided between a known and an unknown variable resistor. You can calculate the resistance with the measured voltage - the code example below includes the exact calculation.
Export: 16.06.2017
Copyright by Joy-IT - Published under CC BY-NC-SA 3.0
Page 74 of 214
KY-018 Photoresistor module
Pinout
Code example Arduino
The example will measure the current sensors voltage and calculates the current resisitance of the sensor.
int sensorPin ... |
Document |
KY-018 Data Sheet
PDF 582.94KB |
Distributor | Stock | Price | Buy |
---|