interface sensers with ATMEGA32 by kamaljamesbond | Microcontroller › AVR › interface sensers with ATMEGA32 by kamaljamesbond This topic has 1 reply, 2 voices, and was last updated 7 years, 1 month ago by GANEEV SINGH. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts July 12, 2011 at 5:16 am #1094 queryParticipant i want to interface sensers ( LDR ) how i will interface it with ATMEGA32 also send me the code. & circuit diagram February 20, 2017 at 5:20 am #14469 GANEEV SINGHParticipant Hi there You will need to use an ADC present inside AtMega 32. Circuit for LDR sensor is quite simple; make a two-resistor voltage divider circuit with one of its resistor being LDR and take their point of joining to be the alanog input for ADC pin. Here is a similar project on EG, check this out: "engineersgarage.com/microcontroller/8051projects/interface-LDR-ADC0808-interrupt-clock-AT89C51-circuit" Good luck Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In