Bringup
Open the editor
Behavioural mixed-signal modelGL5528ldr

Photoresistor LDR (GL5528)

Light-dependent resistor (CdS): about 15 kΩ at 10 lx, falls with γ = 0.6 per decade of light, 1 MΩ in the dark; reacts in 20 ms (brighter) / 30 ms (darker). The illuminance is adjustable in the inspector, also during simulation. Typical: voltage divider with 10 kΩ to an ADC input.

Schematic symbol

Key data

Category
Passive
Simulation model
Behavioural mixed-signal model
Manufacturer part number
GL5528
Reference prefix
R
Pins
2
Land pattern
R_LDR_5.1x4.3mm_P3.4mm_Vertical

Notes

  • Divider with 10 kΩ: the brighter, the lower the LDR resistance. Change the illuminance during the run and watch the voltage follow with the response time.

Simulation model

A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.

Model
ldr
Supply pins
1 / 2

Pins 2

PinNameUse
11Passive pinPhotoresistor lead: e.g. to the supply, the other lead to the ADC input with 10 kΩ to GND
22Passive pinPhotoresistor lead (no polarity)

Parameters 6

Illuminanceluxlive
Default100 lx

Moonlight ~0.1 lx, living room ~100 lx, office ~500 lx, daylight 10 000 lx and more

Resistance at 10 lxR10
Default15k Ω

GL5528 datasheet: 10–20 kΩ

Gamma (slope per decade)gamma
Default0.6
Dark resistanceRdark
Default1meg Ω
Response time (brighter)tRise
Default20m s
Response time (darker)tDecay
Default30m s

PCB

Verified land patternR_LDR_5.1x4.3mm_P3.4mm_Vertical
PackageLand patternStatusSource
THT 5 mm · GL5528R_LDR_5.1x4.3mm_P3.4mm_VerticalVerified land patternKiCad OptoDevice:R_LDR_5.1x4.3mm_P3.4mm_Vertical (GL55 series photoresistor, no polarity)