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.
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
| Pin | Name | Use |
|---|---|---|
| 1 | 1Passive pin | Photoresistor lead: e.g. to the supply, the other lead to the ADC input with 10 kΩ to GND |
| 2 | 2Passive pin | Photoresistor lead (no polarity) |
Parameters 6
Illuminance
luxliveDefault100 lx
Moonlight ~0.1 lx, living room ~100 lx, office ~500 lx, daylight 10 000 lx and more
Resistance at 10 lx
R10Default15k Ω
GL5528 datasheet: 10–20 kΩ
Gamma (slope per decade)
gammaDefault0.6
Dark resistance
RdarkDefault1meg Ω
Response time (brighter)
tRiseDefault20m s
Response time (darker)
tDecayDefault30m s
PCB
Verified land pattern
R_LDR_5.1x4.3mm_P3.4mm_Vertical| Package | Land pattern | Status | Source |
|---|---|---|---|
| THT 5 mm · GL5528 | R_LDR_5.1x4.3mm_P3.4mm_Vertical | Verified land pattern | KiCad OptoDevice:R_LDR_5.1x4.3mm_P3.4mm_Vertical (GL55 series photoresistor, no polarity) |