20-04-2016, 12:31 AM
I am doing a project on automatic street light.
I want to use lpc2148 and ldr sensor .
I have a code for blinking of LED/Street light .
But i don't know how to interface ARM7 with LDR.
Based on LDR resistance light should on and off.
That means in day time light should on and at night it should off.
Please help me.
Give me code to interface ARM with LDR and circuit diagram also.
I am doing a project on automatic street light.
I want to use lpc2148 and ldr sensor .
I have a code for blinking of LED/Street light .
But i don't know how to interface ARM7 with LDR.
Based on LDR resistance light should on and off.
That means in day time light should OFF and at night it should ON.
Please help me.
Give me code to interface ARM with LDR and circuit diagram also.
Sorry for mistake...
I am doing a project on automatic street light.
I want to use lpc2148 and ldr sensor .
I have a code for blinking of LED/Street light .
But i don't know how to interface ARM7 with LDR.
Based on LDR resistance light should on and off.
That means in day time light should on and at night it should off.
Please help me.
Give me code to interface ARM with LDR and circuit diagram also.