
For example, the motion detector may be placed near a door, so that if any person passes through this doorway, the motion detector will be triggered.
The main electronic component we will use that allows us to pick up this detection is the PIR motion sensor. The PIR motion sensor is a sensor which detects movement through picking up infrared waves. Being that a person emits infrared waves, the detector is able to detect these waves and react, according to the how the circuit is designed to react. The sensor can also pick up the movement of inanimate objects as well, such a rolling ball, because as those objects move, friction acts on them, generating heat. This heat emits infrared radiation, which the PIR sensors may be able to detect if great enough.
In our basic circuit, when the motion detector circuit picks up movement, a red LED will flicker on.
Parts Needed for Motion Detector Circuit
- PIR motion sensor
- LED
- 470Ω Resistor
- 6V of DC power
The PIR motion sensor is, again, a sensor which can detect movement through picking up infrared radiation. Being that people naturally give off radiation, because of our generated body heat, the motion can easily detect people walking and moving through a vicinity within the sensors range.
The motion sensor has a sensitivity range up to 20 feet (6 meters) and a 110° x 70° detection range, making it a wide lens detection sensor. This means it can measure 110° vertically (from top to bottom) and 70° horizontally (from left to right). The best way to check its sensitivity is when the circuit is built, try moving around through all of its angles. See at which angles it can detect your movement and at which angles it is not able to detect your movement, meaning your out of its angle scope. A lot of it is trial and error and experimenting. Once you know where it can and cannot detect, you can place it in an optimal place where it can detect in areas where you want it to.
The PIR motion sensor is a 3-pin device

Pin 1 is the pin which receives the positive DC voltage. The PIR motion sensor needs between 5V-9VDC of power for operation. In our case, we will use about 6V of power. This can be obtained from switching a DC power supply to 6V or using 4 AA batteries connected in series. We will then feed this voltage into pin 1 of the PIR module.
Pin 3 is the negative DC voltage or ground pin of the device. We connect the negative terminal of the power source to this pin, for a return path.
Pin 2 is the Output pin of the PIR module. This is where the output of the PIR will leave from. When motion is detected by the PIR, its output will go high to 3V. When no motion is detected, its output low and it gives off practically no voltage. When high you can see then how it can power a load, such as an LED to light. This way we can know when it has detected motion or not.
In our circuit, we will connect a 470Ω resistor in series with an LED to the output pin of the PIR sensor. When motion is detected, the output of the PIR sensor will swing high and power and light the LED.
Circuit Diagram

Here you can see anywhere from 5V-9V is fed into the power pins.
Connected to the output pin is an LED. We place a 470Ω resistor in series to limit current so that the LED doesnt receive excess current.
In this circuit, when motion is detected, the output voltage swings high and powers the LED. After about 1 second or 2, the output swings back low and the LED turns off until motion is detected again. Without any motion, the LED just stays off.

Our solution is based on the howlround or feedback effect all too familiar to sound engineers. This effect, which appears as a more or less violent squealing, occurs when a microphone picks up sound from speakers that are connected to it via an amplifier. Feeding back the output signal from the speaker into the input (the microphone) in this way creates an acoustic oscillator. Our detector works on the same principle, except that the microphone is an ultrasound receiver while the speaker is an ultrasonic emitter. They are linked just by a very easily-built ordinary amplifier. Feedback from the output to the input occurs only when the ultrasonic beam is reflected off the obstacle we are trying to detect.



If the fans should fail, for example, the maximum temperature limit would lie at a considerably higher level than the desired value. The accompanying circuit, which compares the magnitude of the fan voltage to a fixed reference value, has been developed to allow the maximum temperature to be reliably detected. This circuit is tailored for 12-V fans. The reference voltage is generated by the ‘micro power voltage reference’ D1 and the FET T1, which is wired as a current source. These components are powered directly from the applied fan voltage. The current source is set up to deliver approximately 50µA.
D1 can work with as little as 10µA. The supply voltage for the IC is decoupled by R10, C3 and C4, with D4 providing over voltage protection. A maximum supply voltage of 16 V is specified for the TLC271. This opamp works with a supply voltage as low as 3 V and can handle a common-mode voltage up to approximately 1.5 V less than the positive supply voltage. Accordingly, 1.2 V has been chosen for the reference voltage. The fan voltage is reduced to the level of the reference voltage by the voltage divider R2–R3–P1. The limits now lie at 11.2 V and 16.7V.
If you find these values too high, you can reduce R2 to 100 kΩ, which will shift the limits to 9.5 V and 14.2 V. The output of the voltage divider is well decoupled by C2. A relatively large time constant was selected here to prevent the circuit from reacting too quickly, and to hold the output active for a bit longer after the comparator switches states. A small amount of hysteresis (around 1 mV) is added by R4 and R5, to prevent instability when the comparator switches. D2 ensures that the magnitude of the hysteresis is independent of the supply voltage. Two outputs have been provided to make the circuit more versatile.
Output ‘R’ is intended to directly drive the LED of an optocoupler. In addition, transistor T2 is switched on by the output of the opamp via R7 and R8, so that a relay can be actuated or a protection circuit triggered using the ‘T’ output. The high-efficiency LED D3 indicates that IC1 has switched. It can be used as a new ‘maximum’ temperature’ indicator when this circuit is added to the fan controller. The circuit draws only 0.25 mA when the LED is out, and the measured no-load current consumption (with a 12.5V supply voltage) is 2.7 mA when the LED is on.