Skip to main content
2 of 4
added 7 characters in body
Michael Karas
  • 57.9k
  • 3
  • 74
  • 139

How to inteface LDR with microcontroller?

I need to interface LDR with micro controller,

While searching some circuit ideas on the internet I came across two different ideas.

One was using a voltage divider circuit with another resistor and input that into ADC port of micro controller.

Another was to couple LDR to ground via small capacitor and another end directly to microcontroller. ( I am not sure how this works? )

Which one is more accurate?

gopal
  • 51
  • 1
  • 2