EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Replies / LDR is a Light Dependent

LDR is a Light Dependent

|

Microcontroller › PIC › how to interface ldr with pic18f › LDR is a Light Dependent

September 4, 2013 at 3:35 pm #10421
Luis Morquecho
Participant

LDR is a Light Dependent Resistor, so its value of Resistance change with the light that the LDR receive.

The more light the less resistance.

You must get a network of resistances for example in serial to convert the variation of resistance in a variation of voltage.

 

+VCC

     |

     |

Resistance (1K)

     |

     |


> Analogic input (PIC)

     |

 LDR

     |

     |

GROUND

 

As AJISH ALFRED have said before connect it at an Analog Input of the PIC and read the analogic value

RSS Recent Posts

  • Beginner Questions About CNC Machines – G-code, Control Systems & Accuracy April 21, 2026
  • S1MJ ? April 20, 2026
  • timing delay code statements using Swordfish April 20, 2026
  • Selection Criteria and Safe Usage of Cable Ties in Electronics Applications April 20, 2026
  • properly producing TDR on PNA network analyzer N5224B April 20, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise