Description: The motion detector circuit consists of two components: the emitter and the sensor/detector. The emitter is constructed using an infrared emitting diode that is reverse-biased to a 5-volt source. The sensor employs the MRD821 to detect the infrared beam from the emitter, producing a high output of approximately 9 to 10 volts when the beam is uninterrupted. Conversely, when the beam is obstructed, the output drops to a low level of about 0.4 to 2 volts. This signal is fed into pins 2 and 6 of a 555 timer, which amplifies the signal and outputs it at pin 3. The output is a TTL low when the infrared beam is continuous and TTL high when the beam is interrupted, with measured outputs sometimes reaching 6 to 7 volts. A de-amplifier may be added to ensure the output does not exceed TTL levels. The schematic diagram of both the emitter and detector is illustrated in figure 1. Three pairs of these sensors are interfaced with a computer through the printer port. To detect motion, a moving object must simultaneously trigger at least two detectors, indicating movement from one point to another. If motion is detected, the controlling program proceeds to the appropriate routine.
The motion detector circuit is designed to provide real-time detection of movement through a combination of infrared technology and a robust signal processing mechanism. The infrared emitting diode serves as the primary source of the infrared beam, which is essential for detecting interruptions caused by moving objects. The MRD821 sensor is sensitive to changes in the infrared light intensity, allowing it to output a high voltage when the beam is intact and a low voltage when the beam is interrupted.
The integration of the 555 timer is crucial for amplifying the sensor's output, converting the analog signal variations into a digital format suitable for further processing. The 555 timer operates in a comparator mode, where the voltage levels at its input pins determine the output state. When the infrared beam is continuous, the output remains low, indicating no motion. However, when an object crosses the beam, the output transitions to high, triggering the subsequent actions in the program.
The interfacing of the motion detector with a computer through the printer port allows for easy integration into various applications, such as security systems or automated lighting controls. The software component is responsible for monitoring the sensor outputs in real-time. The provided code snippet illustrates a function that checks the status of the sensors, incrementing the trigger count when at least two sensors detect motion. This ensures that false positives are minimized, as simultaneous activation of multiple sensors is required to confirm motion.
Overall, the motion detector circuit exemplifies a practical application of infrared technology combined with electronic signal processing, facilitating reliable detection of movement in a variety of environments. The addition of a de-amplifier can enhance the circuit's performance by stabilizing the output voltage levels, ensuring compatibility with digital systems.The motion detector circuit consists of two components, the emitter and the sensor/detector. The emitter is simply made up of an infrared emitting diode reverse biased to a 5-volt source. The sensor uses the MRD821 to detect the IR beam from the emitter. It outputs a high of around 9 to 10-volts when the IR beam shines directly to it. If the beam is cut, it outputs a low of around 0. 4 to 2-volts. This signal is fed into pins 2 and 6 of a 555 timer, which in turn outputs the amplified signal at pin 3. The output is a TTL low when the IR beam is continuous and TTL high when the beam is cut. (Actually, outputs of about 6 to 7-volts are sometimes measured. A de-amplifier could be added at the end of the circuit to make sure the output does not exceed TTL levels.
) The schematic diagram of both emitter and detector are shown in figure 1. There are three pairs of such sensors interfaced to the computer through the printer port. In order for motion to be sensed, a moving object must simultaneously trigger at least two of the detectors signifying that it has moved from one point to another. If the sensors have established motion, the controlling program proceeds to the appropriate routine. // IR Array Program Driver Program // Decoding is done via software int irmotion(){ int count=0, trigger=0, sensor=0; //initialize trigger & count flag int motion[3]={0x00, 0x00, 0x00}; //initialize array for sensor status outportb(0x37a, 0x08); //get mux`s attention outportb(0x37a, 0x08); //get mux`s attention do{ sensor=0; sensor=inportb(0x379); //get value at this port sensor=sensor & 0x70; //mask it motion[0]=sensor & 0x10; //assign status of each sensor motion[1]=sensor & 0x20; //as an element in motion array motion[2]=sensor & 0x40; if(motion[0]=0x10){ //at least 2 sensors must be triggered if(motion[1]=0x20 | motion[2]=0x40) //detect motion trigger+; } if(motion[1]=0x20){ if(motion[0]=0x10 | motion[2]=0x40) trigger+; //if motion is detected, trigger flag is incremented } if(motion[2]=0x40){ if(motion[0]=0x10 | motion[1]=0x20) trigger+; } count+; //increment count every pass to this function delay(30); }while(count!=2 && trigger!=2); return trigger; //if trigger=2, main function should //go to routine that deals with presence of intruder }
Electronic Miss Manners infrared receiver and voice circuits
The Electronic Miss Manners system integrates an infrared (IR) receiver with voice circuits to facilitate communication and interaction. The IR receiver is designed to detect signals emitted from a remote control or similar...
It is unusual that personal computers are not equipped with a standard remote control interface. Many motherboards feature an IRDA port; however, this port is not compatible with the 38 kHz frequencies commonly used by regular remote controls. Fortunately, WinLIRC...
The IR Jammer is a fun project that provides a bit of safe, non-destructive fun. The Infrared Remote Control Jammer allows you to render all IR remote controls inoperative! The microcontroller in this design allows for all 6 of the...
This is an IR transmitting circuit which can be used in many projects. This IR transmitter sends 40 kHz carrier under computer control. The circuit can be controlled using any TTL or RS-232C level control signal which makes the interfacing...
All modern infrared (IR) remote control devices generate a continuous coded stream of pulses at 37.9 kHz when any button on the device is pressed. These IR pulses are received and decoded by a compatible device, such as a television...
The basic operation of the monitor connected to the circuit is to detect objects (obstacles) at distances ranging from a few millimeters to several centimeters. This type of circuit is utilized in various industries and hospitals. The position sensor IC2...
This circuit will allow you to turn on any piece of equipment that operates on 115 volts AC. The receiver circuit is based on the Radio Shack infrared receiver module (MOD), part number 276-137. It is also available from some...
An infrared reflective burglar alarm utilizes infrared detection through reflective components, with a maximum detection range of up to 12 meters to trigger an alarm. When an intrusion is detected, a realistic barking sound is emitted to alert the owner...
Some time ago, a media center box was created to replace a DVD player, satellite receiver, VCR, and PlayStation 2 with a single device. A Core 2 Duo processor system successfully replaced all these electronic devices. However, a remote control...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more