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 / Hi Rick,Connect one end of

Hi Rick,Connect one end of

|

Microcontroller › AVR › ldr sensing › Hi Rick,Connect one end of

August 13, 2013 at 4:48 am #10318
Anonymous
Guest

Hi Rick,

Connect one end of LDR to ground and the other end to positive through a resistor not less than 1K.

Connect the common point of LDR and the resistor to one of the ADC pin of the ATMEGA.

Here is an example of how to use the ADC of ATMEGA16.

http://www.engineersgarage.com/embedded/avr-microcontroller-projects/adc-circuit

RSS Recent Posts

  • ANOTHER OLD PROJECT REDO April 16, 2026
  • EasyEda program has a major bug April 16, 2026
  • How to set the OSCAL in a PIC 12F675 April 16, 2026
  • issues with level shifter driving a CGHV1A250F April 15, 2026
  • Drawing software April 15, 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