hi, there
you can used NE555 in monosatble mode and LDR used for frequency variation of working NE555 frequency . by sending pulse to NE555 you could measured interval pulse and the interval pulse changing with resistance of LDR
you need to tell more what the circuit you want it work the simpliest is connect the ldr direct to any i/o of the mcu.
the ldr is a voltage variable you need to know your mcu have the AD converter
you could look for more information at discovercircuits.com
I just need to connect my LDR Sensor to my µC (89c51) I/O Ports..... so i havce doubt whether i can connect them directly to my porst or have to cut down the Volts by using resistors...... thats y i need some ckt diagram to see how can i go about!
I just need the sensor to set my port when its enabled so one of my LEDs will glow and the rest of time not!