LabWired The easy way to build hardware
passive, analog or power part

Photoresistor (LDR)

The Photoresistor (LDR) is a passive, analog or power part in the LabWired part catalog. Its catalog type is ldr. It connects to the MCU over Analog (ADC). It has 2 pins. A registered peripheral model runs in the engine: the firmware talks to it over the real bus and gets device-accurate responses.

Key facts

CategoryPassive, analog and power parts
Catalog typeldr
InterfaceAnalog (ADC)
Pins2

What LabWired simulates

What is simulated

Simulated device model

How it was validated

Built from the datasheet. Implemented from the part’s register documentation and exercised by automated tests. Nothing physical was ever placed next to it.

Photoresistor (LDR) pinout

PinElectrical typeFunction
1 Passive —
2 Passive —

How to simulate the Photoresistor (LDR) in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the Photoresistor (LDR) (catalog type ldr).
  3. Connect pin 1 and pin 2 as your circuit needs.
  4. Run the firmware. It reads the output of the part with the ADC of the MCU.

Related Passive, analog and power parts

All Passive, analog and power parts · All parts

No manufacturer datasheet is indexed for this part yet, so none is linked here.