Am doing a project on AUTOMATIC HEADLAMP CONTROL. I ve decided to use a LDR as the sensing element. I need help in interfacing the LDR with ATmega8...I need the interfacing circuit..Also i need circuit for interfacing MOSFET with ATmega8...
I did this project as a student at De Vry in the early 80's. Mine seemed much more simple than yours sounds. I also started with an LDR but went in a different direction.