Sir while studying about microcontroller , In vedio when the teacher gave the examples Traffic light , Motion Detector.
A question arises in mind How these two devices work? specially what role microcontroller plays ?
For Example :- A person passes in front of motion detector what type of signal microcontroller gets , I think its analog because analog signals are variable , what output microcontroller will give?
Sir please tell me , I am thinking in correct direction or I have to think through another way .
Arduino Introduction-to-Arduino 02-03 min 0-10 sec
Motion detection use light sensors e.g. LDR to detect either the presence of infrared light emitted from a warm object or absence of infrared light when a object interrupts a beam emitted by another part of the device. The microcontroller gives you the data about this working. It gives binary values as in 1 (HIGH) or 0 (LOW) depending on the presence of Infrared light.