Introduction: How to Make IR Security Alarm & a IR Detector Using LM358
In this project i will show you how to make a IR Security Alarm and a IR Detector with the same circuit, just with little modification. For the indication we have included both Buzzer & LED.
Step 1: Parts List
***Parts List***
1. LM358
2. 7805
3. 8 Pin IC Base
4. 2 Pin Terminal Block - 2 No's
5. Female Header
6. IR Rx
7. IR Tx
8. Resistor (39 Ohm, 10K & 470 Ohm)
9. Ceramic Capacitor - 0.1uF
10. 10k Pot
11. Buzzer
12. Red LED
***Affiliate Links or Purchasing Links***
AliExpress
1. LM358 - https://goo.gl/mXHAiv
2. 7805 - https://goo.gl/GR2MiW
3. 8 Pin IC Base - https://goo.gl/AUPRRx
4. IR Rx - https://goo.gl/GndLAj
5. IR Tx - https://goo.gl/iw8yhh
6. Buzzer - https://goo.gl/FsfTf1
Amazon USA
1. LM358 - http://amzn.to/2rRBVgB
2. 7805 - http://amzn.to/2tJOtIr
3. 8 Pin IC Base - http://amzn.to/2sSoGRw
4. IR Rx & TX - http://amzn.to/2sSIRij
5. Buzzer - http://amzn.to/2rRBuDd
***Other Required Components***
AliExpress
a. Soldering Equipment - https://goo.gl/H7iwZ1
b. PCB Board - https://goo.gl/iNALh8
c. Wires - https://goo.gl/46PPgv
d. Multi-meter - https://goo.gl/MqWxbq
Amazon USA
a. Soldering Equipment - http://amzn.to/2tKboUa
b. PCB Board - http://amzn.to/2sx7bnj
c. Wires - http://amzn.to/2tp3bW1
d. Multi-meter - http://amzn.to/2rzNAkU
Step 2: Circuit Diagram
Construct the circuit as shown in the circuit diagram.
***Working***
a. Alarm OFF state : When there is continuous IR signal transmitted from the Tx circuit there will be no Light & Buzzer Indication.
b. Alarm ON state: When there is an obstacle between the the Tx & the Rx circuit blocking the IR signal only then the buzzer & LED goes to ON state.
c. You can use the pot to set the range of the LED
Note : Please use the voltage range between 4.5 to 6 volt for better performance of the circuit.
***How to test***
After completion of the circuit, power the circuit with 9 Volt battery (Since we are using 7805) & let the IR Tx & IR Rx led face each other. When they are facing each other there should not be any LED or Buzzer Indication. Now introduce any obstacle between the IR Tx & IR Rx, When the obstacle is introduced there must be Light & Buzzer indication .
***Testing***
You can watch the test results in the video attached in the first page or CLICK HERE to watch it on YouTube
Step 3: IR Detector or Remote Tester
Now let us see how to modify the previous circuit to make it a IR Detector or Remote Tester.
You can also watch the video attached in this step or continue reading to know the odification
Step 4: Modified Circuit
***Tx Part***
The Tx Circuit remains the same.
Note: For this circuit you don't need a Tx circuit, You can use any kind of remote for testing
***Rx Part***
To modify the previous circuit to detect IR, you just need to interchange the connection of Pin 2 & Pin.
a. Connect the Pin 3 to the node where Anode of IR Rx & 10k meet
b. Connect the Pin 2 to the center terminal of the 10k pot
Rest of the circuit remains the same
***Testing***
To test the circuit simply power the circuit with 9v battery & press any button on your remote. When you press a button on your remote you will get both the LED & light indication.
You can also watch the video which includes testing. The video is attached in the previous step or you can also watch it on YouTube by CLICKING HERE